Public Member Functions | Private Attributes | List of all members
gte::Polyhedron3< Real > Class Template Reference

#include <GtePolyhedron3.h>

Public Member Functions

Real ComputeSurfaceArea () const
 
Vector3< Real > ComputeVertexAverage () const
 
Real ComputeVolume () const
 
bool CounterClockwise () const
 
std::vector< int > const & GetIndices () const
 
std::set< int > const & GetUniqueIndices () const
 
std::shared_ptr< std::vector< Vector3< Real > > > const & GetVertexPool () const
 
std::vector< Vector3< Real > > const & GetVertices () const
 
 operator bool () const
 
 Polyhedron3 (std::shared_ptr< std::vector< Vector3< Real >>> const &vertexPool, int numIndices, int const *indices, bool counterClockwise)
 

Private Attributes

bool mCounterClockwise
 
std::vector< intmIndices
 
std::set< intmUniqueIndices
 
std::shared_ptr< std::vector< Vector3< Real > > > mVertexPool
 

Detailed Description

template<typename Real>
class gte::Polyhedron3< Real >

Definition at line 40 of file GtePolyhedron3.h.

Constructor & Destructor Documentation

template<typename Real >
gte::Polyhedron3< Real >::Polyhedron3 ( std::shared_ptr< std::vector< Vector3< Real >>> const &  vertexPool,
int  numIndices,
int const *  indices,
bool  counterClockwise 
)

Definition at line 79 of file GtePolyhedron3.h.

Member Function Documentation

template<typename Real >
Real gte::Polyhedron3< Real >::ComputeSurfaceArea ( ) const

Definition at line 156 of file GtePolyhedron3.h.

template<typename Real >
Vector3< Real > gte::Polyhedron3< Real >::ComputeVertexAverage ( ) const

Definition at line 140 of file GtePolyhedron3.h.

template<typename Real >
Real gte::Polyhedron3< Real >::ComputeVolume ( ) const

Definition at line 180 of file GtePolyhedron3.h.

template<typename Real >
bool gte::Polyhedron3< Real >::CounterClockwise ( ) const
inline

Definition at line 134 of file GtePolyhedron3.h.

template<typename Real >
std::vector< int > const & gte::Polyhedron3< Real >::GetIndices ( ) const
inline

Definition at line 128 of file GtePolyhedron3.h.

template<typename Real >
std::set< int > const & gte::Polyhedron3< Real >::GetUniqueIndices ( ) const
inline

Definition at line 122 of file GtePolyhedron3.h.

template<typename Real >
std::shared_ptr< std::vector< Vector3< Real > > > const & gte::Polyhedron3< Real >::GetVertexPool ( ) const
inline

Definition at line 110 of file GtePolyhedron3.h.

template<typename Real >
std::vector< Vector3< Real > > const & gte::Polyhedron3< Real >::GetVertices ( ) const
inline

Definition at line 116 of file GtePolyhedron3.h.

template<typename Real >
gte::Polyhedron3< Real >::operator bool ( ) const
inline

Definition at line 104 of file GtePolyhedron3.h.

Member Data Documentation

template<typename Real>
bool gte::Polyhedron3< Real >::mCounterClockwise
private

Definition at line 74 of file GtePolyhedron3.h.

template<typename Real>
std::vector<int> gte::Polyhedron3< Real >::mIndices
private

Definition at line 73 of file GtePolyhedron3.h.

template<typename Real>
std::set<int> gte::Polyhedron3< Real >::mUniqueIndices
private

Definition at line 72 of file GtePolyhedron3.h.

template<typename Real>
std::shared_ptr<std::vector<Vector3<Real> > > gte::Polyhedron3< Real >::mVertexPool
private

Definition at line 71 of file GtePolyhedron3.h.


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


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:06