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

Public Types

typedef const MyTriangleId
 
typedef K::Segment_3 Datum
 

Public Member Functions

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

Private Attributes

Id m_pt
 

Detailed Description

Definition at line 210 of file AABB.h.

Member Typedef Documentation

typedef K::Segment_3 AABB::MySegmentPrimitive::Datum

Definition at line 219 of file AABB.h.

Definition at line 216 of file AABB.h.

Constructor & Destructor Documentation

AABB::MySegmentPrimitive::MySegmentPrimitive ( )
inline

Definition at line 223 of file AABB.h.

224  {}
AABB::MySegmentPrimitive::MySegmentPrimitive ( MyTriangle t)
inline

Definition at line 226 of file AABB.h.

226  :
227  m_pt(t)
228  {}
AABB::MySegmentPrimitive::MySegmentPrimitive ( MyTriangleIterator  it)
inline

Definition at line 232 of file AABB.h.

233  : m_pt(*it)
234  {}

Member Function Documentation

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

Definition at line 239 of file AABB.h.

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

240  {
241  return m_pt->getSegment();
242  }
K::Segment_3 getSegment() const
Definition: AABB.h:138
const Id& AABB::MySegmentPrimitive::id ( ) const
inline

Definition at line 236 of file AABB.h.

References m_pt.

236 { return m_pt; }
Point AABB::MySegmentPrimitive::reference_point ( ) const
inline

Definition at line 245 of file AABB.h.

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

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

Member Data Documentation

Id AABB::MySegmentPrimitive::m_pt
private

Definition at line 249 of file AABB.h.

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


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