Chi-Tech
BooleanLogicalVolume.h
Go to the documentation of this file.
1#ifndef CHITECH_BOOLEANLOGICALVOLUME_H
2#define CHITECH_BOOLEANLOGICALVOLUME_H
3
4#include "LogicalVolume.h"
5
6namespace chi_mesh
7{
8
9// ###################################################################
10/**Boolean volume*/
12{
13public:
14 std::vector<std::pair<bool, std::shared_ptr<const LogicalVolume>>> parts;
15
17 explicit BooleanLogicalVolume(const chi::InputParameters& params);
18
19 bool Inside(const chi_mesh::Vector3& point) const override;
20};
21
22}
23
24#endif // CHITECH_BOOLEANLOGICALVOLUME_H
bool Inside(const chi_mesh::Vector3 &point) const override
BooleanLogicalVolume(const chi::InputParameters &params)
std::vector< std::pair< bool, std::shared_ptr< const LogicalVolume > > > parts
static chi::InputParameters GetInputParameters()