Package org.gvsig.fmap.geom.primitive
Interface Circumference
- All Superinterfaces:
Cloneable,Comparable,Curve,Geometry,org.gvsig.tools.util.GetItem<Point>,org.gvsig.tools.util.IsEmpty,OrientableCurve,OrientablePrimitive,Primitive,Serializable,Shape,org.gvsig.tools.util.Size
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.gvsig.fmap.geom.Geometry
Geometry.DIMENSIONS, Geometry.OPERATIONS, Geometry.SUBTYPES, Geometry.TYPES, Geometry.ValidationStatus -
Field Summary
Fields inherited from interface org.gvsig.fmap.geom.Geometry
BEST, E, EXTENDED_GEOMSUBTYPE_OFFSET, EXTENDED_GEOMTYPE_OFFSET, JOIN_STYLE_BEVEL, JOIN_STYLE_MITRE, JOIN_STYLE_ROUND, N, NE, NW, S, SE, SELECTHANDLER, STRETCHINGHANDLER, SW, W -
Method Summary
Modifier and TypeMethodDescriptionReturns the center of the circumference.doubleReturns the radius of the circumferencevoidSets the two values to define a circumference.voidSets the two values to define a circumference.voidSets the values to define a circumference from three points.Methods inherited from interface java.lang.Comparable
compareToMethods inherited from interface org.gvsig.fmap.geom.Geometry
area, boundary, buffer, buffer, canBeReprojected, canBeTransformed, centroid, clone, cloneGeometry, closestPoints, contains, convertTo, convertToEWKB, convertToEWKB, convertToEWKBForcingType, convertToGeoJson, convertToHexEWKB, convertToHexEWKBQuietly, convertToHexWKB, convertToHexWKBQuietly, convertToWKB, convertToWKB, convertToWKBForcingType, convertToWKBQuietly, convertToWKT, convertToWKTQuietly, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, ensureOrientation, equals, fastIntersects, fix, flip, force2D, forceSubtype, getBounds2D, getDimension, getEnvelope, getGeneralPath, getGeometryType, getHandlers, getInteriorPoint, getInternalShape, getPathIterator, getPathIterator, getProjection, getShape, getShape, getType, getValidationStatus, intersection, intersects, intersects, invokeOperation, invokeOperation, isCCW, isEmpty, isSimple, isValid, isWithinDistance, makeValid, move, offset, offset, out, overlaps, perimeter, reProject, rotate, scale, setProjection, setProjection, setProjectionIffNull, snapTo, toLines, toPoints, toPolygons, touches, transform, union, withinMethods inherited from interface org.gvsig.tools.util.GetItem
getMethods inherited from interface org.gvsig.tools.util.IsEmpty
isEmptyMethods inherited from interface org.gvsig.fmap.geom.primitive.OrientablePrimitive
addMoveToVertex, addVertex, addVertex, addVertex, closePrimitive, ensureCapacity, getCoordinateAt, getNumVertices, getVertex, insertVertex, removeVertex, setCoordinateAt, setGeneralPath, setVertexMethods inherited from interface java.awt.Shape
contains, contains, contains, contains, getBounds, intersectsMethods inherited from interface org.gvsig.tools.util.Size
size
-
Method Details
-
setPoints
Sets the two values to define a circumference. -
setPoints
Sets the two values to define a circumference.- Parameters:
center- The center point of the circumference.radious- The radius of the circumference.
-
setPoints
Sets the values to define a circumference from three points.- Parameters:
p1- First pointp2- Second pointp3- Third point
-
getCenter
Point getCenter()Returns the center of the circumference.- Returns:
- The center of the circumference.
-
getRadious
double getRadious()Returns the radius of the circumference- Returns:
- The radius of the circumference
-