Points Class

Used to manage an array of points (Point)

Constructors

Points( Point[] points )
Points( )

Public Methods

getArray( ) returns Point[]
getPoints( ) returns Point[]
getFirstPoint( ) returns Point
Returns the first point in the point array
getLastPoint( ) returns Point
Returns the last point in the point array
getLength( ) returns int
Returns the length of the point array
addPoint( Point point ) returns Point[]
Used to append a point to an array of points
addPoint( double x, double y ) returns Point[]
Used to append a point to an array of points
addPoints( Points points ) returns Point[]
Used to append a point or multiple points to an array of points.
addPoints( Point[] arr ) returns Point[]
Used to append a point or multiple points to an array of points.
toString( ) returns String
Used to convert a line to a String
toString( String CoordinateSeparator, String TupleSeparator ) returns String
Used to convert a line to a String