public abstract class DXFEntity extends Object implements DXFConstants
| Modifier and Type | Field and Description |
|---|---|
protected int |
_color |
protected com.vividsolutions.jts.geom.Coordinate |
_entBase |
protected DXFLineType |
_lineType |
protected String |
_name |
protected DXFLayer |
_refLayer |
protected String |
_text |
protected Double |
_textheight |
protected String |
_textposhorizontal |
protected String |
_textposvertical |
protected Double |
_textrotation |
protected double |
_thickness |
protected String |
errorDescription |
protected com.vividsolutions.jts.geom.Geometry |
geometry |
protected GeometryType |
geometryType |
protected int |
startingLineNumber |
protected DXFUnivers |
univers |
protected boolean |
visible |
$ACADVER, $EXTMAX, $EXTMIN, $FILLMODE, $LIMMAX, $LIMMIN, ARC, ATTRIB, BLOCK, BLOCK_RECORD, BLOCKS, CIRCLE, CLASSES, DIMENSION, ELLIPSE, ENDBLK, ENDSEC, ENDTAB, ENTITIES, HEADER, INSERT, LAYER, LAYER_AUTO_FROZEN, LAYER_FROZEN, LAYER_INVISIBLE, LAYER_LOCKED, LAYER_USED, LAYER_XREF, LAYER_XREF_FOUND, LINE, LTYPE, LWPOLYLINE, MTEXT, OBJECTS, POINT, POLYLINE, SECTION, SEQEND, SOLID, SPLINE, TABLE, TABLES, TEXT, THUMBNAILIMAGE, TRACE, VERTEX| Constructor and Description |
|---|
DXFEntity(DXFEntity newEntity) |
DXFEntity(int c,
DXFLayer l,
int visibility,
DXFLineType lineType,
double thickness) |
| Modifier and Type | Method and Description |
|---|---|
void |
addError(String msg)
Called when an error occurs but that error is constrained to a single
feature/subgeometry.
|
abstract DXFEntity |
clone() |
int |
getColor() |
String |
getColorRGB() |
String |
getErrorDescription() |
com.vividsolutions.jts.geom.Geometry |
getGeometry() |
DXFLineType |
getLineType() |
String |
getLineTypeName() |
String |
getName() |
DXFLayer |
getRefLayer() |
String |
getRefLayerName() |
int |
getStartingLineNumber() |
String |
getText() |
Double |
getTextheight() |
String |
getTextposhorizontal() |
String |
getTextposvertical() |
Double |
getTextrotation() |
double |
getThickness() |
GeometryType |
getType() |
DXFUnivers |
getUnivers() |
boolean |
isVisible() |
protected com.vividsolutions.jts.geom.Coordinate |
rotateAndPlace(com.vividsolutions.jts.geom.Coordinate coord) |
protected com.vividsolutions.jts.geom.Coordinate[] |
rotateAndPlace(com.vividsolutions.jts.geom.Coordinate[] coordarray) |
void |
setAngle(double angle) |
void |
setBase(com.vividsolutions.jts.geom.Coordinate coord) |
void |
setColor(int color) |
void |
setErrorDescription(String errorDescription) |
void |
setGeometry(com.vividsolutions.jts.geom.Geometry geometry) |
void |
setLineType(DXFLineType lineType) |
void |
setName(String _name) |
void |
setRefLayer(DXFLayer refLayer) |
void |
setStartingLineNumber(int startingLineNumber) |
void |
setText(String _text) |
void |
setTextheight(Double _textheight) |
void |
setTextposhorizontal(String _textposhorizontal) |
void |
setTextposvertical(String _textposvertical) |
void |
setTextrotation(Double _textrotation) |
void |
setThickness(double thickness) |
void |
setType(GeometryType geometryType) |
void |
setUnivers(DXFUnivers univers) |
void |
setVisible(boolean visible) |
abstract DXFEntity |
translate(double x,
double y) |
void |
updateGeometry() |
protected GeometryType geometryType
protected String _name
protected String _text
protected String _textposhorizontal
protected String _textposvertical
protected Double _textheight
protected Double _textrotation
protected DXFLayer _refLayer
protected int _color
protected DXFLineType _lineType
protected double _thickness
protected boolean visible
protected int startingLineNumber
protected String errorDescription
protected com.vividsolutions.jts.geom.Geometry geometry
protected DXFUnivers univers
protected com.vividsolutions.jts.geom.Coordinate _entBase
public DXFEntity(DXFEntity newEntity)
public DXFEntity(int c,
DXFLayer l,
int visibility,
DXFLineType lineType,
double thickness)
public void setBase(com.vividsolutions.jts.geom.Coordinate coord)
public void setAngle(double angle)
public abstract DXFEntity translate(double x, double y)
protected com.vividsolutions.jts.geom.Coordinate rotateAndPlace(com.vividsolutions.jts.geom.Coordinate coord)
protected com.vividsolutions.jts.geom.Coordinate[] rotateAndPlace(com.vividsolutions.jts.geom.Coordinate[] coordarray)
public com.vividsolutions.jts.geom.Geometry getGeometry()
public void updateGeometry()
public String getName()
public void setName(String _name)
public String getText()
public void setText(String _text)
public Double getTextheight()
public void setTextheight(Double _textheight)
public String getTextposhorizontal()
public void setTextposhorizontal(String _textposhorizontal)
public String getTextposvertical()
public void setTextposvertical(String _textposvertical)
public Double getTextrotation()
public void setTextrotation(Double _textrotation)
public String getErrorDescription()
public int getStartingLineNumber()
public void setStartingLineNumber(int startingLineNumber)
public GeometryType getType()
public void setType(GeometryType geometryType)
public void setVisible(boolean visible)
public boolean isVisible()
public DXFLineType getLineType()
public String getLineTypeName()
public void setLineType(DXFLineType lineType)
public int getColor()
public String getColorRGB()
public void setColor(int color)
public DXFLayer getRefLayer()
public String getRefLayerName()
public void setRefLayer(DXFLayer refLayer)
public double getThickness()
public void setThickness(double thickness)
public DXFUnivers getUnivers()
public void setUnivers(DXFUnivers univers)
public void addError(String msg)
msg - public void setErrorDescription(String errorDescription)
public void setGeometry(com.vividsolutions.jts.geom.Geometry geometry)
Copyright © 2018 B3Partners B.V.. All rights reserved.