50class GeomShapeMutableView
54 friend class GeomShapeMng;
55 friend class GeomShape;
59 GeomShapeMutableView()
60 : m_node_ptr(0), m_face_ptr(0), m_center_ptr(0){}
65 : m_node_ptr(node_ptr), m_face_ptr(face_ptr), m_center_ptr(center_ptr){}
71 return m_node_ptr[id];
76 return m_face_ptr[id];
79 inline const Real3 center()
const
94 inline void setCenter(
const Real3& v)
107 inline void _setArray(
Real3* node_ptr,
Real3* face_ptr,
Real3* center_ptr)
109 m_node_ptr = node_ptr;
110 m_face_ptr = face_ptr;
111 m_center_ptr = center_ptr;