RINGMesh  Version 5.0.0
A programming library for geological model meshes
geometry_position.cpp File Reference
#include <ringmesh/basic/geometry.h>
#include <geogram/mesh/mesh.h>
#include <geogram/numerics/predicates.h>

Go to the source code of this file.

Namespaces

 RINGMesh
 Classes to build GeoModel from various inputs.
 
 RINGMesh::Position
 

Functions

bool RINGMESH_API RINGMesh::Position::point_inside_tetra (const Geometry::Point3D &point, const Geometry::Tetra &tetra)
 
template<index_t DIMENSION>
bool RINGMesh::Position::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 RINGMesh::Position::point_inside_segment (const Geometry::Point3D &point, const Geometry::Segment3D &segment)
 Tests if a point is on a segment. More...
 
Sign RINGMESH_API RINGMesh::Position::point_side_to_segment (const Geometry::Point2D &point, const Geometry::Segment2D &segment)
 
Sign RINGMESH_API RINGMesh::Position::point_side_to_plane (const Geometry::Point3D &point, const Geometry::Plane &plane)
 
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 > &)