public class IlvMapOrthodromyPath extends IlvMapGeneralPath
| Modifier and Type | Field and Description |
|---|---|
static String |
BEARING_PROPERTY
Name of the bearing property
|
static String |
DISTANCE_PROPERTY
Name of the distance property
|
static IlvAttributeInfoProperty |
info
Property description.
|
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowsPointInsertion()
Prevent point insertion
|
void |
applyTransform(IlvTransformer t)
Make sure shape and distance are updated.
|
IlvGraphic |
copy()
Copies the objects.
|
IlvGraphic |
copy(IlvCoordinateTransformation transform)
Copies the element and applies the specified transformation to its coordinates.
|
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 last path computation. |
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,
double x,
double y,
IlvTransformer t)
Make sure shape and distance properties are updated.
|
draw, getFillPaint, getLineStyle, getStroke, getStrokePaint, getStrokeWidth, getStyle, isFillOn, isPaintAbsolute, isPaintZoomed, isStrokeOn, makeGeometry, setFillOn, setFillPaint, setLineStyle, setPaintAbsolute, setPaintZoomed, setStroke, setStrokeOn, setStrokePaint, setStrokeWidth, setStyle, writeadaptPaint, allowsPointMove, allowsPointRemoval, boundingBox, calcBoundingBox, contains, getAlpha, getApplyTransformer, getClip, getIntersectionWithOutline, getMaximumStrokeWidth, getOriginalShape, getShape, getShapeBounds, getTransformer, insertPoint, isContainsWhenNotFilled, isPointEditionAllowed, isTransformedShapeMode, moveResize, pointsInBBox, removePoint, resize, setAlpha, setBackground, setClip, setContainsWhenNotFilled, setForeground, setInternalShape, setMaximumStrokeWidth, setPointEditionAllowed, setShape, setShapeBounds, setTransformedShapeMode, setTransformeraddActionListener, addNamedPropertyListener, allViewsRemoved, baseTextDirectionChanged, blinkingStateOn, boundingBox, callDraw, componentOrientationChanged, getAndAssociateObjectInteractor, getBaseTextDirection, getBlinkingAction, getBlinkingObjectOwner, getBlinkingOffPeriod, getBlinkingOnPeriod, getCenter, getComponentOrientation, getDefaultInteractor, getGraphicBag, GetGraphicObject, getLocale, getName, getNamedProperty, getObjectInteractor, getPopupMenu, getPopupMenu, getPopupMenuName, getProperty, getResolvedBaseTextDirection, getToolTipBaseTextDirection, getToolTipText, getToolTipText, getTopLevelGraphicBag, getTransferData, getTransferDataFlavors, getULocale, getZOrderIndex, hasProperty, inside, intersects, invalidateBBoxCache, invalidateBidiCache, isBaseTextDirectionSensitive, isComponentOrientationSensitive, isDataFlavorSupported, isEditable, isInApplyToObject, isLocaleSensitive, isMovable, isPersistent, isSelectable, isVisible, localeChanged, move, move, needsViewNotification, notifyObjectInteractorToManager, processActionEvent, reDraw, registerBlinkingResource, removeActionListener, removeNamedProperty, removeNamedPropertyListener, removeProperty, replaceProperty, rotate, scale, setBaseTextDirection, setBaseTextDirectionDuringConstruction, setBlinkingAction, setBlinkingOffPeriod, setBlinkingOnPeriod, setEditable, setGraphicBag, setInApplyToObject, setMovable, setName, setNamedProperty, setNameImpl, setObjectInteractor, setPopupMenu, setPopupMenuName, setProperty, setSelectable, setToolTipBaseTextDirection, setToolTipText, setVisible, setZOrderIndex, toString, translate, updateNeedsViewNotification, usesBidiMarkers, viewAddedOrRemoved, zoomablepublic static final String DISTANCE_PROPERTY
public static final String BEARING_PROPERTY
public static final IlvAttributeInfoProperty info
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 - 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,
double x,
double 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, double, double, 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 2public IlvGraphic copy(IlvCoordinateTransformation transform) throws IlvCoordinateTransformationException
copy in interface IlvMapGraphiccopy in class IlvMapGeneralPathtransform - Transformation to apply.IlvCoordinateTransformationExceptionIlvMapGraphic.copy(ilog.views.maps.srs.coordtrans.IlvCoordinateTransformation)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 last path computation.pc - path computation previously done.property - to fill up distance and bearing values.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.