Main Page | Class Hierarchy | Alphabetical List | Compound List | Compound Members

# IRdTriangleEdgesStream Struct Reference

Inherits IDispatch.

List of all members.

## Public Member Functions
RtDWORD | GetNumTriangleEdges (void)
HRESULT | SetNumTriangleEdges ([in] RtDWORD dwNumTriangleEdges)
HRESULT | edges ([in] RtDWORD dwIndex,[out, retval] RtDWORD *pVal)
HRESULT | edges ([in] RtDWORD dwIndex,[in] RtDWORD newVal)

## Detailed Description

IRdTriangleEdgesStream stores per triangle edge flags and edge smoothing.

The stream is part of IRdMesh and is stored in Triangle stream group. Stream is identified by STREAMID_TRIANGLES_FACEEDGES id.

## Member Function Documentation

RtDWORD IRdTriangleEdgesStream::GetNumTriangleEdges | ( | void |  | ) |

| Get number of triangles Returns: standard HRESULT processing can be applied to returned value

HRESULT IRdTriangleEdgesStream::SetNumTriangleEdges | ( | [in] RtDWORD | dwNumTriangleEdges | ) |

| Set number of triangles Returns: standard HRESULT processing can be applied to returned value

HRESULT IRdTriangleEdgesStream::edges | ( | [in] RtDWORD | dwIndex,
|  | [out, retval] RtDWORD * | pVal
| ) |

  | Get edge flags of dwIndex-th triangle Parameters:
  dwIndex | Triangle index
  pVal | triangle edge flags
Returns: standard HRESULT processing can be applied to returned value

HRESULT IRdTriangleEdgesStream::edges | ( | [in] RtDWORD | dwIndex,
|  | [in] RtDWORD | newVal
| ) |

  | Set edge flags of dwIndex-th triangle Parameters:
  dwIndex | Triangle index
  newVal | triangle edge flags
Returns: standard HRESULT processing can be applied to returned value