CurveEvaluator.GetLengthAtParam Method

Parent Object: CurveEvaluator

Description

Calculate the length of the curve as measured between the specified parameter values.

Syntax

CurveEvaluator.GetLengthAtParam( FromParam As Double, ToParam As Double, Length As Double )

Parameters

Name Type Description
FromParam Double Input Double that specifies the parameter value to measure the length from.
ToParam Double Input Double that specifies the parameter value to measure the length to.
Length Double Output Double that returns the distance measured along the curve.

Samples

Name Description
True length of sweep feature This sample demonstrates the calculation of the true length of a sweep feature. If the centroid of the sweep profile does not lie on the sweep path, the true length of the sweep feature is not the same as the sum of lengths of the path entities.

Version

Introduced in version 4