11 #ifndef smtk_mesh_core_PointSet_h
12 #define smtk_mesh_core_PointSet_h
14 #include "smtk/CoreExports.h"
17 #include "smtk/mesh/core/Handle.h"
18 #include "smtk/mesh/core/QueryTypes.h"
58 bool operator==(
const PointSet& other)
const;
59 bool operator!=(
const PointSet& other)
const;
61 bool is_empty()
const;
62 std::size_t size()
const;
65 std::size_t numberOfPoints()
const;
68 bool contains(
const smtk::mesh::Handle& pointId)
const;
71 std::size_t find(
const smtk::mesh::Handle& pointId)
const;
74 bool get(std::vector<double>& xyz)
const;
77 bool set(
const std::vector<double>& xyz)
const;
84 bool get(
double* xyz)
const;
90 bool get(
float* xyz)
const;
96 bool get(std::vector<float>& xyz)
const;
100 bool set(
const double* xyz)
const;
104 bool set(
const float* xyz);
108 bool set(
const std::vector<float>& xyz);
111 const smtk::mesh::HandleRange& range()
const {
return m_points; }
118 smtk::mesh::HandleRange m_points;