Fields inherited from class org.kabeja.dxf.DXFEntity |
block, color, colorRGB, doc, extrusion, flags, id, layerID, lineType, linetypeScaleFactor, lineWeight, modelSpace, thickness, transparency, visibile |
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 |
DEFAULT_END_PARAMETER
public static final double DEFAULT_END_PARAMETER
- See Also:
- Constant Field Values
DEFAULT_START_PARAMETER
public static final double DEFAULT_START_PARAMETER
- See Also:
- Constant Field Values
INTEGRATION_STEPS
public static final int INTEGRATION_STEPS
- See Also:
- Constant Field Values
DXFEllipse
public DXFEllipse()
getBounds
public Bounds getBounds()
- Specified by:
getBounds
in class DXFEntity
getCenterPoint
public Point getCenterPoint()
setCenterPoint
public void setCenterPoint(Point center)
getMajorAxisDirection
public Vector getMajorAxisDirection()
setMajorAxisDirection
public void setMajorAxisDirection(Vector d)
getEndParameter
public double getEndParameter()
setEndParameter
public void setEndParameter(double endParameter)
getRatio
public double getRatio()
setRatio
public void setRatio(double ratio)
getStartParameter
public double getStartParameter()
setStartParameter
public void setStartParameter(double startParameter)
getType
public java.lang.String getType()
- Specified by:
getType
in class DXFEntity
getHalfMajorAxisLength
public double getHalfMajorAxisLength()
getLocalPointAt
public Point getLocalPointAt(double para)
getPointAt
public Point getPointAt(double para)
- Calculate a Point in world coordinates for the given parameter
on the ellipse.
- Parameters:
para
- in double (between 0.0 and 2*PI)
- Returns:
- the point of the ellipse in world coordinates
getLocalStartPoint
public Point getLocalStartPoint()
getLocalEndPoint
public Point getLocalEndPoint()
getRotationAngle
public double getRotationAngle()
getLength
public double getLength()
- Description copied from class:
DXFEntity
- Returns the length of the entity or 0 if the entity has no length
- Specified by:
getLength
in class DXFEntity
- Returns:
isCounterClockwise
public boolean isCounterClockwise()
setCounterClockwise
public void setCounterClockwise(boolean counterclockwise)