PeriDyno 1.0.0
Loading...
Searching...
No Matches
Distance3D.h File Reference
#include "Vector.h"
#include "Matrix.h"
#include "Quat.h"
#include "Primitive/Primitive3D.h"
#include "Module/TopologyModule.h"
#include "Topology/EdgeSet.h"
#include "Distance3D.inl"
Include dependency graph for Distance3D.h:

Go to the source code of this file.

Classes

struct  dyno::ProjectedPoint3D< Real >
 

Namespaces

namespace  dyno
 This is an implementation of AdditiveCCD based on peridyno.
 

Functions

template<typename Real, typename Coord, DeviceType deviceType, typename IndexType>
DYN_FUNC bool dyno::calculateSignedDistance2TriangleSet (ProjectedPoint3D< Real > &p3d, Coord point, Array< Coord, deviceType > &vertices, Array< TopologyModule::Triangle, deviceType > &indices, List< IndexType > &list, Real dHat=0)
 Calculate the signed distance from a point to a triangular mesh.
 
template<typename Real, typename Coord, DeviceType deviceType, typename IndexType>
DYN_FUNC bool dyno::calculateSignedDistance2TriangleSetFromNormal (ProjectedPoint3D< Real > &p3d, Coord point, Array< Coord, deviceType > &vertices, Array< TopologyModule::Edge, deviceType > &edges, Array< TopologyModule::Triangle, deviceType > &triangles, Array< TopologyModule::Tri2Edg, deviceType > &t2e, Array< Coord, deviceType > &edgeNormal, Array< Coord, deviceType > &vertexNormal, List< IndexType > &list, Real dHat=0)
 
template<typename Real, typename Coord, DeviceType deviceType, typename IndexType>
DYN_FUNC bool dyno::calculateDistance2TriangleSet (ProjectedPoint3D< Real > &p3d, Coord point, Array< Coord, deviceType > &vertices, Array< TopologyModule::Triangle, deviceType > &indices, List< IndexType > &list, Real dHat=0)
 Calculate the distance from a point to a triangular mesh.