3Depict
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | List of all members
TriangleWithVertexNorm Class Reference

#include <isoSurface.h>

Collaboration diagram for TriangleWithVertexNorm:
Collaboration graph
[legend]

Public Member Functions

void getCentroid (Point3D &p) const
 
void computeACWNormal (Point3D &p) const
 
void safeComputeACWNormal (Point3D &p) const
 
float computeArea () const
 
bool isDegenerate () const
 

Public Attributes

Point3D p [3]
 
Point3D normal [3]
 

Member Function Documentation

◆ computeACWNormal()

void TriangleWithVertexNorm::computeACWNormal ( Point3D p) const

◆ computeArea()

float TriangleWithVertexNorm::computeArea ( ) const

◆ getCentroid()

void TriangleWithVertexNorm::getCentroid ( Point3D p) const

References p.

◆ isDegenerate()

bool TriangleWithVertexNorm::isDegenerate ( ) const

References p.

Referenced by marchingCubes().

Here is the caller graph for this function:

◆ safeComputeACWNormal()

void TriangleWithVertexNorm::safeComputeACWNormal ( Point3D p) const

References Point3D::crossProd(), Point3D::normalise(), p, and Point3D::sqrMag().

Referenced by marchingCubes().

Here is the caller graph for this function:

Member Data Documentation

◆ normal

Point3D TriangleWithVertexNorm::normal[3]

Referenced by marchingCubes().

◆ p

Point3D TriangleWithVertexNorm::p[3]

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