QUAOAR STUDIO // Mobius API
31 #ifndef poly_Tessellator_HeaderFile
32 #define poly_Tessellator_HeaderFile
35 #include <mobius/poly_Mesh.h>
38 #include <mobius/core_OPERATOR.h>
39 #include <mobius/core_Precision.h>
61 mobiusPoly_EXPORT
virtual
69 mobiusPoly_EXPORT
bool
85 virtual bool perform(
const double isoValue) = 0;
92 bool operator()(
const t_xyz& point1,
93 const t_xyz& point2)
const
95 if ( point1.
X() < point2.
X() - core_Precision::Resolution3D() )
99 if ( point1.
X() > point2.
X() + core_Precision::Resolution3D() )
103 if ( point1.
Y() < point2.
Y() - core_Precision::Resolution3D() )
107 if ( point1.
Y() > point2.
Y() + core_Precision::Resolution3D() )
111 if ( point1.
Z() < point2.
Z() - core_Precision::Resolution3D() )
Defines an exception class C1 that inherits an exception class C2.
Definition: bspl_Decompose.h:41
Definition: core_XYZ.h:45
Definition: poly_Tessellator.h:49
Definition: core_OPERATOR.h:92
Definition: core_IPlotter.h:252
Compare functor for coordinate tuples.
Definition: poly_Tessellator.h:90
double Y() const
Definition: core_XYZ.h:129
Definition: core_IProgressNotifier.h:193
double Z() const
Definition: core_XYZ.h:143
std::map< t_xyz, int, t_vertexComparator > t_vertexMap
Map to store the set of indices for 3D mesh point.
Definition: poly_Tessellator.h:121
mobiusPoly_EXPORT bool Perform(const double isoValue)
t_ptr< t_mesh > m_result
Reconstructed mesh.
Definition: poly_Tessellator.h:125
virtual mobiusPoly_EXPORT ~poly_Tessellator()
Dtor.
const t_ptr< t_mesh > & GetResult() const
Definition: poly_Tessellator.h:75
mobiusPoly_EXPORT poly_Tessellator(core_ProgressEntry progress=nullptr, core_PlotterEntry plotter=nullptr)
double X() const
Definition: core_XYZ.h:115