API Reference > Classes > PRC Mathematical Operators > OdPrcMath3dLinear Class > OdPrcMath3dLinear Methods > OdPrcMath3dLinear::transformPoint Method
OdPrcMath3dLinear::transformPoint Method
Syntax
C++
virtual OdGePoint3d transformPoint(const OdGePoint3d& ptBase) const;
Parameters 
Description 
const OdGePoint3d& ptBase 
[in] A parameter to be evaluated. 

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] 

 

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.