Public Member Functions | Public Attributes | List of all members
facet Class Reference

Delanauy triangle data structure. Keeps the indexes of the vertices (right hand fashion) and the neighboring facets(triangles). More...

#include <facet.hpp>

Collaboration diagram for facet:
Collaboration graph
[legend]

Public Member Functions

 facet ()
 Defualt constructor. Sets vertices and friends to zero.
 
 facet (const facet &other)
 Copy constructor. More...
 
 facet (const TripleConstRef< int > &vertices_i, const TripleConstRef< int > &neighbors_i)
 Class constructor. More...
 
 ~facet ()
 Class destructor.
 
facetoperator= (const facet &other)
 Copy operator. More...
 

Public Attributes

Triplet< int > vertices
 Indices of vertices.
 
Triplet< int > neighbors
 Indices of neighboring facets.
 

Detailed Description

Delanauy triangle data structure. Keeps the indexes of the vertices (right hand fashion) and the neighboring facets(triangles).

Author
Elad Steinberg

Definition at line 19 of file facet.hpp.

Constructor & Destructor Documentation

◆ facet() [1/2]

facet::facet ( const facet other)

Copy constructor.

Parameters
otherSource from which to copy data

Definition at line 7 of file facet.cpp.

◆ facet() [2/2]

facet::facet ( const TripleConstRef< int > &  vertices_i,
const TripleConstRef< int > &  neighbors_i 
)

Class constructor.

Parameters
vertices_iVertices indices
neighbors_iNeighbor indices

Definition at line 12 of file facet.cpp.

Member Function Documentation

◆ operator=()

facet & facet::operator= ( const facet other)

Copy operator.

Parameters
otherSource to copy from
Returns
Reference to self

Definition at line 17 of file facet.cpp.


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