SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
An API for computing the shortest distance between an input point and a geometric resource component. More...
#include <DistanceTo.h>
Public Member Functions | |
virtual std::pair< double, std::array< double, 3 > > | operator() (const smtk::resource::Component::Ptr &, const std::array< double, 3 > &) const =0 |
Additional Inherited Members | |
Static Public Member Functions inherited from smtk::resource::query::DerivedFrom< DistanceTo, smtk::resource::query::Query > | |
static std::size_t | typeIndex () |
Static Public Member Functions inherited from smtk::resource::query::Query | |
static std::size_t | typeIndex () |
Protected Types inherited from smtk::resource::query::DerivedFrom< DistanceTo, smtk::resource::query::Query > | |
typedef smtk::resource::query::Query | Parent |
Static Protected Member Functions inherited from smtk::resource::query::DerivedFrom< DistanceTo, smtk::resource::query::Query > | |
static int | numberOfGenerationsFromType (const std::size_t index) |
Return the number of generations from this instance to the type index of a parent, or return a large negative number if the two types are unrelated. | |
Static Protected Member Functions inherited from smtk::resource::query::Query | |
static int | numberOfGenerationsFromType (const std::size_t index) |
An API for computing the shortest distance between an input point and a geometric resource component.
The location of the point on the component is also returned. This query differs from ClosestPoint in that the returned point does not need to be explicitly contained within the geometric representation.