|
|||||||||
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.DXFRay
public class DXFRay
Field Summary | |
---|---|
protected Point |
basePoint
|
protected Vector |
direction
|
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 | |
---|---|
DXFRay()
|
Method Summary | |
---|---|
Point |
getBasePoint()
|
Bounds |
getBounds()
|
Vector |
getDirection()
|
double |
getLength()
Returns the length of the entity or 0 if the entity has no length |
java.lang.String |
getType()
|
void |
setBasePoint(Point basePoint)
|
void |
setDirection(Vector direction)
|
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 basePoint
protected Vector direction
Constructor Detail |
---|
public DXFRay()
Method Detail |
---|
public Bounds getBounds()
getBounds
in class DXFEntity
public java.lang.String getType()
getType
in class DXFEntity
public Point getBasePoint()
public void setBasePoint(Point basePoint)
basePoint
- The basePoint to set.public Vector getDirection()
public void setDirection(Vector direction)
direction
- The direction to set.public double getLength()
DXFEntity
getLength
in class DXFEntity
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |