Mesh: change MeshSegmentAlgorithm::FindSegments to accept shared instead of raw pointers
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
#endif
|
||||
|
||||
#include "Approximation.h"
|
||||
#include "Elements.h"
|
||||
#include "Utilities.h"
|
||||
|
||||
#include <Base/BoundBox.h>
|
||||
@@ -97,6 +98,12 @@ void Approximation::AddPoints(const std::list<Base::Vector3f> &points)
|
||||
_bIsFitted = false;
|
||||
}
|
||||
|
||||
void Approximation::AddPoints(const MeshPointArray &points)
|
||||
{
|
||||
std::copy(points.begin(), points.end(), std::back_inserter(_vPoints));
|
||||
_bIsFitted = false;
|
||||
}
|
||||
|
||||
Base::Vector3f Approximation::GetGravity() const
|
||||
{
|
||||
Base::Vector3f clGravity;
|
||||
|
||||
Reference in New Issue
Block a user