Package gov.nasa.worldwind.util
Class ShapeEditor.ControlPointMarker
- java.lang.Object
-
- gov.nasa.worldwind.render.markers.BasicMarker
-
- gov.nasa.worldwind.util.ShapeEditor.ControlPointMarker
-
- All Implemented Interfaces:
Marker
- Enclosing class:
- ShapeEditor
protected static class ShapeEditor.ControlPointMarker extends BasicMarker
Represents editor control points.
-
-
Field Summary
Fields Modifier and Type Field Description protected int
id
The control point's ID, which is typically its list index when the shape has a list of locations.protected int
leg
Identifies individual track boxes.protected java.lang.String
purpose
Indicates the feature the control point affects.protected Angle
rotation
Indicates angle if this control point affects an angle associated with the shape, otherwise null.protected java.lang.Double
size
Indicates size (in meters) if this control point affects a size of the shape, otherwise null.-
Fields inherited from class gov.nasa.worldwind.render.markers.BasicMarker
attributes, heading, pitch, position, roll
-
-
Constructor Summary
Constructors Constructor Description ControlPointMarker(Position position, MarkerAttributes attrs, int id, int leg, java.lang.String purpose)
ControlPointMarker(Position position, MarkerAttributes attrs, int id, java.lang.String purpose)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getId()
int
getLeg()
java.lang.String
getPurpose()
Angle
getRotation()
java.lang.Double
getSize()
void
setRotation(Angle rotation)
void
setSize(double size)
-
Methods inherited from class gov.nasa.worldwind.render.markers.BasicMarker
getAttributes, getHeading, getPitch, getPosition, getRoll, render, render, setAttributes, setHeading, setPitch, setPosition, setRoll
-
-
-
-
Field Detail
-
id
protected int id
The control point's ID, which is typically its list index when the shape has a list of locations.
-
leg
protected int leg
Identifies individual track boxes.
-
purpose
protected java.lang.String purpose
Indicates the feature the control point affects.
-
size
protected java.lang.Double size
Indicates size (in meters) if this control point affects a size of the shape, otherwise null.
-
rotation
protected Angle rotation
Indicates angle if this control point affects an angle associated with the shape, otherwise null.
-
-
Constructor Detail
-
ControlPointMarker
public ControlPointMarker(Position position, MarkerAttributes attrs, int id, java.lang.String purpose)
-
ControlPointMarker
public ControlPointMarker(Position position, MarkerAttributes attrs, int id, int leg, java.lang.String purpose)
-
-