public class VectorElementClickInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
swigCMemOwn |
Constructor and Description |
---|
VectorElementClickInfo(long cPtr,
boolean cMemoryOwn) |
Modifier and Type | Method and Description |
---|---|
void |
delete() |
boolean |
equals(java.lang.Object obj)
Checks if this object is equal to the specified object.
|
protected void |
finalize() |
MapPos |
getClickPos()
Returns the click position.
|
static long |
getCPtr(VectorElementClickInfo obj) |
double |
getDistance()
Returns the distance from the vector element to the camera.
|
MapPos |
getElementClickPos()
Returns the position on the clicked element, that is close to the click position.
For points it will always be the center position, for lines it will be the closest point on the line, for billboards it will be the anchor point and for polygons it's equal to getClickPos(). |
Layer |
getLayer()
Returns the layer of the clicked vector element.
|
long |
getOrder()
Returns the relative draw order of the vector element.
|
VectorElement |
getVectorElement()
Returns the clicked vector element.
|
int |
hashCode()
Returns the hash value of this object.
|
public VectorElementClickInfo(long cPtr, boolean cMemoryOwn)
public static long getCPtr(VectorElementClickInfo obj)
protected void finalize()
finalize
in class java.lang.Object
public void delete()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public MapPos getClickPos()
public MapPos getElementClickPos()
public double getDistance()
public long getOrder()
public VectorElement getVectorElement()
public Layer getLayer()