Synopsis

PDX_MSGT gdx_ValidateTessellatedShape(long option, MDA_PTR gdxTessellatedShapePtr, double tolerance)

Purpose

Validate GDX tessellated shape

Description

The specified GDX tessellated shape will be validated as follows:

- check segment vectors for degeneracy - check normal vectors for degeneracy - check cross between normal and segment vectors for degeneracy - check cross between segment vectors for degeneracy

If a degeneracy is detected a message will be printed to stdout with detailed information.

Input

option

Options (not used)

gdxTessellatedShapePtr

GDX tessellated shape entity

tolerance

Tolerance to use for degeneracy check

Return

GDX_NOERR or error