public class DxfPoint extends DxfEntity
extent, requestExtent, stroke
Constructor and Description |
---|
DxfPoint(IProjection proj,
DxfLayer layer)
Constructor de DxfPoint.
|
Modifier and Type | Method and Description |
---|---|
void |
draw(Graphics2D g,
ViewPortData vp)
Permite dibujar un DxfPoint.
|
Point2D |
getPt() |
void |
reProject(ICoordTrans rp)
Permite reproyectar un DxfPoint dado un conjunto de coordenadas de transformación.
|
void |
setPt(Point2D pt)
Establece el punto de inserción del DxfPoint.
|
String |
toDxfString()
Permite la escritura de entidades DxfPoint en un fichero DXF2000.
|
getColor, getHandle, getLayer, getLayerName, getProjection, setHandle, setProjection
public DxfPoint(IProjection proj, DxfLayer layer)
proj,
- proyección cartográfica en la que se encuentra el DxfPoint.layer,
- capa del DXF en la que se encuentra el DxfPoint.public void setPt(Point2D pt)
pt,
- punto de inserción.public void reProject(ICoordTrans rp)
reProject
in interface Projected
reProject
in class DxfEntity
rp,
- coordenadas de transformación.Projected.getProjection()
public void draw(Graphics2D g, ViewPortData vp)
public String toDxfString()
toDxfString
in class DxfEntity
public Point2D getPt()