math.geom2d.line
Class Polyline2D

Package class diagram package Polyline2D
java.lang.Object
  extended by math.geom2d.curve.AbstractContinuousCurve2D
      extended by math.geom2d.polygon.Polyline2D
          extended by math.geom2d.line.Polyline2D
All Implemented Interfaces:
Serializable, Cloneable, CirculinearContinuousCurve2D, CirculinearCurve2D, CirculinearShape2D, ContinuousCirculinearCurve2D, ContinuousCurve2D, Curve2D, ContinuousOrientedCurve2D, OrientedCurve2D, Shape2D

Deprecated. use math.geom2d.polygon.Polyline2D instead (0.7.0)

@Deprecated
public class Polyline2D
extends Polyline2D

A polyline is a continuous curve where each piece of the curve is a LineSegment2D.

Author:
dlegland
See Also:
Serialized Form

Field Summary
protected  ArrayList<Point2D> points
          Deprecated.  
 
Fields inherited from interface math.geom2d.Shape2D
ACCURACY
 
Constructor Summary
Polyline2D()
          Deprecated.  
Polyline2D(Collection<? extends Point2D> points)
          Deprecated.  
Polyline2D(double[] xcoords, double[] ycoords)
          Deprecated.  
Polyline2D(Point2D initialPoint)
          Deprecated.  
Polyline2D(Point2D[] points)
          Deprecated.  
 
Method Summary
 Polyline2D getReverseCurve()
          Deprecated. Returns the polyline with same points considered in reverse order.
 
Methods inherited from class math.geom2d.polygon.Polyline2D
addPoint, appendPath, clearPoints, clearVertices, clip, clone, contains, contains, create, create, equals, getBoundingBox, getBuffer, getContinuousCurves, getDistance, getDistance, getEdge, getEdges, getFirstEdge, getFirstPoint, getGeneralPath, getIntersections, getLastEdge, getLastPoint, getLeftTangent, getLength, getLength, getParallel, getPoint, getPointArray, getPointsIterator, getPosition, getPosition, getRightTangent, getSignedDistance, getSignedDistance, getSingularPoints, getSmoothPieces, getSubCurve, getT0, getT1, getVertex, getVertexNumber, getVertices, getWindingAngle, isBounded, isClosed, isEmpty, isInside, isSingular, project, removePoint, transform, transform
 
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.curve.ContinuousCurve2D
getAsPolyline
 
Methods inherited from interface math.geom2d.curve.Curve2D
draw, getAsAWTShape
 

Field Detail

points

protected ArrayList<Point2D> points
Deprecated. 
Constructor Detail

Polyline2D

public Polyline2D()
Deprecated. 

Polyline2D

public Polyline2D(Point2D initialPoint)
Deprecated. 

Polyline2D

public Polyline2D(Point2D[] points)
Deprecated. 

Polyline2D

public Polyline2D(Collection<? extends Point2D> points)
Deprecated. 

Polyline2D

public Polyline2D(double[] xcoords,
                  double[] ycoords)
Deprecated. 
Method Detail

getReverseCurve

public Polyline2D getReverseCurve()
Deprecated. 
Returns the polyline with same points considered in reverse order. Reversed polyline keep same references as original polyline.

Specified by:
getReverseCurve in interface CirculinearContinuousCurve2D
Specified by:
getReverseCurve in interface CirculinearCurve2D
Specified by:
getReverseCurve in interface ContinuousCirculinearCurve2D
Specified by:
getReverseCurve in interface ContinuousCurve2D
Specified by:
getReverseCurve in interface Curve2D
Specified by:
getReverseCurve in interface ContinuousOrientedCurve2D
Specified by:
getReverseCurve in interface OrientedCurve2D
Overrides:
getReverseCurve in class Polyline2D


Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.