Package gov.nasa.worldwind
Class PickedObject
- java.lang.Object
-
- gov.nasa.worldwind.PickedObject
-
public class PickedObject extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PickedObject
fromRenderable(int identifier, Renderable renderable, Layer layer)
static PickedObject
fromTerrain(int identifier, Position position)
int
getIdentifier()
Layer
getLayer()
Position
getTerrainPosition()
java.lang.Object
getUserObject()
static Color
identifierToUniqueColor(int identifier, Color result)
boolean
isOnTop()
boolean
isTerrain()
java.lang.String
toString()
static int
uniqueColorToIdentifier(Color color)
-
-
-
Method Detail
-
fromRenderable
public static PickedObject fromRenderable(int identifier, Renderable renderable, Layer layer)
-
fromTerrain
public static PickedObject fromTerrain(int identifier, Position position)
-
uniqueColorToIdentifier
public static int uniqueColorToIdentifier(Color color)
-
toString
@NonNull public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
isOnTop
public boolean isOnTop()
-
getIdentifier
public int getIdentifier()
-
getUserObject
public java.lang.Object getUserObject()
-
getLayer
public Layer getLayer()
-
isTerrain
public boolean isTerrain()
-
getTerrainPosition
public Position getTerrainPosition()
-
-