Package com.anylogic.engine.markup
- java.lang.Object
- com.anylogic.engine.markup.AbstractCurve<T>
- com.anylogic.engine.markup.AbstractNetworkCurve<GISMarkupSegment>
- com.anylogic.engine.markup.GISCurve
- All Implemented Interfaces:
IPathData
,Serializable
,Iterable<GISMarkupSegment>
@AnyLogicInternalAPI public abstract class GISCurve extends AbstractNetworkCurve<GISMarkupSegment>
- See Also:
- Serialized Form
Constructor | Description |
---|---|
GISCurve() |
Modifier and Type | Method | Description |
---|---|---|
void | lineTo |
Adds line segment (available for markup elements created with no-argument constructor)
|
void | lineTo |
Adds line segment (available for markup elements created with no-argument constructor)
|
void | startDrawing |
Starts drawing (available for markup elements created with no-argument constructor)
|
void | startDrawing |
Starts drawing (available for markup elements created with no-argument constructor)
|
addSegment, getEndPoint, getPositionAtOffset, getSegment, getSegmentCount, getStartPoint, isInitialized, iterator, length, segmentsStream, toString
public GISCurve()
public void lineTo(double lat, double lon)
Adds line segment (available for markup elements created with no-argument constructor)
public void startDrawing(double lat, double lon)
Starts drawing (available for markup elements created with no-argument constructor)
- Parameters:
lat
- point latitudelon
- point longitude
public void startDrawing(Point startPoint)
Description copied from class:
AbstractNetworkCurve
Starts drawing (available for markup elements created with no-argument constructor)
- Specified by:
startDrawing
in classAbstractNetworkCurve<GISMarkupSegment>
- Parameters:
startPoint
- starting point
public void lineTo(Point endPoint)
Adds line segment (available for markup elements created with no-argument constructor)
- Specified by:
lineTo
in classAbstractNetworkCurve<GISMarkupSegment>
- Parameters:
endPoint
- the segment end point