AnyLogic
Expand
Font size
All Implemented Interfaces:
IPathData, Serializable, Iterable<GISMarkupSegment>

@AnyLogicInternalAPI
public abstract class GISCurve
extends AbstractNetworkCurve<GISMarkupSegment>
See Also:
Serialized Form

Constructor Summary

ConstructorDescription
GISCurve() 

Method Summary

Modifier and TypeMethodDescription
voidlineTo(double lat, double lon)
Adds line segment (available for markup elements created with no-argument constructor)
voidlineTo(Point endPoint)
Adds line segment (available for markup elements created with no-argument constructor)
voidstartDrawing(double lat, double lon)
Starts drawing (available for markup elements created with no-argument constructor)
voidstartDrawing(Point startPoint)
Starts drawing (available for markup elements created with no-argument constructor)

Methods inherited from class com.anylogic.engine.markup.AbstractNetworkCurve

containsSq, getNearestPoint, getNearestPointOnRay, isClosed

Methods inherited from class com.anylogic.engine.markup.AbstractCurve

addSegment, getEndPoint, getPositionAtOffset, getSegment, getSegmentCount, getStartPoint, isInitialized, iterator, length, segmentsStream, toString

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

Methods inherited from interface java.lang.Iterable

forEach, spliterator

Constructor Details

GISCurve

public GISCurve()

Method Details

lineTo

public void lineTo(double lat,
 double lon)
Adds line segment (available for markup elements created with no-argument constructor)

startDrawing

public void startDrawing(double lat,
 double lon)
Starts drawing (available for markup elements created with no-argument constructor)
Parameters:
lat - point latitude
lon - point longitude

startDrawing

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 class AbstractNetworkCurve<GISMarkupSegment>
Parameters:
startPoint - starting point

lineTo

public void lineTo(Point endPoint)
Adds line segment (available for markup elements created with no-argument constructor)
Specified by:
lineTo in class AbstractNetworkCurve<GISMarkupSegment>
Parameters:
endPoint - the segment end point