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

#include <PlaneSegmentIntersection.h>

Collaboration diagram for model::PlaneSegmentIntersection< dim >:

Public Types

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

Public Member Functions

 PlaneSegmentIntersection (const VectorDimD &P0, const VectorDimD &N, const VectorDimD &v0, const VectorDimD &v1)
 PlaneSegmentIntersection (const Plane< dim > &plane, const FiniteLineSegment< dim > &seg)

Static Public Member Functions

static SolutionType findIntersection (const VectorDimD &P0, const VectorDimD &Normal, const VectorDimD &v0, const VectorDimD &v1)

Public Attributes

const SolutionType sol
const IntersectionType & type
const VectorDimD x0
const VectorDimD x1

Detailed Description

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

Definition at line 20 of file PlaneSegmentIntersection.h.

Member Typedef Documentation

◆ SolutionType

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

Definition at line 27 of file PlaneSegmentIntersection.h.

◆ VectorDimD

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

Definition at line 25 of file PlaneSegmentIntersection.h.

Member Enumeration Documentation

◆ IntersectionType

Enumerator
PARALLEL 
COINCIDENT 
INCIDENT 
OFFSET 

Definition at line 23 of file PlaneSegmentIntersection.h.

Constructor & Destructor Documentation

◆ PlaneSegmentIntersection() [1/2]

template<int dim>
model::PlaneSegmentIntersection< dim >::PlaneSegmentIntersection ( const VectorDimD & P0,
const VectorDimD & N,
const VectorDimD & v0,
const VectorDimD & v1 )

Definition at line 98 of file PlaneSegmentIntersection.cpp.

◆ PlaneSegmentIntersection() [2/2]

template<int dim>
model::PlaneSegmentIntersection< dim >::PlaneSegmentIntersection ( const Plane< dim > & plane,
const FiniteLineSegment< dim > & seg )

Definition at line 112 of file PlaneSegmentIntersection.cpp.

Member Function Documentation

◆ findIntersection()

template<int dim>
PlaneSegmentIntersection< dim >::SolutionType model::PlaneSegmentIntersection< dim >::findIntersection ( const VectorDimD & P0,
const VectorDimD & Normal,
const VectorDimD & v0,
const VectorDimD & v1 )
static

Definition at line 23 of file PlaneSegmentIntersection.cpp.

Member Data Documentation

◆ sol

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

Definition at line 28 of file PlaneSegmentIntersection.h.

◆ type

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

Definition at line 39 of file PlaneSegmentIntersection.h.

◆ x0

template<int dim>
const VectorDimD model::PlaneSegmentIntersection< dim >::x0

Definition at line 40 of file PlaneSegmentIntersection.h.

◆ x1

template<int dim>
const VectorDimD model::PlaneSegmentIntersection< dim >::x1

Definition at line 41 of file PlaneSegmentIntersection.h.


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