|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.IlvGraphic
ilog.views.graphic.IlvGeneralPath
ilog.views.maps.graphic.IlvMapGeneralPath
ilog.views.maps.measures.IlvMapOrthodromyPath
public class IlvMapOrthodromyPath
This class displays an orthodromy path between each pair or polygon points.
| Field Summary | |
|---|---|
static String |
BEARING_PROPERTY
Name of the bearing property |
static String |
DISTANCE_PROPERTY
Name of the distance property |
static IlvAttributeInfoProperty |
info
Property description. |
| Constructor Summary | |
|---|---|
IlvMapOrthodromyPath(IlvInputStream stream)
Creates a path from stored data. |
|
IlvMapOrthodromyPath(IlvMapOrthodromyPath source)
Creates a copy of the source path. |
|
IlvMapOrthodromyPath(Shape shape,
IlvAttributeProperty distanceAndBearing)
Creates a path with the specified shape and properties. |
|
| Method Summary | |
|---|---|
boolean |
allowsPointInsertion()
Prevent point insertion |
void |
applyTransform(IlvTransformer t)
Make sure shape and distance are updated. |
IlvGraphic |
copy()
Copies the objects. |
static IlvMapOrthodromyPath |
createMapOrthodromyPath(IlvManager manager,
IlvPoint p1,
IlvPoint p2)
Creates an orthodromy trajectory for this manager |
static void |
fillProperties(IlvGeodeticPathComputation pc,
IlvAttributeProperty property)
Sets the BEARING_PROPERTY and DISTANCE_PROPERTY values of the property with the bearing and distance computed by the . |
IlvPoint |
getPointAt(int i,
IlvTransformer t)
Return extrema points only. |
int |
getPointsCardinal()
Return a fake number of points (2) |
IlvSelection |
makeSelection()
Creates the selection object for this IlvGeneralPath
instance. |
void |
movePoint(int index,
float x,
float y,
IlvTransformer t)
Make sure shape and distance properties are updated. |
| Methods inherited from class ilog.views.maps.graphic.IlvMapGeneralPath |
|---|
copy, draw, getFillPaint, getStroke, getStrokePaint, getStrokeWidth, getStyle, isFillOn, isPaintAbsolute, isPaintZoomed, isStrokeOn, makeGeometry, setFillOn, setFillPaint, setPaintAbsolute, setPaintZoomed, setStroke, setStrokeOn, setStrokePaint, setStrokeWidth, setStyle, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String DISTANCE_PROPERTY
public static final String BEARING_PROPERTY
public static final IlvAttributeInfoProperty info
| Constructor Detail |
|---|
public IlvMapOrthodromyPath(IlvInputStream stream)
throws IlvReadFileException
stream - the stream to read from.
IlvReadFileExceptionpublic IlvMapOrthodromyPath(IlvMapOrthodromyPath source)
source - source to copy.
public IlvMapOrthodromyPath(Shape shape,
IlvAttributeProperty distanceAndBearing)
shape - distanceAndBearing - | Method Detail |
|---|
public void applyTransform(IlvTransformer t)
applyTransform in class IlvGeneralPatht - The transformer to be applied.IlvGeneralPath.applyTransform(ilog.views.IlvTransformer)public IlvGraphic copy()
copy in class IlvMapGeneralPathIlvMapOrthodromyPath.IlvGraphicpublic boolean allowsPointInsertion()
allowsPointInsertion in interface IlvPolyPointsInterfaceallowsPointInsertion in class IlvGeneralPathIlvGeneralPath.allowsPointInsertion()public int getPointsCardinal()
getPointsCardinal in interface IlvPolyPointsInterfacegetPointsCardinal in class IlvGeneralPathIlvGeneralPath.getPointsCardinal()
public IlvPoint getPointAt(int i,
IlvTransformer t)
getPointAt in interface IlvPolyPointsInterfacegetPointAt in class IlvGeneralPathi - The index.t - The transformer used to draw the object.IlvGeneralPath.getPointAt(int, ilog.views.IlvTransformer)
public void movePoint(int index,
float x,
float y,
IlvTransformer t)
movePoint in interface IlvPolyPointsInterfacemovePoint in class IlvGeneralPathindex - The index of the point to be moved.x - The new x location.y - The new y location.t - The transformer used to draw the object.
Note that the x, y coordinates are not transformed by the transformer.IlvGeneralPath.movePoint(int, float, float, ilog.views.IlvTransformer)
public static IlvMapOrthodromyPath createMapOrthodromyPath(IlvManager manager,
IlvPoint p1,
IlvPoint p2)
manager - manager to add object top1 - manager coordinate of point 1p2 - manager coordinate of point 2
public IlvSelection makeSelection()
IlvGeneralPath
instance.
The default implementation creates an instance of
IlvPolyPointsSelection
if the object is in allow move point mode.
In other cases it returns an instance of
IlvReshapeSelection.
makeSelection in class IlvGeneralPathIlvGraphic.makeSelection()
public static void fillProperties(IlvGeodeticPathComputation pc,
IlvAttributeProperty property)
BEARING_PROPERTY and DISTANCE_PROPERTY values of the property with the bearing and distance computed by the .
pc - path computation previously done.property - to fill up distance and bearing values.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||