19#include "Topology/TriangleSet.h" 
   27    template<
typename TDataType>
 
   32        typedef typename TDataType::Real 
Real;
 
   33        typedef typename TDataType::Coord 
Coord;
 
   35        typedef typename ::dyno::TAlignedBox3D<Real> 
AABB;
 
   56        DEF_ARRAY_IN(
Coord, Position, DeviceType::GPU, 
"A set of points whose neighbors will be required for");
 
 
#define DECLARE_TCLASS(name, T1)
 
DArray< AABB > mQueryAABB
 
DEF_VAR_IN(Real, Radius, "Search radius")
Search radius A positive value representing the radius of neighborhood for each point.
 
TopologyModule::Triangle Triangle
 
DArray< AABB > mQueriedAABB
 
DEF_ENUM(Spatial, Spatial, Spatial::BVH, "")
 
DEF_ARRAY_IN(Coord, Position, DeviceType::GPU, "A set of points whose neighbors will be required for")
A set of points to be required from.
 
~NeighborTriangleQuery() override
 
::dyno::TAlignedBox3D< Real > AABB
 
DEF_ARRAYLIST_OUT(int, NeighborIds, DeviceType::GPU, "Return neighbor ids")
Ids of neighboring particles.
 
DECLARE_ENUM(Spatial, BVH=0, OCTREE=1)
 
std::shared_ptr< CollisionDetectionBroadPhase< TDataType > > mBroadPhaseCD
 
Reduction< uint > mReduce
 
DEF_INSTANCE_IN(TriangleSet< TDataType >, TriangleSet, "A set of triangles to be required from")
A set of points to be required from.
 
Vector< PointType, 3 > Triangle
 
This is an implementation of AdditiveCCD based on peridyno.
 
Array< T, DeviceType::GPU > DArray