CODComponent::GetTransform

Return the transformation matrix for this component

Defined in: OdComponent.cpp

Syntax

CODTransform* CODComponent::GetTransform()

void CODComponent::GetTransform(CODTransform& xForm)

Return Value

One version of this function returns a pointer to the transform. The other is a void function.

Parameters

xForm

Reference to transformation matrix to store the return value.

Comments

The first version of this function returns a pointer directly to the transformation matrix. You should never delete the pointer returned by this function. The second version of this function copies the transformation matrix to an output parameter.