oracle.sdoapi.geom
Interface CircularArc

All Superinterfaces:
java.lang.Cloneable, Segment, java.io.Serializable

public interface CircularArc
extends Segment

CircularArc is an interface that represents a circular arc segment with two end points and circular interpolation.

See Also:
LinearSegment

Method Summary
 CoordPoint getCenter()
          Gets the center of this circular arc.
 double getCenterX()
          Gets the x coordinate of the circular arc center.
 double getCenterY()
          Gets the y coordinate of the circular arc center.
 double getEndAngle()
          Gets the end angle of this circular arc, which is between zero and 2 PI.
 CoordPoint getMidPoint()
          Gets the middle point of this circular arc.
 void getMidPoint(CoordPoint point)
          Gets the middle point of this circular arc.
 double getRadius()
          Gets the radius of this circular arc.
 double getStartAngle()
          Gets the start angle of this circular arc, which is between zero and 2 PI.
 boolean isClockwise()
          Determines if this circular arc is clockwise.
 
Methods inherited from interface oracle.sdoapi.geom.Segment
clone, getCoordArray, getCoordArray, getDimensionality, getEndPoint, getEndPoint, getEnvelope, getNumPoints, getPointArray, getPointArray, getPointAt, getPointAt, getPoints, getSegmentType, getStartPoint, getStartPoint, linearizeSegment, linearizeSegment
 

Method Detail

getMidPoint

public CoordPoint getMidPoint()
Gets the middle point of this circular arc.
Returns:
the middle coordinate point of this circular arc

getMidPoint

public void getMidPoint(CoordPoint point)
Gets the middle point of this circular arc. This method may be more memory efficient when you can reuse the coordinate point object.
Parameters:
point - a preallocated coordinate point that is to be filled with the ordinates of the middle point of this circular arc

getCenter

public CoordPoint getCenter()
Gets the center of this circular arc.
Returns:
the center of this circular arc

getCenterX

public double getCenterX()
Gets the x coordinate of the circular arc center.
Returns:
the x coordinate of the center point

getCenterY

public double getCenterY()
Gets the y coordinate of the circular arc center.
Returns:
the y coordinate of the center point

getRadius

public double getRadius()
Gets the radius of this circular arc.
Returns:
the radius of this circular arc

isClockwise

public boolean isClockwise()
Determines if this circular arc is clockwise.
Returns:
true if this circular arc is clockwise; false otherwise

getStartAngle

public double getStartAngle()
Gets the start angle of this circular arc, which is between zero and 2 PI.
Returns:
the starting angle of this circular arc

getEndAngle

public double getEndAngle()
Gets the end angle of this circular arc, which is between zero and 2 PI.
Returns:
the ending angle of this circular arc