|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kabeja.dxf.DXFEntity org.kabeja.dxf.DXFPoint
public class DXFPoint
Field Summary | |
---|---|
protected Point |
p
|
Fields inherited from class org.kabeja.dxf.DXFEntity |
---|
block, color, colorRGB, doc, extrusion, flags, id, layerID, lineType, linetypeScaleFactor, lineWeight, modelSpace, thickness, transparency, visibile |
Constructor Summary | |
---|---|
DXFPoint()
|
|
DXFPoint(double x,
double y,
double z)
|
|
DXFPoint(Point p)
|
Method Summary | |
---|---|
Bounds |
getBounds()
|
double |
getLength()
Returns the length of the entity or 0 if the entity has no length |
Point |
getPoint()
|
java.lang.String |
getType()
|
double |
getX()
|
double |
getY()
|
double |
getZ()
|
void |
setPoint(Point p)
|
void |
setX(double x)
|
void |
setY(double y)
|
void |
setZ(double z)
|
Methods inherited from class org.kabeja.dxf.DXFEntity |
---|
getColor, getColorRGB, getDXFDocument, getExtrusion, getFlags, getID, getLayerName, getLineType, getLinetypeScaleFactor, getLineWeight, getThickness, getTransparency, isBlockEntity, isModelSpace, isOmitLineType, isVisibile, setBlockEntity, setColor, setColorRGB, setDXFDocument, setExtrusion, setExtrusionX, setExtrusionY, setExtrusionZ, setFlags, setID, setLayerName, setLineType, setLinetypeScaleFactor, setLineWeight, setModelSpace, setThickness, setTransparency, setVisibile |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Point p
Constructor Detail |
---|
public DXFPoint()
public DXFPoint(double x, double y, double z)
public DXFPoint(Point p)
Method Detail |
---|
public double getX()
public void setX(double x)
x
- The x to set.public double getY()
public void setY(double y)
y
- The y to set.public double getZ()
public void setZ(double z)
z
- The z to set.public Bounds getBounds()
getBounds
in class DXFEntity
public java.lang.String getType()
getType
in class DXFEntity
public Point getPoint()
public void setPoint(Point p)
public double getLength()
DXFEntity
getLength
in class DXFEntity
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |