Added a couple of methods to enable more efficient adding of batches of vertices.
This commit is contained in:
@@ -203,9 +203,19 @@ public:
|
||||
return vh;
|
||||
}
|
||||
|
||||
inline VertexHandle new_vertex_dirty(const Point& _p)
|
||||
{
|
||||
VertexHandle vh(Kernel::new_vertex_dirty());
|
||||
this->set_point(vh, _p);
|
||||
return vh;
|
||||
}
|
||||
|
||||
inline VertexHandle add_vertex(const Point& _p)
|
||||
{ return new_vertex(_p); }
|
||||
|
||||
inline VertexHandle add_vertex_dirty(const Point& _p)
|
||||
{ return new_vertex_dirty(_p); }
|
||||
|
||||
// --- normal vectors ---
|
||||
|
||||
/** \name Normal vector computation
|
||||
|
||||
Reference in New Issue
Block a user