API Reference > OdGe Classes > OdGeScale3d Class
OdGeScale3d Class
OdGeScale3d
Syntax
C++
class OdGeScale3d;

GeScale3d.h

This class represents scaling transformations (scale vectors) in 3D space.

OdGeScale3d may be viewed as an array[3] of doubles. 

Corresponding C++ library: TD_Ge 

 

 
Name 
Description 
 
This is the overview for the OdGeScale3d constructor overload. 
 
Name 
Description 
 
Multplicitive identity scale. 
 
sx 
X scale *factor*. 
 
sy 
Y scale *factor*. 
 
sz 
Z scale *factor*. 
 
Name 
Description 
 
Returns the scale vector corresponding to the lengths of the column vectors of the transformation matrix.
 
 
Returns the transformation matrix equivalent to this scale vector.
 
 
Returns the inverse of this scale vector. 
 
Sets this scale vector to its inverse, and returns a reference to this scale vector. 
 
Returns true if and only if scaleVec is identical to this one, within the specified tolerance.
 
 
Returns true if and only if the scaling matrix corresponding to this scale vector isUniScaledOrtho ().
 
 
Returns true if this scale vector has nonzero coordinates or false if at least one coordinate is zero. 
 
Sets this scale vector to the product (this scale vector) * (rightSide), and returns a reference to this scale vector.
 
 
Sets this scale vector to the product leftSide * (this scale vector), and returns a reference to this scale vector.
 
 
Returns the scale vector corresponding to the lengths of the column vectors of the transformation matrix, and sets the scale factor of the matrix to 1 .
 
 
set 
Sets this scale vector to the specified X and Y factors, and returns a reference to this vectors.
 
 
This is the overview for the setToProduct method overload. 
 
Name 
Description 
 
!= 
Inequality operator for the OdGeScale3d object. Returns true if this scale vector is not equal to the input scale vector.
 
 
* 
This is the overview for the * operator overload. 
 
*= 
This is the overview for the *= operator overload. 
 
[] 
This is the overview for the [] operator overload. 
 
== 
Equality operator for the OdGeScale3d object. Returns true if this scale vector is equal to the input scale vector.
 
 
Returns the equivalent 3D tranformation matrix. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.