math.geom2d.polygon
Class Ring2D
java.lang.Object
math.geom2d.curve.AbstractContinuousCurve2D
math.geom2d.polygon.Polyline2D
math.geom2d.polygon.LinearRing2D
math.geom2d.polygon.Ring2D
- All Implemented Interfaces:
- Serializable, Cloneable, CirculinearBoundary2D, CirculinearContinuousCurve2D, CirculinearContour2D, CirculinearCurve2D, CirculinearShape2D, ContinuousCirculinearCurve2D, ContinuousCurve2D, Curve2D, Boundary2D, ContinuousBoundary2D, ContinuousOrientedCurve2D, OrientedCurve2D, Shape2D
- Direct Known Subclasses:
- ClosedPolyline2D
Deprecated. replaced by LinearRing2D (0.8.0)
@Deprecated
public class Ring2D
- extends LinearRing2D
A Ring2D is a Polyline2D whose last point is connected to the first one.
This is typically the boundary of a SimplePolygon2D.
The name 'Ring2D' was used for 2 reasons:
- it is short
- it is consistent with the JTS name
- Author:
- dlegland
- See Also:
- Serialized Form
Constructor Summary |
Ring2D()
Deprecated. Use LinearRing2D instead (0.8.0) |
Ring2D(Collection<? extends Point2D> points)
Deprecated. Ring2D will be changed to an interface in a future release.
Use LinearRing2D instead (0.8.0) |
Ring2D(double[] xcoords,
double[] ycoords)
Deprecated. Ring2D will be changed to an interface in a future release.
Use LinearRing2D instead (0.8.0) |
Ring2D(Point2D initialPoint)
Deprecated. Ring2D will be changed to an interface in a future release.
Use LinearRing2D instead (0.8.0) |
Ring2D(Point2D[] points)
Deprecated. Ring2D will be changed to an interface in a future release.
Use LinearRing2D instead (0.8.0) |
Method Summary |
Ring2D |
clone()
Deprecated. Overrides Object declaration to ensure Curve2D implementation are
cloned as Curve2D. |
Methods inherited from class math.geom2d.polygon.LinearRing2D |
appendPath, create, create, equals, fill, getArea, getBoundaryCurves, getContinuousCurves, getDomain, getEdges, getFirstPoint, getGeneralPath, getLastEdge, getLastPoint, getParallel, getPoint, getReverseCurve, getSignedArea, getSignedDistance, getSignedDistance, getSubCurve, getT0, getT1, getWindingAngle, isClosed, isInside, isInside, transform, transform |
Methods inherited from class math.geom2d.polygon.Polyline2D |
addPoint, clearPoints, clearVertices, clip, contains, contains, getBoundingBox, getBuffer, getDistance, getDistance, getEdge, getFirstEdge, getIntersections, getLeftTangent, getLength, getLength, getPointArray, getPointsIterator, getPosition, getPosition, getRightTangent, getSingularPoints, getSmoothPieces, getVertex, getVertexNumber, getVertices, isBounded, isEmpty, isSingular, project, removePoint |
Ring2D
@Deprecated
public Ring2D()
- Deprecated. Use LinearRing2D instead (0.8.0)
Ring2D
@Deprecated
public Ring2D(Point2D initialPoint)
- Deprecated. Ring2D will be changed to an interface in a future release.
Use LinearRing2D instead (0.8.0)
Ring2D
@Deprecated
public Ring2D(Point2D[] points)
- Deprecated. Ring2D will be changed to an interface in a future release.
Use LinearRing2D instead (0.8.0)
Ring2D
@Deprecated
public Ring2D(double[] xcoords,
double[] ycoords)
- Deprecated. Ring2D will be changed to an interface in a future release.
Use LinearRing2D instead (0.8.0)
Ring2D
@Deprecated
public Ring2D(Collection<? extends Point2D> points)
- Deprecated. Ring2D will be changed to an interface in a future release.
Use LinearRing2D instead (0.8.0)
clone
public Ring2D clone()
- Deprecated.
- Description copied from interface:
Curve2D
- Overrides Object declaration to ensure Curve2D implementation are
cloned as Curve2D.
- Specified by:
clone
in interface Curve2D
- Overrides:
clone
in class LinearRing2D
- Returns:
- the cloned curve
Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.