public class DXFArc extends DXFEntity
block, color, colorRGB, doc, extrusion, flags, id, layerID, lineType, linetypeScaleFactor, lineWeight, modelSpace, thickness, transparency, visibile| Constructor and Description |
|---|
DXFArc() |
| Modifier and Type | Method and Description |
|---|---|
Bounds |
getBounds() |
Point |
getCenterPoint() |
double |
getChordLength() |
double |
getEndAngle() |
Point |
getEndPoint()
Calculate the end point of the arc (defined by the end parameter)
|
double |
getLength()
Returns the length of the entity or 0 if the entity has no length
|
Point |
getPointAt(double angle)
Calculate a point of the arc
|
double |
getRadius() |
double |
getStartAngle() |
Point |
getStartPoint()
Calculate the start point of the arc (defined by the start parameter)
|
double |
getTotalAngle() |
java.lang.String |
getType() |
boolean |
isCounterClockwise() |
void |
setCenterPoint(Point p) |
void |
setCounterClockwise(boolean counterclockwise) |
void |
setEndAngle(double end_angle) |
void |
setRadius(double radius) |
void |
setStartAngle(double start_angle) |
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 double getEndAngle()
public void setEndAngle(double end_angle)
end_angle - The end_angle to set.public double getRadius()
public void setRadius(double radius)
radius - The radius to set.public double getStartAngle()
public void setStartAngle(double start_angle)
start_angle - The start_angle to set.public void setCenterPoint(Point p)
public Point getCenterPoint()
public Point getStartPoint()
public Point getEndPoint()
public Point getPointAt(double angle)
angle - in degreepublic double getLength()
DXFEntitypublic double getTotalAngle()
public double getChordLength()
public boolean isCounterClockwise()
public void setCounterClockwise(boolean counterclockwise)