Commit 75a9d65d authored by David Bommes's avatar David Bommes

added property vector access


git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@165 fdac6126-5c0c-442c-9429-916003d36597
parent e43e6d74
......@@ -169,6 +169,12 @@ public: // data access interface
return &data_[0];
}
/// Get reference to property vector (be careful, improper usage, e.g. resizing, may crash OpenMesh!!!)
vector_type& data_vector() {
return data_;
}
/// Access the i'th element. No range check is performed!
reference operator[](int _idx)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment