Package org.geolatte.geom
Class Circle.Arc
- java.lang.Object
-
- org.geolatte.geom.Circle.Arc
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetArcAngle()doublegetArcAngleDegrees()doublegetArcHeight()given a an arc defined from p1 to p2 existing on this circle, returns the height of the arc.org.locationtech.jts.geom.CoordinategetChordCenterPoint()Returns the center of thisArcorg.locationtech.jts.geom.CoordinategetP1()doublegetP1Angle()org.locationtech.jts.geom.CoordinategetP2()doublegetP2Angle()booleanisClockwise()Circle.Arc[]split()Splits thisArcat the mid pointStringtoString()
-
-
-
Method Detail
-
getArcHeight
public double getArcHeight()
given a an arc defined from p1 to p2 existing on this circle, returns the height of the arc. This height is defined as the distance from the center of a chord defined by (p1, p2) and the outer edge of the circle.- Returns:
- the arc height
-
getChordCenterPoint
public org.locationtech.jts.geom.Coordinate getChordCenterPoint()
Returns the center of thisArc- Returns:
- the center of this
Arc
-
split
public Circle.Arc[] split()
Splits thisArcat the mid point- Returns:
- an array of two
Arcs
-
getP1
public org.locationtech.jts.geom.Coordinate getP1()
-
getP2
public org.locationtech.jts.geom.Coordinate getP2()
-
getArcAngle
public double getArcAngle()
-
getArcAngleDegrees
public double getArcAngleDegrees()
-
getP1Angle
public double getP1Angle()
-
getP2Angle
public double getP2Angle()
-
isClockwise
public boolean isClockwise()
-
-