Click or drag to resize

PolylineSegmentGetParameterOf Method

Returns the parameter at point value.

Namespace:  Gile.AutoCAD.R20.Geometry
Assembly:  GeometryExtensionsR20 (in GeometryExtensionsR20.dll) Version: 2.2.0.0 (2.2.0.0)
Syntax
public double GetParameterOf(
	Point2d pt
)

Parameters

pt
Type: Point2d
The Point2d on the segment where we want to know the parameter.

Return Value

Type: Double
A real number beween 0.0 and 1.0, or -1.0 if the point is not on the segment.
See Also