Synopsis

PDX_MSGT gdx_EntityTransform(long option, MDA_PTR gdx_ent_ptr, GDX_MATRIX gdx_matrix)

Purpose

Given a GDX Matrix, Transform the GDX entity.

Description

Transform the entity with the GDX matrix. This will transform all topological or geometric entities. That goes for curves, surfaces, edge curves, edges, loops, faces, shells, and solids. The only exception is parameter space curves. If the curve is being used as parametric space curve on a surface, it will not be translated. Parametric space curves exist within the parameter space of the surface, so they should not be translated by the model space matrix. If an application wishes to translate a parameter space curve, it should make a direct call to gdx_TransformCurve. The function gdx_MatrixCreate can be used to create the input GDX matrix.

Input

option

Options (not used)

gdx_matrix

Transformation matrix

gdx_ent_ptr

Data base pointer to the GDX entity to be transformed

Output

gdx_ent_ptr

Data base pointer to the transformed GDX entity

Return

      GDX_NOERR
      .fi