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

Class template representing a straight line at the intersection of PlanarMeshFaces. More...

#include <MeshBoundarySegment.h>

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

Public Types

typedef Eigen::Matrix< double, dim, 1 > VectorDim
typedef FiniteLineSegment< dim > FiniteLineSegmentType
typedef Polyhedron< dim, dim-1 > PlanarMeshFaceType
typedef std::set< const Polyhedron< dim, dim-1 > * > FaceContainerType
Public Types inherited from model::FiniteLineSegment< dim >
typedef Eigen::Matrix< double, dim, 1 > VectorDim

Public Member Functions

 MeshBoundarySegment (const VectorDim &p0, const VectorDim &p1, const PlanarMeshFaceType *const face)
 MeshBoundarySegment (const VectorDim &p0, const VectorDim &p1, const FaceContainerType &faces_in)
VectorDim periodicShift () const
VectorDim regionBoundaryNormal (const int &k) const
Public Member Functions inherited from model::FiniteLineSegment< dim >
 FiniteLineSegment (const VectorDim &p0, const VectorDim &p1)
VectorDim snap (const VectorDim &x) const
VectorDim snapToInfiniteLine (const VectorDim &x) const
SegmentSegmentDistance< dim > distanceTo (const FiniteLineSegment< dim > &other, const double &degeneracyValue=0.0) const
double distanceTo (const VectorDim &x) const
bool contains (const VectorDim &x) const
double length () const
bool hasZeroLength () const
VectorDim center () const

Public Attributes

const FaceContainerType faces
const VectorDim outNormal
Public Attributes inherited from model::FiniteLineSegment< dim >
VectorDim P0
VectorDim P1

Detailed Description

template<int dim>
class model::MeshBoundarySegment< dim >

Class template representing a straight line at the intersection of PlanarMeshFaces.

Definition at line 26 of file MeshBoundarySegment.h.

Member Typedef Documentation

◆ FaceContainerType

template<int dim>
typedef std::set<const Polyhedron<dim,dim-1>*> model::MeshBoundarySegment< dim >::FaceContainerType

Definition at line 33 of file MeshBoundarySegment.h.

◆ FiniteLineSegmentType

template<int dim>
typedef FiniteLineSegment<dim> model::MeshBoundarySegment< dim >::FiniteLineSegmentType

Definition at line 31 of file MeshBoundarySegment.h.

◆ PlanarMeshFaceType

template<int dim>
typedef Polyhedron<dim,dim-1> model::MeshBoundarySegment< dim >::PlanarMeshFaceType

Definition at line 32 of file MeshBoundarySegment.h.

◆ VectorDim

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

Definition at line 30 of file MeshBoundarySegment.h.

Constructor & Destructor Documentation

◆ MeshBoundarySegment() [1/2]

template<int dim>
model::MeshBoundarySegment< dim >::MeshBoundarySegment ( const VectorDim & p0,
const VectorDim & p1,
const PlanarMeshFaceType *const face )

◆ MeshBoundarySegment() [2/2]

template<int dim>
model::MeshBoundarySegment< dim >::MeshBoundarySegment ( const VectorDim & p0,
const VectorDim & p1,
const FaceContainerType & faces_in )

Member Function Documentation

◆ periodicShift()

template<int dim>
MeshBoundarySegment< dim >::VectorDim model::MeshBoundarySegment< dim >::periodicShift ( ) const

Definition at line 25 of file MeshBoundarySegment.cpp.

◆ regionBoundaryNormal()

template<int dim>
MeshBoundarySegment< dim >::VectorDim model::MeshBoundarySegment< dim >::regionBoundaryNormal ( const int & k) const

Definition at line 56 of file MeshBoundarySegment.cpp.

Member Data Documentation

◆ faces

template<int dim>
const FaceContainerType model::MeshBoundarySegment< dim >::faces

Definition at line 41 of file MeshBoundarySegment.h.

◆ outNormal

template<int dim>
const VectorDim model::MeshBoundarySegment< dim >::outNormal

Definition at line 42 of file MeshBoundarySegment.h.


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