Normalize (class MKI_VECTOR) Changed in Version 2013.0

www.CAD6.com

C++ Syntax

double

MKI_VECTOR::Normalize( void );

 

Tries to normalize the vector, i.e. set it length to 1.

 

double

MKI_VECTOR::Normalize( double f_dLength );

 

Tries to give the vector the given length.

 

Return Value

Returns the previous length of the vector (or 0.0 if unsuccessful).

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH