public class Circle.Arc
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private double |
arcAngle |
private boolean |
clockwise |
private org.locationtech.jts.geom.Coordinate |
p1 |
private double |
p1Angle |
private org.locationtech.jts.geom.Coordinate |
p2 |
private double |
p2Angle |
| Modifier | Constructor and Description |
|---|---|
private |
Arc(org.locationtech.jts.geom.Coordinate p1,
org.locationtech.jts.geom.Coordinate p2,
boolean isClockwise) |
private |
Arc(org.locationtech.jts.geom.Coordinate p1,
org.locationtech.jts.geom.Coordinate midPt,
org.locationtech.jts.geom.Coordinate p2) |
| Modifier and Type | Method and Description |
|---|---|
private void |
determineArcAngle() |
double |
getArcAngle() |
double |
getArcAngleDegrees() |
double |
getArcHeight()
given a an arc defined from p1 to p2 existing on this circle, returns
the height of the arc.
|
org.locationtech.jts.geom.Coordinate |
getChordCenterPoint()
Returns the center of this
Arc |
org.locationtech.jts.geom.Coordinate |
getP1() |
double |
getP1Angle() |
org.locationtech.jts.geom.Coordinate |
getP2() |
double |
getP2Angle() |
boolean |
isClockwise() |
Circle.Arc[] |
split()
Splits this
Arc at the mid point |
java.lang.String |
toString() |
private org.locationtech.jts.geom.Coordinate p1
private org.locationtech.jts.geom.Coordinate p2
private double arcAngle
private double p1Angle
private double p2Angle
private boolean clockwise
private Arc(org.locationtech.jts.geom.Coordinate p1,
org.locationtech.jts.geom.Coordinate midPt,
org.locationtech.jts.geom.Coordinate p2)
private Arc(org.locationtech.jts.geom.Coordinate p1,
org.locationtech.jts.geom.Coordinate p2,
boolean isClockwise)
private void determineArcAngle()
public double getArcHeight()
public org.locationtech.jts.geom.Coordinate getChordCenterPoint()
ArcArcpublic Circle.Arc[] split()
Arc at the mid pointArcspublic org.locationtech.jts.geom.Coordinate getP1()
public org.locationtech.jts.geom.Coordinate getP2()
public double getArcAngle()
public double getArcAngleDegrees()
public double getP1Angle()
public double getP2Angle()
public boolean isClockwise()
public java.lang.String toString()
toString in class java.lang.Object