Class DxfArc

All Implemented Interfaces:
Projected, Extent.Has

public class DxfArc extends DxfEntity
Entidad ARC de un fichero DXF.
Author:
"Luis W. Sevilla" invalid input: '<'sevilla_lui@gva.es>, jmorell
  • Constructor Details

    • DxfArc

      public DxfArc(org.gvsig.crs.projection.lib.Projection proj, DxfLayer layer, Point2D[] pts)
      Constructor de DxfArc.
      Parameters:
      proj - , proyecci�n cartogr�fica en la que se encuentra el DxfArc.
      layer - , capa del DXF en la que se encuentra el DxfArc.
      pts - , puntos 2D que componen el DxfArc.
  • Method Details

    • c

      public Color c()
      Devuelve el color del DxfArc.
      Returns:
      Color
    • c

      public Color c(Color color)
      Establece el color del DxfArc.
      Parameters:
      color -
      Returns:
      Color
    • reProject

      public void reProject(org.gvsig.crs.projection.lib.CoordinateTransformation rp)
      Permite reproyectar un DxfArc dado un conjunto de coordenadas de transformaci�n.
      Specified by:
      reProject in interface Projected
      Specified by:
      reProject in class DxfEntity
      Parameters:
      rp - , coordenadas de transformaci�n.
      See Also:
    • toDxfString

      public String toDxfString()
      Permite la escritura de entidades DxfArc en un fichero DXF2000.
      Specified by:
      toDxfString in class DxfEntity
      Returns:
      String, la cadena que se escribir� en el fichero con la informaci�n del DxfArc.
    • getPts

      public Point2D[] getPts()
      Devuelve el array de puntos que conforman el DxfArc.
      Returns:
      Point2D[], puntos del DxfArc.
    • getCenter

      public Point2D getCenter()
      Returns:
      Returns the center.
    • setCenter

      public void setCenter(Point2D center)
      Parameters:
      center - The center to set.
    • getEnd

      public Point2D getEnd()
      Returns:
      Returns the end.
    • setEnd

      public void setEnd(Point2D end)
      Parameters:
      end - The end to set.
    • getInit

      public Point2D getInit()
      Returns:
      Returns the init.
    • setInit

      public void setInit(Point2D init)
      Parameters:
      init - The init to set.
    • getCentralPoint

      public Point2D getCentralPoint()
      Returns:
      Returns the centralPoint.
    • setCentralPoint

      public void setCentralPoint(Point2D centralPoint)
      Parameters:
      centralPoint - The centralPoint 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.
    • getRadius

      public double getRadius()
      Returns:
      Returns the radius.
    • setRadius

      public void setRadius(double radius)
      Parameters:
      radius - The radius to set.