CADability dotNET
Some curves especially Arc and EllipseArc have two possibilities to define a parameter of a point outside the curve: either as a parameter less than 0 which means ahead of the startpoint or as a parameter greater than 1 behind the endpoint. This method brings the given parameter into the other system, that means a parameter less than 0 will become greater than 1 and vice versa. Parameters between 0 and 1 will remain unchanged as well as most curves will return false, because the double interpretation isnt meaningfull.

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

Syntax

C#
bool ReinterpretParameter(
	ref double p
)
Visual Basic
Function ReinterpretParameter ( _
	ByRef p As Double _
) As Boolean
Visual C++
bool ReinterpretParameter(
	double% p
)

Parameters

p
Type: System..::..Double%
parameter to change

Return Value

true if possible, false otherwise

See Also