AnyLogic
Expand
Font size
All Implemented Interfaces:
IPathData, java.io.Serializable, java.lang.Iterable<GISMarkupSegment>

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

Constructor Summary

Constructors 
GISCurve()  
Constructor Description

Method Summary

All Methods Instance Methods Concrete Methods 
void lineTo​(double lat, double lon)
Adds line segment (available for markup elements created with no-argument constructor)
void lineTo​(Point endPoint)
Adds line segment (available for markup elements created with no-argument constructor)
void startDrawing​(double lat, double lon)
Starts drawing (available for markup elements created with no-argument constructor)
void startDrawing​(Point startPoint)
Starts drawing (available for markup elements created with no-argument constructor)
Modifier and Type Method Description

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 Detail

GISCurve

public GISCurve()

Method Detail

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
How can we improve this article?