49class GeomShapeMutableView
53 friend class GeomShapeMng;
54 friend class GeomShape;
58 GeomShapeMutableView()
59 : m_node_ptr(0), m_face_ptr(0), m_center_ptr(0){}
64 : m_node_ptr(node_ptr), m_face_ptr(face_ptr), m_center_ptr(center_ptr){}
70 return m_node_ptr[id];
75 return m_face_ptr[id];
78 inline const Real3 center()
const
93 inline void setCenter(
const Real3& v)
106 inline void _setArray(
Real3* node_ptr,
Real3* face_ptr,
Real3* center_ptr)
108 m_node_ptr = node_ptr;
109 m_face_ptr = face_ptr;
110 m_center_ptr = center_ptr;