API Reference > Classes > PRC Mathematical Operators > OdPrcMath3dLinear Class
OdPrcMath3dLinear Class
OdPrcMath3dLinearOdPrcMath3dLinearOdPrcMath3dLinear
Syntax
C++
class OdPrcMath3dLinear : public OdPrcMath3d;

PrcMath3dLinear.h

 

Class stores information about the evaluation of a 3D linear function.

mat 
This is the overview for the mat method overload. 
Sets a new vector of 3 coordinates.
 
Evaluates a specified parameter using the following formula:
output.x = mat[0] [0] * param.x + mat[1] [0] * param.y + mat[2][0] * param.z + vect[0] output.y = mat[0] [1] * param.x + mat[1] [1] * param.y + mat[2][1] * param.z + vect[1] output.z = mat[0] [2] * param.x + mat[1] [2] * param.y + mat[2][2] * param.z + vect[2]
 
vect 
Returns the current vector of 3 coordinates. 
Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.