SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
10 #ifndef smtk_model_PointLocatorExtension_h
11 #define smtk_model_PointLocatorExtension_h
39 virtual bool closestPointOn(
41 std::vector<double>& closestPoints,
42 const std::vector<double>& sourcePoints,
43 bool snapToPoint) = 0;
47 virtual bool randomPoint(
50 std::vector<double>& points,
51 std::size_t seed) = 0;
54 bool randomPoint(
const EntityRef& entity, std::size_t nPoints, std::vector<double>& points);
The main namespace for the Simulation Modeling Tool Kit (SMTK).
Definition: doc.h:33
A base class for extensions that provide point-locators for finding nearest points on tessellations o...
Definition: PointLocatorExtension.h:27
#define smtkSharedFromThisMacro(...)
A macro to help with derived classes whose bases enable shared_from_this().
Definition: SharedFromThis.h:250
#define smtkTypeMacro(...)
Add typedefs to a class for identifcation.
Definition: SharedFromThis.h:128
#define smtkSuperclassMacro(...)
Add a typedef to the superclass of this class.
Definition: SharedFromThis.h:147
Allow extension of operator functionality in separate libraries.
Definition: Extension.h:94
A lightweight entityref pointing to a model entity's resource.
Definition: EntityRef.h:112