MeshCore::MeshRefNormalToPoints Class Reference

The MeshRefNormalToPoints builds up a structure to have access to the normal of a vertex. More...

#include <Algorithm.h>

List of all members.

Public Member Functions

 MeshRefNormalToPoints (const MeshKernel &rclM)
 Construction.
const Base::Vector3foperator[] (unsigned long) const
void Rebuild (void)
 Rebuilds up data structure.
 ~MeshRefNormalToPoints (void)
 Destruction.

Protected Attributes

std::vector< Base::Vector3f_norm
const MeshKernel_rclMesh
 The mesh kernel.

Detailed Description

The MeshRefNormalToPoints builds up a structure to have access to the normal of a vertex.

Note:
If the underlying mesh kernel gets changed this structure becomes invalid and must be rebuilt.

Definition at line 445 of file Algorithm.h.


Constructor & Destructor Documentation

MeshCore::MeshRefNormalToPoints::MeshRefNormalToPoints ( const MeshKernel rclM  )  [inline]

Construction.

Definition at line 449 of file Algorithm.h.

MeshCore::MeshRefNormalToPoints::~MeshRefNormalToPoints ( void   )  [inline]

Destruction.

Definition at line 452 of file Algorithm.h.


Member Function Documentation

const Base::Vector3f & MeshRefNormalToPoints::operator[] ( unsigned long  pos  )  const

Definition at line 1937 of file Algorithm.cpp.

References _norm.

void MeshRefNormalToPoints::Rebuild ( void   ) 

Member Data Documentation

Definition at line 461 of file Algorithm.h.

Referenced by operator[](), and Rebuild().

The mesh kernel.

Definition at line 460 of file Algorithm.h.

Referenced by Rebuild().


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

Generated on Wed Nov 23 19:02:25 2011 for FreeCAD by  doxygen 1.6.1