FEAT 3
Finite Element Analysis Toolbox
Loading...
Searching...
No Matches
FEAT::Geometry::PolylineFactory< dim_, Coord_ > Class Template Reference

Constructs a polyline mesh. More...

#include <common_factories.hpp>

Inheritance diagram for FEAT::Geometry::PolylineFactory< dim_, Coord_ >:
FEAT::Geometry::Factory< ConformalMesh< Shape::Hypercube< 1 >, dim_, Coord_ > >

Public Types

typedef MeshType::IndexSetHolderType IndexSetHolderType
 index holder type More...
 
typedef ConformalMesh< Shape::Hypercube< 1 >, dim_, Coord_ > MeshType
 mesh type More...
 
typedef MeshType::VertexSetType VertexSetType
 vertex set type More...
 

Public Member Functions

 PolylineFactory (std::deque< typename VertexSetType::VertexType > &points_)
 From deque of Tiny::Vectors constructor. More...
 
virtual void fill_index_sets (IndexSetHolderType &index_set_holder) override
 
virtual void fill_vertex_set (VertexSetType &vertex_set) override
 
virtual Index get_num_entities (int dimension) override
 

Private Attributes

std::deque< Tiny::Vector< Coord_, dim_ > > & _points
 Reference to the set of points in the polyline. More...
 

Detailed Description

template<int dim_, typename Coord_>
class FEAT::Geometry::PolylineFactory< dim_, Coord_ >

Constructs a polyline mesh.

This simply joins all points of a given std::deque together to a polygonal straight line graph.

Template Parameters
dim_Dimension of the input points
Coord_Floating point type for mesh coordinates
Author
Jordi Paul

Definition at line 1070 of file common_factories.hpp.

Member Typedef Documentation

◆ IndexSetHolderType

template<int dim_, typename Coord_ >
typedef MeshType::IndexSetHolderType FEAT::Geometry::PolylineFactory< dim_, Coord_ >::IndexSetHolderType

index holder type

Definition at line 1079 of file common_factories.hpp.

◆ MeshType

template<int dim_, typename Coord_ >
typedef ConformalMesh<Shape::Hypercube<1>, dim_, Coord_> FEAT::Geometry::PolylineFactory< dim_, Coord_ >::MeshType

mesh type

Definition at line 1075 of file common_factories.hpp.

◆ VertexSetType

template<int dim_, typename Coord_ >
typedef MeshType::VertexSetType FEAT::Geometry::PolylineFactory< dim_, Coord_ >::VertexSetType

vertex set type

Definition at line 1077 of file common_factories.hpp.

Constructor & Destructor Documentation

◆ PolylineFactory()

template<int dim_, typename Coord_ >
FEAT::Geometry::PolylineFactory< dim_, Coord_ >::PolylineFactory ( std::deque< typename VertexSetType::VertexType > &  points_)
inlineexplicit

From deque of Tiny::Vectors constructor.

Definition at line 1090 of file common_factories.hpp.

References XASSERTM.

Member Function Documentation

◆ fill_index_sets()

template<int dim_, typename Coord_ >
virtual void FEAT::Geometry::PolylineFactory< dim_, Coord_ >::fill_index_sets ( IndexSetHolderType index_set_holder)
inlineoverridevirtual

◆ fill_vertex_set()

template<int dim_, typename Coord_ >
virtual void FEAT::Geometry::PolylineFactory< dim_, Coord_ >::fill_vertex_set ( VertexSetType vertex_set)
inlineoverridevirtual

◆ get_num_entities()

template<int dim_, typename Coord_ >
virtual Index FEAT::Geometry::PolylineFactory< dim_, Coord_ >::get_num_entities ( int  dimension)
inlineoverridevirtual

Member Data Documentation

◆ _points

template<int dim_, typename Coord_ >
std::deque<Tiny::Vector<Coord_, dim_> >& FEAT::Geometry::PolylineFactory< dim_, Coord_ >::_points
private

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