20#include "Topology/PointSet.h"
26 template<
typename TDataType>
32 typedef typename TDataType::Real
Real;
33 typedef typename TDataType::Coord
Coord;
#define IMPLEMENT_TCLASS(name, T1)
DEF_VAR(Real, SamplingDistance, 0.015, "Sampling distance")
std::vector< int > m_grid
std::vector< Vec2f > getPoints()
bool collisionJudge(Vec2f point)
Vec2u searchGrid(Vec2f point)
DEF_VAR(Vec2f, Lower, Vec2f(0.1f, 0.1f), "")
int pointNumberRecommend()
DEF_VAR(Vec2f, Upper, Vec2f(0.2f, 0.2f), "")
int indexTransform(uint i, uint j)
unsigned int desired_points
DECLARE_TCLASS(PoissonPlane, TDataType)
std::vector< Vec2f > points
This is an implementation of AdditiveCCD based on peridyno.
Vector< uint32_t, 2 > Vec2u