CADability dotNET
Similar to PositionOf(GeoPoint). If the point is not on the curve and there are several solutions then the solution closest to the parameter prefer will be returned.

Namespace: CADability.GeoObject
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
double PositionOf(
	GeoPoint p,
	double prefer
)
Visual Basic
Function PositionOf ( _
	p As GeoPoint, _
	prefer As Double _
) As Double
Visual C++
double PositionOf(
	GeoPoint p, 
	double prefer
)

Parameters

p
Type: CADability..::..GeoPoint
Point, whos position is requested
prefer
Type: System..::..Double
preferable solution close to this value

Return Value

the requested position

See Also