SplitTwice (class MKI_CUBIC_BEZIER) Changed in Version 2016.0

www.CAD6.com

C++ Syntax

void

MKI_CUBIC_BEZIER::SplitTwice(

 const double f_dT1,

 const double f_dT2,

 MKI_CUBIC_BEZIER& f_rResult1,

 MKI_CUBIC_BEZIER& f_rResult2,

 MKI_CUBIC_BEZIER& f_rResult3 ) const;

 

Splits the cubic Bézier curve at the given relative positions T1 and T2 into three adjacent cubic Bézier curves.

 

Parameters

T1

T2

[double] Relative positions on the Bézier curve where it shall be split, must be between 0.0 and 1.0.

Result1

[MKI_CUBIC_BEZIER&] Buffer to receive the first part of the Bézier curve.

Result2

[MKI_CUBIC_BEZIER&] Buffer to receive the second part of the Bézier curve.

Result3

[MKI_CUBIC_BEZIER&] Buffer to receive the third part of the Bézier curve.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH