Package com.luciad.geometries
Class CircularArcByBulge
java.lang.Object
com.luciad.geometries.Geometry
com.luciad.geometries.Curve
com.luciad.geometries.CircularArcByBulge
- All Implemented Interfaces:
AutoCloseable
A circular arc defined by a start point, end point and a bulge factor.
- 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 this arc.- Returns:
- the start point of this arc.
-
getEndPoint
Returns the end point of this arc.- Returns:
- the end point of this arc.
-
getBulge
public double getBulge()Returns the bulge factor of this arc.The bulge factor is the ratio of (1) the distance between the arc midpoint and the center of the arc's chord, and (2) half the length of the arc's chord. The sign of the bulge indicates whether the midpoint is on the left side (positive) or right side (negative) of the vector from start to end point. So a bulge factor with an absolute value of 1 means a half-circle, smaller than 1 means a less bulging arc and larger than 1 means an arc that bulges out in the start and end point.
- Returns:
- the bulge factor of this arc.
-