#include <Segmentation.h>
Public Member Functions | |
void | AddFacet (const MeshFacet &rclFacet) |
const char * | GetType () const |
void | Initialize (FacetIndex) |
MeshDistancePlanarSegment (const MeshKernel &mesh, unsigned long minFacets, float tol) | |
bool | TestFacet (const MeshFacet &rclFacet) const |
virtual | ~MeshDistancePlanarSegment () |
Public Member Functions inherited from MeshCore::MeshDistanceSurfaceSegment | |
MeshDistanceSurfaceSegment (const MeshKernel &mesh, unsigned long minFacets, float tol) | |
Public Member Functions inherited from MeshCore::MeshSurfaceSegment | |
virtual void | AddFacet (const MeshFacet &rclFacet) |
void | AddSegment (const std::vector< FacetIndex > &) |
MeshSegment | FindSegment (FacetIndex) const |
const std::vector< MeshSegment > & | GetSegments () const |
virtual const char * | GetType () const =0 |
virtual void | Initialize (FacetIndex) |
MeshSurfaceSegment (unsigned long minFacets) | |
virtual bool | TestFacet (const MeshFacet &rclFacet) const =0 |
virtual bool | TestInitialFacet (FacetIndex) const |
virtual | ~MeshSurfaceSegment () |
Protected Attributes | |
Base::Vector3f | basepoint |
PlaneFit * | fitter |
Base::Vector3f | normal |
Protected Attributes inherited from MeshCore::MeshDistanceSurfaceSegment | |
const MeshKernel & | kernel |
float | tolerance |
Protected Attributes inherited from MeshCore::MeshSurfaceSegment | |
unsigned long | minFacets |
std::vector< MeshSegment > | segments |
MeshDistancePlanarSegment::MeshDistancePlanarSegment | ( | const MeshKernel & | mesh, |
unsigned long | minFacets, | ||
float | tol | ||
) |
|
virtual |
References fitter.
|
virtual |
Reimplemented from MeshCore::MeshSurfaceSegment.
References MeshCore::Approximation::AddPoint(), fitter, MeshCore::MeshKernel::GetFacet(), and MeshCore::MeshDistanceSurfaceSegment::kernel.
|
virtual |
Implements MeshCore::MeshSurfaceSegment.
|
virtual |
Reimplemented from MeshCore::MeshSurfaceSegment.
References MeshCore::Approximation::AddPoint(), basepoint, MeshCore::Approximation::Clear(), fitter, MeshCore::MeshKernel::GetFacet(), MeshCore::MeshDistanceSurfaceSegment::kernel, and normal.
|
protected |
|
protected |
Referenced by AddFacet(), Initialize(), TestFacet(), and ~MeshDistancePlanarSegment().
|
protected |