The Cork namespace contains various static methods for performing mesh operations.
Definition cork_wrapper.hpp:11
static void MeshDifference(const VecXT< Vec3d > &va, const VecXT< Vec3i > &fa, const VecXT< Vec3d > &vb, const VecXT< Vec3i > &fb, VecXT< Vec3d > *const vab, VecXT< Vec3i > *const fab)
Compute the difference of two input meshes va and vb.
static void MeshDifference(const VecXT< Vec3d > &va, const VecXT< Vec3i > &fa, const VecXT< Vec3d > &vb, const VecXT< Vec3i > &fb, VecXT< Vec3d > *const vab, VecXT< Vec3i > *const fab, VecXT< int > *const jab)
Compute the difference of two input meshes va and vb.
static void MeshUnion(const VecXT< Vec3d > &va, const VecXT< Vec3i > &fa, const VecXT< Vec3d > &vb, const VecXT< Vec3i > &fb, VecXT< Vec3d > *const vab, VecXT< Vec3i > *const fab)
Compute the union of two input meshes va and vb.
static void MeshXor(const VecXT< Vec3d > &va, const VecXT< Vec3i > &fa, const VecXT< Vec3d > &vb, const VecXT< Vec3i > &fb, VecXT< Vec3d > *const vab, VecXT< Vec3i > *const fab, VecXT< int > *const jab)
Compute the exclusive-or of two input meshes va and vb.
static void MeshIntersect(const VecXT< Vec3d > &va, const VecXT< Vec3i > &fa, const VecXT< Vec3d > &vb, const VecXT< Vec3i > &fb, VecXT< Vec3d > *const vab, VecXT< Vec3i > *const fab)
Compute the intersection between two input meshes va and vb.
static void MeshIntersect(const VecXT< Vec3d > &va, const VecXT< Vec3i > &fa, double dist_pc_to_plane, Vec3d const &dir_n, VecXT< Vec3d > *const vab, VecXT< Vec3i > *const fab, VecXT< int > *const jab)
Compute the intersection between an input mesh va and a plane defined by a distance and normal vector...
static void MeshXor(const VecXT< Vec3d > &va, const VecXT< Vec3i > &fa, const VecXT< Vec3d > &vb, const VecXT< Vec3i > &fb, VecXT< Vec3d > *const vab, VecXT< Vec3i > *const fab)
Compute the exclusive-or of two input meshes va and vb.
static void MeshUnion(const VecXT< Vec3d > &va, const VecXT< Vec3i > &fa, const VecXT< Vec3d > &vb, const VecXT< Vec3i > &fb, VecXT< Vec3d > *const vab, VecXT< Vec3i > *const fab, VecXT< int > *const jab)
Compute the union of two input meshes va and vb.
static void MeshIntersect(const VecXT< Vec3d > &va, const VecXT< Vec3i > &fa, const VecXT< Vec3d > &vb, const VecXT< Vec3i > &fb, VecXT< Vec3d > *const vab, VecXT< Vec3i > *const fab, VecXT< int > *const jab)
Compute the intersection between two input meshes va and vb.
Definition bond_entry.hpp:7
std::vector< T > VecXT
Definition utils_macros.hpp:31
std::array< double, 3 > Vec3d
Definition utils_macros.hpp:18
dir_n
Definition json_serilization.hpp:19