net.surveyos.sourceforge.jtswarped.coordinateGeometry
Interface Vector

All Known Implementing Classes:
BasicVector

public interface Vector

Represents a vector, which is the combination of a direction and a distance.


Method Summary
 com.vividsolutions.jts.geom.LineString getAsLineString(com.vividsolutions.jts.geom.Coordinate argStartPoint)
          Returns this Vector as a LineString.
 double getChangeInX()
          Get the change-in-x component of this Vector.
 ChangeInXAndY getChangeInXAndY()
          Get the change-iny and change-in-X component of this vector.
 double getChangeInY()
          Get the change-in-Y component of this Vector.
 SurveyorsDirection getDirection()
          Returns the direction of this Vector.
 double getDistance()
          Returns the distance or length of this Vector.
 

Method Detail

getChangeInY

double getChangeInY()
Get the change-in-Y component of this Vector.


getChangeInX

double getChangeInX()
Get the change-in-x component of this Vector.


getChangeInXAndY

ChangeInXAndY getChangeInXAndY()
Get the change-iny and change-in-X component of this vector.


getDirection

SurveyorsDirection getDirection()
Returns the direction of this Vector.


getDistance

double getDistance()
Returns the distance or length of this Vector.


getAsLineString

com.vividsolutions.jts.geom.LineString getAsLineString(com.vividsolutions.jts.geom.Coordinate argStartPoint)
Returns this Vector as a LineString. The Coordinate that is the start point of the line must be provided as an argument.