Loading...
Searching...
No Matches
SurfaceSet.hpp
Go to the documentation of this file.
Definition Array.hpp:36
Definition Matrix.hpp:30
Front-end to create SurfaceSet objects step by step.
Definition SurfaceSet.hpp:126
std::shared_ptr< SurfaceSet< N > > MakeShared() const
Builds shared pointer of SurfaceSet instance.
Builder & WithSurfaces(const ConstArrayView1< std::shared_ptr< Surface< N > > > &others)
Returns builder with other surfaces.
size_t NumberOfSurfaces() const
Returns the number of surfaces.
bool IsValidGeometry() const override
Returns true if the surface is a valid geometry.
SurfaceSet & operator=(const SurfaceSet &other)
Copy assignment operator.
SurfaceSet(const ConstArrayView1< std::shared_ptr< Surface< N > > > &others, const Transform< N > &_transform=Transform< N >{}, bool _isNormalFlipped=false)
Constructs with a list of other surfaces.
void AddSurface(const std::shared_ptr< Surface< N > > &surface)
Adds a surface instance.
bool IsBounded() const override
Returns true if bounding box can be defined.
SurfaceSet & operator=(SurfaceSet &&other) noexcept
Move assignment operator.
const std::shared_ptr< Surface< N > > & SurfaceAt(size_t i) const
Returns the i-th surface.
void UpdateQueryEngine() override
Updates internal spatial query engine.
Definition pybind11Utils.hpp:21
std::shared_ptr< SurfaceSet2 > SurfaceSet2Ptr
Shared pointer for the SurfaceSet2 type.
Definition SurfaceSet.hpp:115
std::shared_ptr< SurfaceSet3 > SurfaceSet3Ptr
Shared pointer for the SurfaceSet3 type.
Definition SurfaceSet.hpp:118
Struct that represents ray-surface intersection point.
Definition Surface.hpp:26
1.9.8