Length (class MKI_CUBIC_BEZIER) New in Version 2013.0

www.CAD6.com

C++ Syntax

double

MKI_CUBIC_BEZIER::Length(

 const size_t f_unLineNum ) const;

 

Calculates the length of the cubic Bézier curve by converting it into a polyline with a given number of line segments.

 

Parameters

LineNum

[const size_t] Number of lines to split the Bézier curve into for length calculation. Useful range: 1 <= LineNum <= 100.

 

Return Value

Returns the approximated length of the Bézier curve.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH