Rasterfarm-SDK
Loading...
Searching...
No Matches
Mesh::HalfEdge Class Reference

#include <halfedge.h>

Public Member Functions

 HalfEdge (const VertexIndex vertexIndexA=INVALID_HANDLE, const VertexIndex vertexIndexB=INVALID_HANDLE, const TriangleIndex triangleIndex=INVALID_HANDLE)
 
void operator= (const HalfEdge &other)
 
bool operator== (const HalfEdge &other)
 
VertexIndexoperator[] (uint index)
 
const VertexIndexoperator[] (uint index) const
 

Public Attributes

TriangleIndex triangleIndex
 
VertexIndex vertexIndex [2]
 

Friends

class TriangleMesh
 

Detailed Description

Holds the Half-Edges

Constructor & Destructor Documentation

◆ HalfEdge()

Mesh::HalfEdge::HalfEdge ( const VertexIndex vertexIndexA = INVALID_HANDLE,
const VertexIndex vertexIndexB = INVALID_HANDLE,
const TriangleIndex triangleIndex = INVALID_HANDLE )

Holds index data in TriangleMesh::vertex

Parameters
Array-indexof 1st vertex object.
Array-indexof 2nd vertex object.

Member Function Documentation

◆ operator=()

void Mesh::HalfEdge::operator= ( const HalfEdge & other)
inline

◆ operator==()

bool Mesh::HalfEdge::operator== ( const HalfEdge & other)
inline

◆ operator[]() [1/2]

VertexIndex & Mesh::HalfEdge::operator[] ( uint index)
inline

◆ operator[]() [2/2]

const VertexIndex & Mesh::HalfEdge::operator[] ( uint index) const
inline

Friends And Related Symbol Documentation

◆ TriangleMesh

friend class TriangleMesh
friend

Member Data Documentation

◆ triangleIndex

TriangleIndex Mesh::HalfEdge::triangleIndex

The triangle this belongs to, can only be one in a manifold-mesh.

◆ vertexIndex

VertexIndex Mesh::HalfEdge::vertexIndex[2]

Holds index data in TriangleMesh::vertex.


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