public class DxfArc extends DxfEntity
extent, requestExtent, stroke| Constructor and Description |
|---|
DxfArc(IProjection proj,
DxfLayer layer,
Point2D[] pts)
Constructor de DxfArc.
|
| Modifier and Type | Method and Description |
|---|---|
Color |
c()
Devuelve el color del DxfArc.
|
Color |
c(Color color)
Establece el color del DxfArc.
|
void |
draw(Graphics2D g,
ViewPortData vp)
Permite dibujar un DxfArc.
|
Point2D |
getCenter() |
Point2D |
getCentralPoint() |
Point2D |
getEnd() |
double |
getEndAngle() |
Point2D |
getInit() |
double |
getInitAngle() |
Point2D[] |
getPts()
Devuelve el array de puntos que conforman el DxfArc.
|
double |
getRadius() |
void |
reProject(ICoordTrans rp)
Permite reproyectar un DxfArc dado un conjunto de coordenadas de transformaci�n.
|
void |
setCenter(Point2D center) |
void |
setCentralPoint(Point2D centralPoint) |
void |
setEnd(Point2D end) |
void |
setEndAngle(double endAngle) |
void |
setInit(Point2D init) |
void |
setInitAngle(double initAngle) |
void |
setRadius(double radius) |
String |
toDxfString()
Permite la escritura de entidades DxfArc en un fichero DXF2000.
|
getColor, getHandle, getLayer, getLayerName, getProjection, setHandle, setProjectionpublic DxfArc(IProjection proj, DxfLayer layer, Point2D[] pts)
proj, - proyecci�n cartogr�fica en la que se encuentra el DxfArc.layer, - capa del DXF en la que se encuentra el DxfArc.pts, - puntos 2D que componen el DxfArc.public Color c()
public void reProject(ICoordTrans rp)
reProject in interface ProjectedreProject in class DxfEntityrp, - coordenadas de transformaci�n.Projected.getProjection()public void draw(Graphics2D g, ViewPortData vp)
public String toDxfString()
toDxfString in class DxfEntitypublic Point2D[] getPts()
public Point2D getCenter()
public void setCenter(Point2D center)
center - The center to set.public Point2D getEnd()
public void setEnd(Point2D end)
end - The end to set.public Point2D getInit()
public void setInit(Point2D init)
init - The init to set.public Point2D getCentralPoint()
public void setCentralPoint(Point2D centralPoint)
centralPoint - The centralPoint to set.public double getEndAngle()
public void setEndAngle(double endAngle)
endAngle - The endAngle to set.public double getInitAngle()
public void setInitAngle(double initAngle)
initAngle - The initAngle to set.public double getRadius()
public void setRadius(double radius)
radius - The radius to set.