Simulation Modeling Tool Kit
Public Member Functions | Friends | List of all members
smtk::mesh::PointSet Class Reference

Public Member Functions

 PointSet (const smtk::mesh::ResourcePtr &parent, const smtk::mesh::HandleRange &points)
 PointSet (const smtk::mesh::ConstResourcePtr &parent, const smtk::mesh::HandleRange &points)
 PointSet (const smtk::mesh::ResourcePtr &parent, const std::vector< smtk::mesh::Handle > &points)
 PointSet (const smtk::mesh::ResourcePtr &parent, const std::set< smtk::mesh::Handle > &points)
 PointSet (const PointSet &other)
PointSetoperator= (const PointSet &other)
bool operator== (const PointSet &other) const
bool operator!= (const PointSet &other) const
bool is_empty () const
std::size_t size () const
std::size_t numberOfPoints () const
bool contains (const smtk::mesh::Handle &pointId) const
std::size_t find (const smtk::mesh::Handle &pointId) const
bool get (std::vector< double > &xyz) const
bool set (const std::vector< double > &xyz) const
bool get (double *xyz) const
bool get (float *xyz) const
bool get (std::vector< float > &xyz) const
bool set (const double *xyz) const
bool set (const float *xyz)
bool set (const std::vector< float > &xyz)
const smtk::mesh::HandleRange & range () const
const smtk::mesh::ResourcePtrresource () const
 Get the parent resource that this meshset belongs to.


SMTKCORE_EXPORT PointSet set_intersect (const PointSet &a, const PointSet &b)
SMTKCORE_EXPORT PointSet set_difference (const PointSet &a, const PointSet &b)
SMTKCORE_EXPORT PointSet set_union (const PointSet &a, const PointSet &b)
SMTKCORE_EXPORT void for_each (const PointSet &a, PointForEach &filter)

The documentation for this class was generated from the following files: