Line Class

Basic Structure for storing lines

Constructors

Line( )
Line( Point[] Points )
Line( Points Points )

Public Methods

setSRS( String srsName ) returns void
getSRS( ) returns String
getName( ) returns String
getPoints( ) returns Point[]
addPoint( Point Coordinate ) returns void
Used to append a point to an array of points
toString( String CoordinateSeparator, String TupleSeparator ) returns String
Used to convert a line to a String
toGML( ) returns String
Used to convert a line to GML (xml fragment)
toString( ) returns String
Used to return a Well-known Text (WKT) representation of the line.