Class DwgPoint

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

public class DwgPoint extends DwgObject implements IDwg3DTestable, IDwg2FMap
The DwgPoint class represents a DWG Point
Author:
jmorell
  • Constructor Details

    • DwgPoint

      public DwgPoint(int index)
  • Method Details

    • getPoint

      public double[] getPoint()
      Returns:
      Returns the point.
    • setPoint

      public void setPoint(double[] point)
      Parameters:
      point - The point to set.
    • getExtrusion

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

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

      public double getThickness()
      Returns:
      Returns the thickness.
    • setThickness

      public void setThickness(double thickness)
      Parameters:
      thickness - The thickness to set.
    • getXAxisAngle

      public double getXAxisAngle()
      Returns:
      Returns the xAxisAngle.
    • setXAxisAngle

      public void setXAxisAngle(double axisAngle)
      Parameters:
      axisAngle - The xAxisAngle to set.
    • applyExtrussion

      public void applyExtrussion()
    • 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
    • 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