math.geom2d.polygon
Class Ring2D

Package class diagram package Ring2D
java.lang.Object
  extended by math.geom2d.curve.AbstractContinuousCurve2D
      extended by math.geom2d.polygon.Polyline2D
          extended by math.geom2d.polygon.LinearRing2D
              extended by 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:

Author:
dlegland
See Also:
Serialized Form

Field Summary
 
Fields inherited from class math.geom2d.polygon.Polyline2D
points
 
Fields inherited from interface math.geom2d.Shape2D
ACCURACY
 
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
 
Methods inherited from class math.geom2d.curve.AbstractContinuousCurve2D
draw, getAsAWTShape, getAsPolyline, wrapCurve
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface math.geom2d.circulinear.CirculinearContinuousCurve2D
clip, getSmoothPieces
 
Methods inherited from interface math.geom2d.circulinear.CirculinearCurve2D
getLength, getLength, getPosition
 
Methods inherited from interface math.geom2d.circulinear.CirculinearShape2D
getBuffer
 
Methods inherited from interface math.geom2d.curve.ContinuousCurve2D
getAsPolyline, getLeftTangent, getRightTangent
 
Methods inherited from interface math.geom2d.curve.Curve2D
draw, getAsAWTShape, getIntersections, getPosition, getSingularPoints, isSingular, project
 
Methods inherited from interface math.geom2d.Shape2D
contains, contains, getBoundingBox, getDistance, getDistance, isBounded, isEmpty
 
Methods inherited from interface math.geom2d.circulinear.CirculinearBoundary2D
clip
 

Constructor Detail

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)

Method Detail

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 © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.