28 template<
typename TDataType>
33 typedef typename TDataType::Real
Real;
34 typedef typename TDataType::Coord
Coord;
#define DECLARE_TCLASS(name, T1)
A PointSet stores the coordinates for a set of independent points.
virtual void rotate(const Quat< Real > q)
void requestBoundingBox(Coord &lo, Coord &hi)
Return the lower and upper bounds for all points.
DArray< Coord > & getPoints()
Return the array of points.
void scale(const Coord s)
void loadObjFile(std::string filename)
void setPoints(const std::vector< Coord > &pos)
virtual void rotate(const Coord angle)
void translate(const Coord t)
void setPoints(const DArray< Coord > &pos)
void copyFrom(PointSet< TDataType > &pointSet)
This is an implementation of AdditiveCCD based on peridyno.
Array< T, DeviceType::GPU > DArray