15#include <lagrange/SurfaceMesh.h>
39 template <
typename Scalar,
typename Index>
91 bool is_inside(
const std::array<float, 3>& pos)
const;
100 float solid_angle(
const std::array<float, 3>& pos)
const;
Smart pointer with value semantics.
Definition: value_ptr.h:134
Fast winding number computation for triangle soups.
Definition: FastWindingNumber.h:25
FastWindingNumber()
Constructs a new instance.
FastWindingNumber(FastWindingNumber &&other) noexcept
Constructs a new instance.
FastWindingNumber & operator=(FastWindingNumber &&other) noexcept
Assignment operator.
FastWindingNumber(const FastWindingNumber &other)=delete
Constructs a new instance.
~FastWindingNumber()
Destroys the object.
bool is_inside(const std::array< float, 3 > &pos) const
Determines whether the specified query point is inside the volume.
Definition: FastWindingNumber.cpp:104
value_ptr< Impl > m_impl
PIMPL to hide internal data structures.
Definition: FastWindingNumber.h:107
FastWindingNumber & operator=(const FastWindingNumber &other)=delete
Assignment operator.
float solid_angle(const std::array< float, 3 > &pos) const
Computes the solid angle at the query point.
Definition: FastWindingNumber.cpp:109
Main namespace for Lagrange.
Definition: AABBIGL.h:30
Definition: FastWindingNumber.cpp:28