org.hibernate.spatial
Class Circle.Arc
java.lang.Object
org.hibernate.spatial.Circle.Arc
- Enclosing class:
- Circle
public class Circle.Arc
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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 com.vividsolutions.jts.geom.Coordinate getChordCenterPoint()
split
public Circle.Arc[] split()
getP1
public com.vividsolutions.jts.geom.Coordinate getP1()
getP2
public com.vividsolutions.jts.geom.Coordinate getP2()
getArcAngle
public double getArcAngle()
getArcAngleDegrees
public double getArcAngleDegrees()
getP1Angle
public double getP1Angle()
getP2Angle
public double getP2Angle()
isClockwise
public boolean isClockwise()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object