|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.cresques.px.PxObj org.cresques.px.dxf.DxfEntity
Clase ancestro para las entidades de un fichero DXF.
Field Summary |
Fields inherited from class org.cresques.px.PxObj |
extent, stroke |
Constructor Summary | |
DxfEntity(IProjection proj,
DxfLayer layer)
Constructor genérico de entidades procedentes de un fichero DXF. |
Method Summary | |
java.lang.String |
getColor()
Devuelve el color de la entidad según AutoCAD en forma de texto. |
int |
getHandle()
|
DxfLayer |
getLayer()
Devuelve la capa en la que se encuentra la entidad. |
java.lang.String |
getLayerName()
Devuelve el nombre de la capa en la que se encuentra la entidad. |
IProjection |
getProjection()
Devuelve la proyección cartográfica en la que se encuentra la entidad. |
abstract void |
reProject(ICoordTrans ct)
Permite reproyectar una entidad dado un conjunto de coordenadas de transformación. |
void |
setHandle(int handle)
|
void |
setProjection(IProjection p)
Establece la proyección cartográfica en la que se encuentra la entidad. |
abstract java.lang.String |
toDxfString()
Permite la escritura de entidades en un fichero DXF2000. |
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 |
Methods inherited from interface org.cresques.px.Drawable |
draw |
Constructor Detail |
public DxfEntity(IProjection proj, DxfLayer layer)
Method Detail |
public void setProjection(IProjection p)
public IProjection getProjection()
getProjection
in interface Projected
public abstract void reProject(ICoordTrans ct)
reProject
in interface Projected
public java.lang.String getLayerName()
public java.lang.String getColor()
public abstract java.lang.String toDxfString()
public int getHandle()
public void setHandle(int handle)
handle
- The handle to set.public DxfLayer getLayer()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |