public final class CircularArcByBulge extends Curve implements AutoCloseable
GeometryFactory#createCircularArcByBulge
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
finalize() |
double |
getBulge()
Returns the bulge factor of this arc.
|
Coordinate |
getEndPoint()
Returns the end point of this arc.
|
Coordinate |
getStartPoint()
Returns the start point of this arc.
|
computePoint, getLength2D
getBounds, getReference
public void close()
close
in interface AutoCloseable
close
in class Curve
@NotNull public Coordinate getStartPoint()
@NotNull public Coordinate getEndPoint()
public double getBulge()
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.