Package com.luciad.geometries
Class Line
java.lang.Object
com.luciad.geometries.Geometry
com.luciad.geometries.Curve
com.luciad.geometries.Line
- All Implemented Interfaces:
AutoCloseable
Represents a line.
- See Also:
-
Method Summary
Methods inherited from class com.luciad.geometries.Curve
computePoint, getLength2D
Methods inherited from class com.luciad.geometries.Geometry
getBounds, getReference
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Overrides:
close
in classCurve
-
getStartPoint
Returns the start point of the line segment.- Returns:
- the start point of the line segment.
-
getEndPoint
Returns the end point of the line segment.- Returns:
- the end point of the line segment.
-
getInterpolationType
Returns the interpolation type of the line segment.One of
- LineInterpolationType::geodesic
- LineInterpolationType::rhumb
- LineInterpolationType::linear
- Returns:
- the interpolation type of the line segment.
-