PLaSK library

Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
plask::TriangularMesh2DGetterForRtree Struct Reference

Utility struct that allows for using triangular mesh in boost::geometry::index::rtree effectively (without copying coordinates of nodes). More...

`#include <plask/mesh/triangular2d.hpp>`

Collaboration diagram for plask::TriangularMesh2DGetterForRtree:
[legend]

## Public Types
typedef Vec< 2, double > | result_type

## Public Member Functions
| TriangularMesh2DGetterForRtree (const TriangularMesh2D *src_mesh)
result_type | operator() (std::size_t index) const

## Public Attributes
const TriangularMesh2D * | src_mesh

## Detailed Description

Utility struct that allows for using triangular mesh in boost::geometry::index::rtree effectively (without copying coordinates of nodes).

Definition at line 753 of file triangular2d.hpp.

## Member Typedef Documentation

## ◆ result_type

typedef Vec<2, double> plask::TriangularMesh2DGetterForRtree::result_type

Definition at line 754 of file triangular2d.hpp.

## Constructor & Destructor Documentation

## ◆ TriangularMesh2DGetterForRtree()

plask::TriangularMesh2DGetterForRtree::TriangularMesh2DGetterForRtree | ( | const TriangularMesh2D * | src_mesh | ) |
| inline

Definition at line 758 of file triangular2d.hpp.

## Member Function Documentation

## ◆ operator()()

result_type plask::TriangularMesh2DGetterForRtree::operator() | ( | std::size_t | index | ) | const
| inline

Definition at line 760 of file triangular2d.hpp.

## Member Data Documentation

## ◆ src_mesh

const TriangularMesh2D* plask::TriangularMesh2DGetterForRtree::src_mesh

Definition at line 756 of file triangular2d.hpp.

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

- plask/mesh/triangular2d.hpp