Function pfield::pointInsideMesh

Function Documentation

bool pfield::pointInsideMesh(const MeshCollisionData &meshData, const Eigen::Vector3d &pointInMeshFrame)

Determines if a point is inside the mesh defined by the given MeshCollisionData.

Parameters:
  • meshData – The mesh collision data

  • pointInMeshFrame – The point to test, expressed in the mesh’s local frame

Returns:

true if the point is inside the mesh or not