PLaSK library

Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
plask::detail::MakeBlockVisitor< dim > Struct Template Reference
Inheritance diagram for plask::detail::MakeBlockVisitor< dim >:
[legend]
Collaboration diagram for plask::detail::MakeBlockVisitor< dim >:
[legend]

## Public Member Functions
| MakeBlockVisitor (const Vec< dim > &size, bool draft)
shared_ptr< Block< dim > > | operator() (const shared_ptr< Material > &material) const
shared_ptr< Block< dim > > | operator() (const shared_ptr< MaterialsDB::MixedCompositionFactory > &material_factory) const

## Public Attributes
Vec< dim > | size
bool | draft

## Detailed Description

template<int dim>
struct plask::detail::MakeBlockVisitor< dim >

Definition at line 279 of file leaf.cpp.

## Constructor & Destructor Documentation

## ◆ MakeBlockVisitor()

template<int dim>

plask::detail::MakeBlockVisitor< dim >::MakeBlockVisitor | ( | const Vec< dim > & | size,
|  | bool | draft
| ) |  |
| inline

Definition at line 283 of file leaf.cpp.

## Member Function Documentation

## ◆ operator()() [1/2]

template<int dim>

shared_ptr< Block< dim > > plask::detail::MakeBlockVisitor< dim >::operator() | ( | const shared_ptr< Material > & | material | ) | const
| inline

Definition at line 285 of file leaf.cpp.

## ◆ operator()() [2/2]

template<int dim>

shared_ptr< Block< dim > > plask::detail::MakeBlockVisitor< dim >::operator() | ( | const shared_ptr< MaterialsDB::MixedCompositionFactory > & | material_factory | ) | const
| inline

Definition at line 289 of file leaf.cpp.

## Member Data Documentation

## ◆ draft

template<int dim>

bool plask::detail::MakeBlockVisitor< dim >::draft

Definition at line 281 of file leaf.cpp.

## ◆ size

template<int dim>

Vec<dim> plask::detail::MakeBlockVisitor< dim >::size

Definition at line 280 of file leaf.cpp.

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

- plask/geometry/leaf.cpp