21 #ifndef FUB_GEOMETRY_UNION_HPP
22 #define FUB_GEOMETRY_UNION_HPP
35 std::unique_ptr<Geometry<Rank>>
Clone()
const override;
40 std::vector<PolymorphicGeometry<Rank>>
geoms_;
Definition: PolymorphicGeometry.hpp:47
std::unique_ptr< Geometry< Rank > > Clone() const override
Returns a copy of the concrete geometry as a pointer to the base class.
double ComputeDistanceTo(const std::array< double, Rank > &x) const override
Computes the minimum distance between geometry and point x.
std::vector< PolymorphicGeometry< Rank > > geoms_
Definition: Union.hpp:40
PolymorphicUnion(const std::vector< PolymorphicGeometry< Rank >> &geoms)
The fub namespace.
Definition: AnyBoundaryCondition.hpp:31
Definition: geometry/Geometry.hpp:29