org.cresques.px.dxf
Class DxfPoint

java.lang.Object
  extended byorg.cresques.px.PxObj
      extended byorg.cresques.px.dxf.DxfEntity
          extended byorg.cresques.px.dxf.DxfPoint
All Implemented Interfaces:
Drawable, Extent.Has, Projected

public class DxfPoint
extends DxfEntity

Entidad POINT de un fichero DXF.

Author:
"Luis W. Sevilla" , jmorell

Field Summary
 
Fields inherited from class org.cresques.px.PxObj
extent, stroke
 
Constructor Summary
DxfPoint(IProjection proj, DxfLayer layer)
          Constructor de DxfPoint.
 
Method Summary
 void draw(java.awt.Graphics2D g, ViewPortData vp)
          Permite dibujar un DxfPoint.
 java.awt.geom.Point2D getPt()
           
 void reProject(ICoordTrans rp)
          Permite reproyectar un DxfPoint dado un conjunto de coordenadas de transformación.
 void setPt(java.awt.geom.Point2D pt)
          Establece el punto de inserción del DxfPoint.
 java.lang.String toDxfString()
          Permite la escritura de entidades DxfPoint en un fichero DXF2000.
 
Methods inherited from class org.cresques.px.dxf.DxfEntity
getColor, getHandle, getLayer, getLayerName, getProjection, setHandle, setProjection
 
Methods inherited from class org.cresques.px.PxObj
getExtent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DxfPoint

public DxfPoint(IProjection proj,
                DxfLayer layer)
Constructor de DxfPoint.

Method Detail

setPt

public void setPt(java.awt.geom.Point2D pt)
Establece el punto de inserción del DxfPoint.


reProject

public void reProject(ICoordTrans rp)
Permite reproyectar un DxfPoint dado un conjunto de coordenadas de transformación.

Specified by:
reProject in interface Projected
Specified by:
reProject in class DxfEntity

draw

public void draw(java.awt.Graphics2D g,
                 ViewPortData vp)
Permite dibujar un DxfPoint.


toDxfString

public java.lang.String toDxfString()
Permite la escritura de entidades DxfPoint 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 DxfPoint.

getPt

public java.awt.geom.Point2D getPt()
Returns:
Returns the pt.