File intersection.h
File List > geometry > utils > intersection.h
Go to the documentation of this file
#pragma once
#include <uipc/common/dllexport.h>
#include <uipc/common/type_define.h>
namespace uipc::geometry
{
UIPC_GEOMETRY_API bool tri_edge_intersect(const Vector3& T0,
const Vector3& T1,
const Vector3& T2,
const Vector3& E0,
const Vector3& E1);
UIPC_GEOMETRY_API bool is_point_in_tet(const Vector3& T0,
const Vector3& T1,
const Vector3& T2,
const Vector3& T3,
const Vector3& P);
} // namespace uipc::geometry