libigl v2.5.0
Loading...
Searching...
No Matches
predicates.h File Reference
#include "../igl_inline.h"
#include <Eigen/Core>
#include "predicates.cpp"

Go to the source code of this file.

Namespaces

namespace  igl
 
namespace  igl::predicates
 

Macros

#define IGL_PREDICATES_PREDICATES_H
 

Enumerations

enum class  igl::predicates::Orientation {
  igl::predicates::POSITIVE =1 , igl::predicates::INSIDE =1 , igl::predicates::NEGATIVE =-1 , igl::predicates::OUTSIDE =-1 ,
  igl::predicates::COLLINEAR =0 , igl::predicates::COPLANAR =0 , igl::predicates::COCIRCULAR =0 , igl::predicates::COSPHERICAL =0 ,
  igl::predicates::DEGENERATE =0
}
 Types of orientations and other predicate results. More...
 

Functions

void igl::predicates::exactinit ()
 Initialize internal variable used by predciates.
 
template<typename Vector2D >
Orientation igl::predicates::orient2d (const Eigen::MatrixBase< Vector2D > &pa, const Eigen::MatrixBase< Vector2D > &pb, const Eigen::MatrixBase< Vector2D > &pc)
 Compute the orientation of the triangle formed by pa, pb, pc.
 
template<typename Vector3D >
Orientation igl::predicates::orient3d (const Eigen::MatrixBase< Vector3D > &pa, const Eigen::MatrixBase< Vector3D > &pb, const Eigen::MatrixBase< Vector3D > &pc, const Eigen::MatrixBase< Vector3D > &pd)
 Compute the orientation of the tetrahedron formed by pa, pb, pc, pd.
 
template<typename Vector2D >
Orientation igl::predicates::incircle (const Eigen::MatrixBase< Vector2D > &pa, const Eigen::MatrixBase< Vector2D > &pb, const Eigen::MatrixBase< Vector2D > &pc, const Eigen::MatrixBase< Vector2D > &pd)
 Decide whether a point is inside/outside/on a circle.
 
template<typename Vector3D >
Orientation igl::predicates::insphere (const Eigen::MatrixBase< Vector3D > &pa, const Eigen::MatrixBase< Vector3D > &pb, const Eigen::MatrixBase< Vector3D > &pc, const Eigen::MatrixBase< Vector3D > &pd, const Eigen::MatrixBase< Vector3D > &pe)
 Decide whether a point is inside/outside/on a sphere.
 

Macro Definition Documentation

◆ IGL_PREDICATES_PREDICATES_H

#define IGL_PREDICATES_PREDICATES_H