org.hibernate.spatial
Class Circle.Arc

java.lang.Object
  extended by org.hibernate.spatial.Circle.Arc
Enclosing class:
Circle

public class Circle.Arc
extends java.lang.Object


Method Summary
 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.
 com.vividsolutions.jts.geom.Coordinate getChordCenterPoint()
           
 com.vividsolutions.jts.geom.Coordinate getP1()
           
 double getP1Angle()
           
 com.vividsolutions.jts.geom.Coordinate getP2()
           
 double getP2Angle()
           
 boolean isClockwise()
           
 Circle.Arc[] split()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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 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