#include <InspectionFeature.h>
Public Member Functions | |
virtual float | getDistance (const Base::Vector3f &) |
This algorithm is not that exact as that from InspectNominalMesh but is by factors faster and sufficient for many cases. | |
InspectNominalFastMesh (const Mesh::MeshObject &rMesh, float offset) | |
~InspectNominalFastMesh () | |
Protected Attributes | |
Base::BoundBox3f | _box |
MeshCore::MeshFacetIterator | _iter |
MeshCore::MeshGrid * | _pGrid |
unsigned long | max_level |
Definition at line 118 of file InspectionFeature.h.
InspectNominalFastMesh::InspectNominalFastMesh | ( | const Mesh::MeshObject & | rMesh, | |
float | offset | |||
) |
Definition at line 314 of file InspectionFeature.cpp.
References _box, _iter, _pGrid, SketcherExample::f, MeshCore::MeshKernel::GetBoundBox(), Mesh::MeshObject::getKernel(), Mesh::MeshObject::getTransform(), Base::BoundBox3< _Precision >::LengthX(), Base::BoundBox3< _Precision >::LengthY(), Base::BoundBox3< _Precision >::LengthZ(), Py::long, max_level, KDL::pow(), MeshCore::MeshFacetIterator::Transform(), and Base::BoundBox3< _Precision >::Transformed().
InspectNominalFastMesh::~InspectNominalFastMesh | ( | ) |
Definition at line 340 of file InspectionFeature.cpp.
References _pGrid.
float InspectNominalFastMesh::getDistance | ( | const Base::Vector3f & | point | ) | [virtual] |
This algorithm is not that exact as that from InspectNominalMesh but is by factors faster and sufficient for many cases.
Implements Inspection::InspectNominalGeometry.
Definition at line 349 of file InspectionFeature.cpp.
References _box, _iter, _pGrid, Base::Vector3< _Precision >::DistanceToPlane(), MeshCore::MeshGrid::GetElements(), MeshCore::MeshGrid::GetHull(), Base::BoundBox3< _Precision >::IsInBox(), max_level, MeshCore::MeshGrid::Position(), and MeshCore::MeshFacetIterator::Set().
Definition at line 128 of file InspectionFeature.h.
Referenced by getDistance(), and InspectNominalFastMesh().
Definition at line 126 of file InspectionFeature.h.
Referenced by getDistance(), and InspectNominalFastMesh().
Definition at line 127 of file InspectionFeature.h.
Referenced by getDistance(), InspectNominalFastMesh(), and ~InspectNominalFastMesh().
unsigned long Inspection::InspectNominalFastMesh::max_level [protected] |
Definition at line 129 of file InspectionFeature.h.
Referenced by getDistance(), and InspectNominalFastMesh().