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.

 
Name 
Description 
 
Destroys the mathematical evaluation object. 
OdPrcMath3d Class
 
Name 
Description 
 
read 
Reads a mathematical evaluation from a specified filer stream.
 
 
The base evaluation method which returns the evaluated parameter as a reference to an OdGePoint3d object.
 
OdPrcMath3dLinear Class
 
Name 
Description 
 
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-2020. Open Design Alliance. All rights reserved.