Synopsis

PDX_MSGT gdx_ModelTransformData(long option, GDX_MATRIX gdx_matrix, int gdx_model)

Purpose

Given a GDX Matrix, Transform All Geometric Entities in the GDX Model

Description

Traverse through GDX model and transform Surfaces, Curves and Vertices with the given transformation matrix. The parameter space curves in GDX edge Curves used by topological entities (Solid, Face) are not transformed, because they are in the UV space of the associated surface. The function gdx_MatrixCreate can be used to create the input GDX matrix.

Input

option

Options (not used)

gdx_matrix

Transformation matrix

gdx_model

GDX model

Output

gdx_model

GDX model with transformed geometric entities

Return

      GDX_NOERR
      .fi