public class DXFRay extends DXFEntity
| Modifier and Type | Field and Description |
|---|---|
protected Point |
basePoint |
protected Vector |
direction |
block, color, colorRGB, doc, extrusion, flags, id, layerID, lineType, linetypeScaleFactor, lineWeight, modelSpace, thickness, transparency, visibile| Constructor and Description |
|---|
DXFRay() |
| Modifier and Type | Method and Description |
|---|---|
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) |
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, setVisibilepublic 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.