PeriDyno 1.0.0
Loading...
Searching...
No Matches
ContactsToPointSet.h
Go to the documentation of this file.
1#pragma once
3
5#include "Topology/PointSet.h"
6
7namespace dyno
8{
9 template<typename TDataType>
11 {
13 public:
14 typedef typename TDataType::Real Real;
15 typedef typename TDataType::Coord Coord;
16
18
19 protected:
20 bool apply() override;
21
22 public:
23 DEF_ARRAY_IN(TContactPair<Real>, Contacts, DeviceType::GPU, "");
24
26
27 protected:
28 bool validateInputs() override;
29 };
30}
DEF_ARRAY_IN(TContactPair< Real >, Contacts, DeviceType::GPU, "")
bool validateInputs() override
DEF_INSTANCE_OUT(PointSet< TDataType >, PointSet, "")
DECLARE_TCLASS(ContactsToPointSet, TDataType)
bool apply() override
A PointSet stores the coordinates for a set of independent points.
Definition PointSet.h:8
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:25