PeriDyno 1.0.0
Loading...
Searching...
No Matches
PointSet.cpp
Go to the documentation of this file.
1#include "PointSet.h"
2
3namespace dyno
4{
9
13
14 void PointSet::setPoints(std::vector<Vec3f>& points)
15 {
16 mPoints.assign(points);
17 }
18
20 {
21 mPoints.assign(points);
22 }
23
25 {
26 mPoints.clear();
27 }
28
29}
virtual void clear()
Definition PointSet.cpp:24
~PointSet() override
Definition PointSet.cpp:10
void setPoints(const std::vector< Coord > &pos)
DArray< Vec3f > mPoints
Definition PointSet.h:21
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:25
Array< T, DeviceType::GPU > DArray
Definition Array.inl:89