added property vector access
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@165 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -169,6 +169,12 @@ public: // data access interface
|
|||||||
return &data_[0];
|
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!
|
/// Access the i'th element. No range check is performed!
|
||||||
reference operator[](int _idx)
|
reference operator[](int _idx)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user