Class DwgEllipse

java.lang.Object
org.gvsig.dwg.lib.DwgObject
org.gvsig.dwg.lib.objects.DwgEllipse
All Implemented Interfaces:
Cloneable, IDwg2FMap, IDwg3DTestable, IDwgBlockMember

public class DwgEllipse extends DwgObject implements IDwg3DTestable, IDwg2FMap, IDwgBlockMember
The DwgEllipse class represents a DWG Ellipse
Author:
jmorell
  • Constructor Details

    • DwgEllipse

      public DwgEllipse(int index)
  • Method Details

    • getAxisRatio

      public double getAxisRatio()
      Returns:
      Returns the axisRatio.
    • setAxisRatio

      public void setAxisRatio(double axisRatio)
      Parameters:
      axisRatio - The axisRatio to set.
    • getCenter

      public double[] getCenter()
      Returns:
      Returns the center.
    • setCenter

      public void setCenter(double[] center)
      Parameters:
      center - The center to set.
    • getEndAngle

      public double getEndAngle()
      Returns:
      Returns the endAngle.
    • setEndAngle

      public void setEndAngle(double endAngle)
      Parameters:
      endAngle - The endAngle to set.
    • getInitAngle

      public double getInitAngle()
      Returns:
      Returns the initAngle.
    • setInitAngle

      public void setInitAngle(double initAngle)
      Parameters:
      initAngle - The initAngle to set.
    • getSemiMajorAxisVector

      public double[] getSemiMajorAxisVector()
      Returns:
      Returns the majorAxisVector.
    • setSemiMajorAxisVector

      public void setSemiMajorAxisVector(double[] semiMajorAxisVector)
      Parameters:
      semiMajorAxisVector - The majorAxisVector to set.
    • getExtrusion

      public double[] getExtrusion()
      Returns:
      Returns the extrusion.
    • setExtrusion

      public void setExtrusion(double[] extrusion)
      Parameters:
      extrusion - The extrusion to set.
    • has3DData

      public boolean has3DData()
      Specified by:
      has3DData in interface IDwg3DTestable
    • getZ

      public double getZ()
      Specified by:
      getZ in interface IDwg3DTestable
    • toFMapGeometry

      public org.gvsig.fmap.geom.Geometry toFMapGeometry(boolean is3DFile) throws org.gvsig.fmap.geom.exception.CreateGeometryException
      Specified by:
      toFMapGeometry in interface IDwg2FMap
      Throws:
      org.gvsig.fmap.geom.exception.CreateGeometryException
    • toFMapString

      public String toFMapString(boolean is3DFile)
      Specified by:
      toFMapString in interface IDwg2FMap
    • toString

      public String toString()
      Specified by:
      toString in interface IDwg2FMap
      Overrides:
      toString in class Object
    • transform2Block

      public void transform2Block(double[] bPoint, Point2D insPoint, double[] scale, double rot, List dwgObjectsWithoutBlocks, Map handleObjWithoutBlocks, DwgFile callBack)
      Specified by:
      transform2Block in interface IDwgBlockMember
    • clone

      public Object clone()
      Overrides:
      clone in class DwgObject
    • fill

      protected void fill(DwgObject obj)
      Overrides:
      fill in class DwgObject
    • getGeometryType

      public int getGeometryType()
      Specified by:
      getGeometryType in interface IDwg2FMap