A value between 0..1 indicating the location within the closest line segment

Namespace:  EGIS.ShapeFileLib
Assembly:  EGIS.ShapeFileLib (in EGIS.ShapeFileLib.dll)

Syntax

Visual Basic
Public Property TVal As Double
	Get
	Set
C#
public double TVal { get; set; }
Visual C++
public:
property double TVal {
	double get ();
	void set (double value);
}
JavaScript
function get_tVal();
function set_tVal(value);

Remarks

A TVal of 0 indicates the position on the line segment closest the given point is at the start of the line segment
A TVal of 1 indicates the position on the line segment closest the given point is at the end of the line segment

The TVal property is useful when used with polylines containing measures. For example if Segmentindex is N then the dervied measure at the point on the polyline closest to a given point would be measure[N] + tVal x (measure[N+1] - measure[N])

See Also