GetScaling (class MKI_MATRIX) Changed in Version 2024.0

www.CAD6.com

C++ Syntax

double

MKI_MATRIX::GetScaling( void ) const;

 

Calculates the average scaling of the matrix, i.e. the resulting length of a diagonal unit line after applying this matrix.

 

Return Value

Returns the average scaling.

 

 

bool

MKI_MATRIX::GetScaling(

 double& f_rdScaleX,

 double& f_rdScaleY ) const; New in Version 2024.0

 

Calculates the horizontal and vertical scaling of the matrix, i.e. the resulting length of a horizontal and a vertical line after applying this matrix.

 

Return Value

Returns true if the calculation was successful.

 

CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH