Main Page Class List Class Members

# Nv::Blast::EdgeToTriangles Struct Reference

`#include <NvBlastExtAuthoringMeshNoiser.h>`

List of all members.

## Public Member Functions
void | add (int32_t t)
| EdgeToTriangles ()
int32_t | getNot (int32_t id)
void | replace (int32_t from, int32_t to)
## Public Attributes
int32_t | c
int32_t | tr [2]

## Detailed Description

Structure used on tesselation stage. Maps edge to two neighboor triangles

## Constructor & Destructor Documentation

Nv::Blast::EdgeToTriangles::EdgeToTriangles | ( |  | ) | `[inline]`

## Member Function Documentation

void Nv::Blast::EdgeToTriangles::add | ( | int32_t | t | ) | `[inline]`

Add triangle to edge. Should not be called more than twice for one edge!!!!.

int32_t Nv::Blast::EdgeToTriangles::getNot | ( | int32_t | id | ) | `[inline]`

Get triangle which is mapped by this edge and which index is different than provided.

void Nv::Blast::EdgeToTriangles::replace | ( | int32_t | from,
|  | int32_t | to |
| ) |  |  | `[inline]`

Replaces mapping from one triangle to another.

## Member Data Documentation

int32_t Nv::Blast::EdgeToTriangles::c

int32_t Nv::Blast::EdgeToTriangles::tr[2]

The documentation for this struct was generated from the following file:

- sdk/extensions/authoring/source/NvBlastExtAuthoringMeshNoiser.h