Memosa-FVM  0.2
AABB::MyTrianglePrimitive Struct Reference
Collaboration diagram for AABB::MyTrianglePrimitive:

Public Types

typedef const MyTriangleId
 
typedef K::Triangle_3 Datum
 

Public Member Functions

 MyTrianglePrimitive ()
 
 MyTrianglePrimitive (MyTriangle *t)
 
 MyTrianglePrimitive (MyTriangleIterator it)
 
const Idid () const
 
Datum datum () const
 
Point reference_point () const
 

Private Attributes

Id m_pt
 

Detailed Description

Definition at line 165 of file AABB.h.

Member Typedef Documentation

typedef K::Triangle_3 AABB::MyTrianglePrimitive::Datum

Definition at line 174 of file AABB.h.

Definition at line 171 of file AABB.h.

Constructor & Destructor Documentation

AABB::MyTrianglePrimitive::MyTrianglePrimitive ( )
inline

Definition at line 178 of file AABB.h.

179  {}
AABB::MyTrianglePrimitive::MyTrianglePrimitive ( MyTriangle t)
inline

Definition at line 181 of file AABB.h.

181  :
182  m_pt(t)
183  {}
AABB::MyTrianglePrimitive::MyTrianglePrimitive ( MyTriangleIterator  it)
inline

Definition at line 187 of file AABB.h.

188  : m_pt(*it)
189  {}

Member Function Documentation

Datum AABB::MyTrianglePrimitive::datum ( ) const
inline

Definition at line 194 of file AABB.h.

References AABB::MyTriangle::getTriangle(), and m_pt.

195  {
196  return m_pt->getTriangle();
197  }
Triangle getTriangle() const
Definition: AABB.h:125
const Id& AABB::MyTrianglePrimitive::id ( ) const
inline

Definition at line 191 of file AABB.h.

References m_pt.

191 { return m_pt; }
Point AABB::MyTrianglePrimitive::reference_point ( ) const
inline

Definition at line 200 of file AABB.h.

References AABB::MyTriangle::getVertex(), and m_pt.

201  { return m_pt->getVertex(0);}
Point getVertex(const int n) const
Definition: AABB.h:113

Member Data Documentation

Id AABB::MyTrianglePrimitive::m_pt
private

Definition at line 204 of file AABB.h.

Referenced by datum(), id(), and reference_point().


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