Interface PeriEllipse

All Superinterfaces:
Cloneable, Comparable, Curve, Geometry, org.gvsig.tools.util.GetItem<Point>, org.gvsig.tools.util.IsEmpty, OrientableCurve, OrientablePrimitive, Primitive, Serializable, Shape, org.gvsig.tools.util.Size

public interface PeriEllipse extends Curve

This class represents the perimeter o an ellipse.

Author:
fdiaz
  • Method Details

    • setPoints

      void setPoints(Point axis1Start, Point axis1End, double axis2Length)
      Sets the values to define a ellipse.
      Parameters:
      axis1Start - The point where the first axis starts.
      axis1End - The point where the first axis ends.
      axis2Length - The length of the second axis.
    • getAxis1Start

      Point getAxis1Start()
      Returns the point where the first axis starts.
      Returns:
      The point where the first axis starts.
    • getAxis1End

      Point getAxis1End()
      Returns the point where the first axis ends.
      Returns:
      The point where the first axis ends.
    • getAxis2Dist

      double getAxis2Dist()
      Returns the length of the second axis.
      Returns:
      The length of the second axis.