Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
model::PlanePlaneIntersection< dim > Struct Template Reference

#include <PlanePlaneIntersection.h>

Collaboration diagram for model::PlanePlaneIntersection< dim >:

Public Types

enum  IntersectionType { PARALLEL , COINCIDENT , INCIDENT }
typedef Eigen::Matrix< double, dim, 1 > VectorDimD
typedef std::tuple< IntersectionType, VectorDimD, VectorDimD > SolutionType

Public Member Functions

 PlanePlaneIntersection (const VectorDimD &p1, const VectorDimD &n1, const VectorDimD &p2, const VectorDimD &n2, const double &tolerance=FLT_EPSILON)
 PlanePlaneIntersection (const Plane< dim > &plane0, const Plane< dim > &plane1, const double &tolerance=FLT_EPSILON)

Static Public Member Functions

static bool checkIntersection (const VectorDimD &C, const VectorDimD &p1, const VectorDimD &n1, const VectorDimD &p2, const VectorDimD &n2, const double &tol)
static SolutionType findIntersection (const VectorDimD &p1, const VectorDimD &N1, const VectorDimD &p2, const VectorDimD &N2, const double &tol)

Public Attributes

const SolutionType sol
const IntersectionType & type
const VectorDimD & P
const VectorDimD & d

Detailed Description

template<int dim>
struct model::PlanePlaneIntersection< dim >

Definition at line 22 of file PlanePlaneIntersection.h.

Member Typedef Documentation

◆ SolutionType

template<int dim>
typedef std::tuple<IntersectionType,VectorDimD,VectorDimD> model::PlanePlaneIntersection< dim >::SolutionType

Definition at line 26 of file PlanePlaneIntersection.h.

◆ VectorDimD

template<int dim>
typedef Eigen::Matrix<double,dim,1> model::PlanePlaneIntersection< dim >::VectorDimD

Definition at line 25 of file PlanePlaneIntersection.h.

Member Enumeration Documentation

◆ IntersectionType

Enumerator
PARALLEL 
COINCIDENT 
INCIDENT 

Definition at line 24 of file PlanePlaneIntersection.h.

Constructor & Destructor Documentation

◆ PlanePlaneIntersection() [1/2]

template<int dim>
model::PlanePlaneIntersection< dim >::PlanePlaneIntersection ( const VectorDimD & p1,
const VectorDimD & n1,
const VectorDimD & p2,
const VectorDimD & n2,
const double & tolerance = FLT_EPSILON )

Definition at line 111 of file PlanePlaneIntersection.cpp.

◆ PlanePlaneIntersection() [2/2]

template<int dim>
model::PlanePlaneIntersection< dim >::PlanePlaneIntersection ( const Plane< dim > & plane0,
const Plane< dim > & plane1,
const double & tolerance = FLT_EPSILON )

Definition at line 125 of file PlanePlaneIntersection.cpp.

Member Function Documentation

◆ checkIntersection()

template<int dim>
bool model::PlanePlaneIntersection< dim >::checkIntersection ( const VectorDimD & C,
const VectorDimD & p1,
const VectorDimD & n1,
const VectorDimD & p2,
const VectorDimD & n2,
const double & tol )
static

Definition at line 26 of file PlanePlaneIntersection.cpp.

◆ findIntersection()

template<int dim>
PlanePlaneIntersection< dim >::SolutionType model::PlanePlaneIntersection< dim >::findIntersection ( const VectorDimD & p1,
const VectorDimD & N1,
const VectorDimD & p2,
const VectorDimD & N2,
const double & tol )
static

Definition at line 58 of file PlanePlaneIntersection.cpp.

Member Data Documentation

◆ d

template<int dim>
const VectorDimD& model::PlanePlaneIntersection< dim >::d

Definition at line 51 of file PlanePlaneIntersection.h.

◆ P

template<int dim>
const VectorDimD& model::PlanePlaneIntersection< dim >::P

Definition at line 50 of file PlanePlaneIntersection.h.

◆ sol

template<int dim>
const SolutionType model::PlanePlaneIntersection< dim >::sol

Definition at line 48 of file PlanePlaneIntersection.h.

◆ type

template<int dim>
const IntersectionType& model::PlanePlaneIntersection< dim >::type

Definition at line 49 of file PlanePlaneIntersection.h.


The documentation for this struct was generated from the following files: