RINGMesh
Version 5.0.0
A programming library for geological model meshes
|
Functions | |
bool RINGMESH_API | point_inside_segment (const Geometry::Point3D &point, const Geometry::Segment3D &segment) |
Tests if a point is on a segment. More... | |
template<index_t DIMENSION> | |
bool | point_inside_triangle (const Geometry::Point< DIMENSION > &point, const Geometry::Triangle< DIMENSION > &triangle) |
Tests if a point is inside a triangle. More... | |
bool RINGMESH_API | point_inside_tetra (const Geometry::Point3D &point, const Geometry::Tetra &tetra) |
Sign RINGMESH_API | point_side_to_segment (const Geometry::Point2D &point, const Geometry::Segment2D &segment) |
Sign RINGMESH_API | point_side_to_plane (const Geometry::Point3D &point, const Geometry::Plane &plane) |
template bool RINGMESH_API | point_inside_triangle (const Geometry::Point< 2 > &, const Geometry::Triangle< 2 > &) |
template bool RINGMESH_API | point_inside_triangle (const Geometry::Point< 3 > &, const Geometry::Triangle< 3 > &) |
bool RINGMesh::Position::point_inside_segment | ( | const Geometry::Point3D & | point, |
const Geometry::Segment3D & | segment | ||
) |
Tests if a point is on a segment.
Definition at line 303 of file geometry_position.cpp.
bool RINGMesh::Position::point_inside_tetra | ( | const Geometry::Point3D & | point, |
const Geometry::Tetra & | tetra | ||
) |
Tests if a point is inside a tetrahedron
Definition at line 288 of file geometry_position.cpp.
template bool RINGMESH_API RINGMesh::Position::point_inside_triangle | ( | const Geometry::Point< 2 > & | , |
const Geometry::Triangle< 2 > & | |||
) |
template bool RINGMESH_API RINGMesh::Position::point_inside_triangle | ( | const Geometry::Point< 3 > & | , |
const Geometry::Triangle< 3 > & | |||
) |
bool RINGMesh::Position::point_inside_triangle | ( | const Geometry::Point< DIMENSION > & | point, |
const Geometry::Triangle< DIMENSION > & | triangle | ||
) |
Tests if a point is inside a triangle.
if it is inside a prism based on the triangle and its normal
Definition at line 297 of file geometry_position.cpp.
Sign RINGMesh::Position::point_side_to_plane | ( | const Geometry::Point3D & | point, |
const Geometry::Plane & | plane | ||
) |
Returns the point side to a plane
Definition at line 315 of file geometry_position.cpp.
Sign RINGMesh::Position::point_side_to_segment | ( | const Geometry::Point2D & | point, |
const Geometry::Segment2D & | segment | ||
) |
Returns the point side to a segment
Definition at line 309 of file geometry_position.cpp.