GetX, GetY, GetZ
Return the X, Y, and Z coordinates of the element centroid with respect to the absolute coordinate system.
Calling convention:
bool GetX(double* val)
bool GetY(double* val)
bool GetZ(double* val)
Argument | Data type | Description |
---|---|---|
val | double* | The X, Y and Z element coordinates. |
You can find a definition of this function in the CaeUtils_Exp_IContext.hxx header file.
Example:
double val = 0.0;
boolResult = pContext->GetX(&val);
boolResult = pContext->GetY(&val);
boolResult = pContext->GetZ(&val);