GeoAPI 2.0
Build 2005-06-08

org.opengis.spatialschema.geometry.geometry
Interface ParamForPoint


public interface ParamForPoint

The curve parameter for a point. This is the result of call to GenericCurve.getParamForPoint(org.opengis.spatialschema.geometry.DirectPosition).

Since:
GeoAPI 1.0
Version:
Abstract specification 5

Method Summary
 double getDistance()
          Returns the parameter distance computed by getParamForPoint(p).
 DirectPosition getPosition()
          Returns the actual value for the direct position used by getParamForPoint(p).
 

Method Detail

getDistance

double getDistance()
Returns the parameter distance computed by getParamForPoint(p). The output will contain only one distance, unless the curve is not simple. If there is more than one direct position on the generic curve at the same minimal distance from the passed "p", the return value may be an arbitrary choice of one of the possible answers.

Returns:
The parameter distance.

getPosition

DirectPosition getPosition()
Returns the actual value for the direct position used by getParamForPoint(p). That is, it shall be the point on the generic curve closest to the coordinate passed in as the "p" argument.

Returns:
The actual position used.

GeoAPI 2.0
Build 2005-06-08

Symbols, terms and definitions
Copyright OpenGIS® Consortium