public class Circle2D extends OrientableSurface2D implements Circle
Geometry.DIMENSIONS, Geometry.OPERATIONS, Geometry.SUBTYPES, Geometry.TYPES, Geometry.ValidationStatusgpgeometryType, geomManager, id, logger, projectionBEST, E, EXTENDED_GEOMSUBTYPE_OFFSET, EXTENDED_GEOMTYPE_OFFSET, N, NE, NW, S, SE, SELECTHANDLER, STRETCHINGHANDLER, SW, W| Constructor and Description |
|---|
Circle2D(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.
|
Point |
getCenter()
Returns the center of the circle.
|
double |
getRadious()
Returns the radius of the circle
|
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.
|
boolean |
intersects(java.awt.geom.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 |
setCoordinateAt(int index,
int dimension,
double value)
Sets the value of a coordinate (direct position) in a concrete dimension
|
void |
setGeneralPath(GeneralPathX generalPathX)
Sets all the coordinates of the curve
|
void |
setPoints(java.awt.geom.Point2D center,
double radious) |
void |
setPoints(Point2D center,
Point2D radious) |
void |
setPoints(java.awt.geom.Point2D p1,
java.awt.geom.Point2D p2,
java.awt.geom.Point2D p3) |
void |
setPoints(Point center,
double radious)
Sets the two values to define a circle.
|
void |
setPoints(Point center,
double radius,
double initAngle,
double angleExt) |
void |
setPoints(Point center,
Point radious)
Sets the two values to define a circle.
|
void |
setPoints(Point p1,
Point p2,
Point p3)
Sets the values to define a circle from three points.
|
void |
transform(java.awt.geom.AffineTransform at)
DOCUMENT ME!
|
addInteriorRing, getInteriorRing, getNumInteriorRings, getSurfaceAppearance, removeInteriorRing, setSurfaceAppearanceaddMoveToVertex, 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, setVertexarea, 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, union, withinclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetRectangleCorner, getRectangleHeight, getRectangleWidthaddInteriorRing, addInteriorRing, addInteriorRing, getInteriorRing, getNumInteriorRings, getSurfaceAppearance, removeInteriorRing, setSurfaceAppearanceaddMoveToVertex, addVertex, addVertex, addVertex, closePrimitive, ensureCapacity, getCoordinateAt, getNumVertices, getVertex, insertVertex, removeVertex, setVertexarea, 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, withinpublic Circle2D(GeometryType geometryType)
GeometryType#create()
to create the geometrytype - The geometry typepublic Point getCenter()
Circlepublic FShape cloneFShape()
FShapecloneFShape in interface FShapepublic int getShapeType()
FShapegetShapeType in interface FShapegetShapeType in class AbstractPrimitivepublic void transform(java.awt.geom.AffineTransform at)
OrientablePrimitive2Dpublic Handler[] getStretchingHandlers()
FShapegetStretchingHandlers in interface FShapegetStretchingHandlers in class OrientablePrimitive2Dpublic Handler[] getSelectHandlers()
FShapegetSelectHandlers in interface FShapegetSelectHandlers in class OrientablePrimitive2Dpublic boolean intersects(java.awt.geom.Rectangle2D r)
OrientablePrimitive2Dintersects in interface java.awt.Shapeintersects in interface Geometryintersects in class OrientablePrimitive2Dr - Rect�ngulo.public void setGeneralPath(GeneralPathX generalPathX)
OrientablePrimitivesetGeneralPath in interface OrientablePrimitivesetGeneralPath in class OrientablePrimitive2DgeneralPathX - The generalPath that contains all the coordinatespublic void setPoints(Point center, Point radious)
CirclesetPoints in interface CirclesetPoints in class OrientablePrimitive2Dcenter - The center point of the circle.radious - A point that is used to calculate the radius.public void setPoints(Point center, double radious)
Circlepublic void setPoints(Point p1, Point p2, Point p3)
Circlepublic void setPoints(java.awt.geom.Point2D center,
double radious)
public void setPoints(java.awt.geom.Point2D p1,
java.awt.geom.Point2D p2,
java.awt.geom.Point2D p3)
public void setCoordinateAt(int index,
int dimension,
double value)
OrientablePrimitivesetCoordinateAt in interface OrientablePrimitivesetCoordinateAt in class OrientablePrimitive2Dindex - The index of the direct position to setdimension - The dimension of the direct positionvalue - The value to setpublic void setPoints(Point center, double radius, double initAngle, double angleExt)
public double getRadious()
CirclegetRadious in interface Circle