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