M_Rhino_Geometry_Curve_NormalizedLengthParameter - mcneel/rhinocommon-api-docs GitHub Wiki

Curve.NormalizedLengthParameter Method (Double, Double)

Input the parameter of the point on the curve that is a prescribed arc length from the start of the curve. A fractional tolerance of 1e-8 is used in this version of the function.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public bool NormalizedLengthParameter(
	double s,
	out double t
)

VB

Public Function NormalizedLengthParameter ( 
	s As Double,
	<OutAttribute> ByRef t As Double
) As Boolean

Parameters

 

s
Type: System.Double
Normalized arc length parameter. E.g., 0 = start of curve, 1/2 = midpoint of curve, 1 = end of curve.
t
Type: System.Double
Parameter such that the length of the curve from its start to t is arc_length.

Return Value

Type: Boolean
true on success, false on failure.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Curve Class
NormalizedLengthParameter Overload
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️