Ponca  5b0151ad2869758185d699615c3cca5855cc2cee
Point Cloud Analysis library
Loading...
Searching...
No Matches
Ponca::internal::CNCEigen< DataPoint >::SphericalTriangle Struct Reference

Represents a triangle on a sphere of radius one. More...

#include <cncFormulaEigen.h>

+ Collaboration diagram for Ponca::internal::CNCEigen< DataPoint >::SphericalTriangle:

Static Public Member Functions

static bool isDegenerate (const VectorType &a, const VectorType &b, const VectorType &c)
 Spherical point data type.
 
static void polarTriangle (const VectorType &a, const VectorType &b, const VectorType &c, VectorType &Ap, VectorType &Bp, VectorType &Cp)
 
static void interiorAngles (const VectorType &a, const VectorType &b, const VectorType &c, Scalar &alpha, Scalar &beta, Scalar &gamma)
 Returns the interior angles of the spherical triangle ABC.
 
static Scalar area (const VectorType &a, const VectorType &b, const VectorType &c)
 
static Scalar algebraicArea (const VectorType &a, const VectorType &b, const VectorType &c)
 

Detailed Description

template<typename DataPoint>
struct Ponca::internal::CNCEigen< DataPoint >::SphericalTriangle

Represents a triangle on a sphere of radius one.

Definition at line 81 of file cncFormulaEigen.h.

Member Function Documentation

◆ algebraicArea()

template<typename DataPoint >
static Scalar Ponca::internal::CNCEigen< DataPoint >::SphericalTriangle::algebraicArea ( const VectorType &  a,
const VectorType &  b,
const VectorType &  c 
)
inlinestatic
Returns
the (signed) area of the spherical triangle (below 2pi).

Definition at line 148 of file cncFormulaEigen.h.

◆ area()

template<typename DataPoint >
static Scalar Ponca::internal::CNCEigen< DataPoint >::SphericalTriangle::area ( const VectorType &  a,
const VectorType &  b,
const VectorType &  c 
)
inlinestatic
Returns
the (unsigned) area of the spherical triangle (below 2pi).

Definition at line 136 of file cncFormulaEigen.h.

◆ interiorAngles()

template<typename DataPoint >
static void Ponca::internal::CNCEigen< DataPoint >::SphericalTriangle::interiorAngles ( const VectorType &  a,
const VectorType &  b,
const VectorType &  c,
Scalar &  alpha,
Scalar &  beta,
Scalar &  gamma 
)
inlinestatic

Returns the interior angles of the spherical triangle ABC.

Parameters
[out]alphathe interior angle at vertex A.
[out]betathe interior angle at vertex B.
[out]gammathe interior angle at vertex C.

Definition at line 113 of file cncFormulaEigen.h.

◆ isDegenerate()

template<typename DataPoint >
static bool Ponca::internal::CNCEigen< DataPoint >::SphericalTriangle::isDegenerate ( const VectorType &  a,
const VectorType &  b,
const VectorType &  c 
)
inlinestatic

Spherical point data type.

Definition at line 83 of file cncFormulaEigen.h.

◆ polarTriangle()

template<typename DataPoint >
static void Ponca::internal::CNCEigen< DataPoint >::SphericalTriangle::polarTriangle ( const VectorType &  a,
const VectorType &  b,
const VectorType &  c,
VectorType &  Ap,
VectorType &  Bp,
VectorType &  Cp 
)
inlinestatic
Returns
the polar triangle associated with this triangle.

Definition at line 96 of file cncFormulaEigen.h.