public class EllipticArc2D extends OrientableSurface2D implements EllipticArc
Geometry.DIMENSIONS, Geometry.OPERATIONS, Geometry.SUBTYPES, Geometry.TYPES, Geometry.ValidationStatus
gp
geometryType, geomManager, id, logger, projection
BEST, E, EXTENDED_GEOMSUBTYPE_OFFSET, EXTENDED_GEOMTYPE_OFFSET, N, NE, NW, S, SE, SELECTHANDLER, STRETCHINGHANDLER, SW, W
Constructor and Description |
---|
EllipticArc2D(GeometryType geometryType)
The constructor with the GeometryType like and argument
is used by the
GeometryType #create()
to create the geometry |
Modifier and Type | Method and Description |
---|---|
FShape |
cloneFShape()
Creates and returns a shape equal and independent of this one.
|
double |
getAngExt() |
double |
getAngSt() |
Point |
getAxis1End()
Returns the point where the first axis ends.
|
Point |
getAxis1Start()
Returns the point where the first axis starts.
|
double |
getAxis2Dist() |
Handler[] |
getSelectHandlers()
Returns the handlers used to select the geometries.
|
int |
getShapeType()
Gets the geometry type of this shape.
|
Handler[] |
getStretchingHandlers()
Returns the handlers they utilized to stretch the geometries.
|
SurfaceAppearance |
getSurfaceAppearance()
Gets surface appearance
|
boolean |
intersects(Rectangle2D r)
El m�todo intersects de java.awt.Shape que define la intersecci�n entre
una polil�nea y un Rectangle2D considera la polil�nea como un Shape
gen�rico y se producen errores en la selecci�n de polil�neas.
|
void |
setGeneralPath(GeneralPathX generalPathX)
Sets all the coordinates of the curve
|
void |
setPoints(Point axis1Start,
Point axis1End,
double semiAxis2Length,
double angSt,
double angExt)
Sets the values to define a ellipticArc
|
void |
setSurfaceAppearance(SurfaceAppearance app)
Sets the appearance of the Surface
|
void |
transform(AffineTransform at)
DOCUMENT ME!
|
addInteriorRing, getInteriorRing, getNumInteriorRings, removeInteriorRing
addMoveToVertex, addVertex, addVertex, addVertex, closePrimitive, contains, contains, contains, contains, ensureCapacity, getBounds, getBounds2D, getCoordinateAt, getDimension, getEnvelope, getGeneralPath, getGeneralPathX, getNumVertices, getPathIterator, getPathIterator, getShape, getShape, getVertex, insertVertex, intersects, removeVertex, reProject, setCoordinateAt, setPoints, setVertex
area, buffer, centroid, cloneGeometry, closestPoints, compareTo, contains, containsPoint, containsRectangle, convertToWKB, convertToWKB, convertToWKBForcingType, convertToWKT, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, equals, fastIntersects, getGeometryType, getHandlers, getId, getInteriorPoint, getInternalShape, getSRS, getType, getValidationStatus, intersection, intersects, intersectsRectangle, invokeOperation, invokeOperation, isCCW, isSimple, isValid, isWithinDistance, makeValid, move, overlaps, perimeter, rotate, scale, snapTo, toJTS, toString, touches, transform, union, within
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addInteriorRing, addInteriorRing, addInteriorRing, getInteriorRing, getNumInteriorRings, removeInteriorRing
addMoveToVertex, addVertex, addVertex, addVertex, closePrimitive, ensureCapacity, getCoordinateAt, getNumVertices, getVertex, insertVertex, removeVertex, setCoordinateAt, setVertex
area, buffer, centroid, cloneGeometry, closestPoints, contains, convertToEWKB, convertToEWKB, convertToEWKBForcingType, convertToWKB, convertToWKB, convertToWKBForcingType, convertToWKT, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, ensureOrientation, fastIntersects, flip, getBounds2D, getDimension, getEnvelope, getGeneralPath, getGeometryType, getHandlers, getInteriorPoint, getInternalShape, getPathIterator, getPathIterator, getShape, getShape, getType, getValidationStatus, intersection, intersects, invokeOperation, invokeOperation, isCCW, isSimple, isValid, isWithinDistance, makeValid, move, offset, out, overlaps, perimeter, reProject, rotate, scale, snapTo, toLines, toPoints, toPolygons, touches, union, within
contains, contains, contains, contains, getBounds, intersects
compareTo
public EllipticArc2D(GeometryType geometryType)
GeometryType
#create()
to create the geometrytype
- The geometry typepublic FShape cloneFShape()
FShape
cloneFShape
in interface FShape
public Point getAxis1Start()
EllipticArc
getAxis1Start
in interface EllipticArc
public Point getAxis1End()
EllipticArc
getAxis1End
in interface EllipticArc
public double getAxis2Dist()
getAxis2Dist
in interface EllipticArc
public double getAngSt()
getAngSt
in interface EllipticArc
public double getAngExt()
getAngExt
in interface EllipticArc
public void transform(AffineTransform at)
OrientablePrimitive2D
transform
in interface FShape
transform
in interface Geometry
transform
in class OrientablePrimitive2D
at
- DOCUMENT ME!AffineTransform
public int getShapeType()
FShape
getShapeType
in interface FShape
getShapeType
in class AbstractPrimitive
public Handler[] getStretchingHandlers()
FShape
getStretchingHandlers
in interface FShape
getStretchingHandlers
in class OrientablePrimitive2D
public Handler[] getSelectHandlers()
FShape
getSelectHandlers
in interface FShape
getSelectHandlers
in class OrientablePrimitive2D
public boolean intersects(Rectangle2D r)
OrientablePrimitive2D
intersects
in interface Shape
intersects
in interface Geometry
intersects
in class OrientablePrimitive2D
r
- Rect�ngulo.public void setPoints(Point axis1Start, Point axis1End, double semiAxis2Length, double angSt, double angExt)
EllipticArc
setPoints
in interface EllipticArc
axis1Start
- The point where the first axis starts.axis1End
- The point where the first axis ends.public void setGeneralPath(GeneralPathX generalPathX)
OrientablePrimitive
setGeneralPath
in interface OrientablePrimitive
setGeneralPath
in class OrientablePrimitive2D
generalPathX
- The generalPath that contains all the coordinatespublic SurfaceAppearance getSurfaceAppearance()
Surface
getSurfaceAppearance
in interface Surface
getSurfaceAppearance
in class OrientableSurface2D
public void setSurfaceAppearance(SurfaceAppearance app)
Surface
setSurfaceAppearance
in interface Surface
setSurfaceAppearance
in class OrientableSurface2D
app
- The appearance of the surface