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

#include <MeshPlane.h>

Inheritance diagram for model::MeshPlane< dim >:
Collaboration diagram for model::MeshPlane< dim >:

Public Types

typedef std::array< long int, dim+3 > MeshPlaneKeyType
typedef Eigen::Matrix< double, dim, 1 > VectorDim
typedef Eigen::Matrix< double, dim-1, 1 > VectorLowerDim
typedef Eigen::Matrix< double, dim, dim > MatrixDim
typedef std::pair< VectorDim, const Simplex< dim, 1 > *const > RootType
typedef std::deque< RootType > RootContainerType
Public Types inherited from model::Plane< dim >
typedef Eigen::Matrix< double, dim, 1 > VectorDim
typedef Eigen::Matrix< double, dim-1, 1 > VectorLowerDim
typedef Eigen::Matrix< double, dim, dim > MatrixDim

Public Member Functions

 MeshPlane (const SimplicialMesh< dim > &mesh, const size_t &rID, const VectorDim &p, const VectorDim &n)
 MeshPlane (const Polyhedron< dim, dim-1 > &face, const size_t &rID1, const size_t &rID2)
Public Member Functions inherited from model::StaticID< MeshPlane< dim > >
 StaticID ()
Public Member Functions inherited from model::Plane< dim >
 Plane (const VectorDim &p, const VectorDim &n)
bool contains (const VectorDim &P0) const
bool isAbove (const VectorDim &P0) const
bool isBelow (const VectorDim &P0) const
VectorDim snapToPlane (const VectorDim &P0) const
double distanceTo (const VectorDim &P0) const
double signedDistanceTo (const VectorDim &P0) const
VectorLowerDim localPosition (const VectorDim &point) const
VectorDim globalPosition (const VectorLowerDim &point) const
VectorLowerDim localDirection (const VectorDim &dir) const
VectorDim globalDirection (const VectorLowerDim &dir) const

Static Public Member Functions

static BoundingMeshSegments< dim > getFaceBoundary (const Polyhedron< dim, dim-1 > &face)
static void checkPlaneIntersections (const BoundingMeshSegments< dim > &temp)
Static Public Member Functions inherited from model::StaticID< MeshPlane< dim > >
static size_t nextID ()
static size_t & get_count ()
static void set_count (const size_t &newCount)
static void force_count (const size_t &newCount)
static void set_increment (const size_t &newIncrement)
Static Public Member Functions inherited from model::Plane< dim >
static MatrixDim getL2G (const VectorDim &z)

Public Attributes

const std::pair< int, int > regionIDs
const BoundingMeshSegments< dim > meshIntersections
Public Attributes inherited from model::StaticID< MeshPlane< dim > >
const size_t sID
 The static ID of this.
Public Attributes inherited from model::Plane< dim >
const VectorDim P
const VectorDim unitNormal
const MatrixDim L2G

Detailed Description

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

Definition at line 31 of file MeshPlane.h.

Member Typedef Documentation

◆ MatrixDim

template<int dim>
typedef Eigen::Matrix<double,dim,dim> model::MeshPlane< dim >::MatrixDim

Definition at line 38 of file MeshPlane.h.

◆ MeshPlaneKeyType

template<int dim>
typedef std::array<long int,dim+3> model::MeshPlane< dim >::MeshPlaneKeyType

Definition at line 35 of file MeshPlane.h.

◆ RootContainerType

template<int dim>
typedef std::deque<RootType> model::MeshPlane< dim >::RootContainerType

Definition at line 40 of file MeshPlane.h.

◆ RootType

template<int dim>
typedef std::pair<VectorDim,const Simplex<dim,1>* const> model::MeshPlane< dim >::RootType

Definition at line 39 of file MeshPlane.h.

◆ VectorDim

template<int dim>
typedef Eigen::Matrix<double,dim,1> model::MeshPlane< dim >::VectorDim

Definition at line 36 of file MeshPlane.h.

◆ VectorLowerDim

template<int dim>
typedef Eigen::Matrix<double,dim-1,1> model::MeshPlane< dim >::VectorLowerDim

Definition at line 37 of file MeshPlane.h.

Constructor & Destructor Documentation

◆ MeshPlane() [1/2]

template<int dim>
model::MeshPlane< dim >::MeshPlane ( const SimplicialMesh< dim > & mesh,
const size_t & rID,
const VectorDim & p,
const VectorDim & n )
Parameters
[in]mesh
[in]rIDthe region ID where the plane is defined
[in]pposition of the plane
[in]nnormal to the plane Constructor for plane internal to a mesh region

Definition at line 57 of file MeshPlane.cpp.

◆ MeshPlane() [2/2]

template<int dim>
model::MeshPlane< dim >::MeshPlane ( const Polyhedron< dim, dim-1 > & face,
const size_t & rID1,
const size_t & rID2 )

Definition at line 77 of file MeshPlane.cpp.

Member Function Documentation

◆ checkPlaneIntersections()

template<int dim>
void model::MeshPlane< dim >::checkPlaneIntersections ( const BoundingMeshSegments< dim > & temp)
static

Definition at line 38 of file MeshPlane.cpp.

◆ getFaceBoundary()

template<int dim>
BoundingMeshSegments< dim > model::MeshPlane< dim >::getFaceBoundary ( const Polyhedron< dim, dim-1 > & face)
static

Definition at line 25 of file MeshPlane.cpp.

Member Data Documentation

◆ meshIntersections

template<int dim>
const BoundingMeshSegments<dim> model::MeshPlane< dim >::meshIntersections

Definition at line 47 of file MeshPlane.h.

◆ regionIDs

template<int dim>
const std::pair<int,int> model::MeshPlane< dim >::regionIDs

Definition at line 46 of file MeshPlane.h.


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