43 #ifndef BASEENTITIES_HH_ 44 #define BASEENTITIES_HH_ 48 #include "OpenVolumeMesh/Config/Export.hh" 49 #include "OpenVolumeMeshHandle.hh" 58 fromVertex_(_fromVertex),
59 toVertex_(_toVertex) {
72 fromVertex_ = _vertex;
92 halfedges_(_halfedges) {
95 const std::vector<HalfEdgeHandle>& halfedges()
const & {
99 const std::vector<HalfEdgeHandle>& halfedges()
const && =
delete;
100 std::vector<HalfEdgeHandle> halfedges() && {
101 return std::move(halfedges_);
106 void set_halfedges(
const std::vector<HalfEdgeHandle>& _halfedges) {
107 halfedges_ = _halfedges;
111 std::vector<HalfEdgeHandle> halfedges_;
123 halffaces_(_halffaces) {
126 const std::vector<HalfFaceHandle>& halffaces()
const & {
130 const std::vector<HalfFaceHandle>& halffaces()
const && =
delete;
131 std::vector<HalfFaceHandle> halffaces() && {
132 return std::move(halffaces_);
137 void set_halffaces(
const std::vector<HalfFaceHandle>& _halffaces) {
138 halffaces_ = _halffaces;
142 std::vector<HalfFaceHandle> halffaces_;