SurfaceSet2.h
Go to the documentation of this file.
void AddSurface(const Surface2Ptr &surface)
Adds a surface instance.
Transform2 transform
Local-to-world transform.
Definition: Surface2.h:36
Structure that represents ray-surface intersection point.
Definition: Surface2.h:23
Front-end to create SurfaceSet2 objects step by step.
Definition: SurfaceSet2.h:87
const Surface2Ptr & SurfaceAt(size_t i) const
Returns the i-th surface.
Definition: pybind11Utils.h:24
void UpdateQueryEngine() override
Updates internal spatial query engine.
Builder & WithSurfaces(const std::vector< Surface2Ptr > &others)
Returns builder with other surfaces.
std::shared_ptr< SurfaceSet2 > SurfaceSet2Ptr
Shared pointer for the SurfaceSet2 type.
Definition: SurfaceSet2.h:82
size_t NumberOfSurfaces() const
Returns the number of surfaces.
std::shared_ptr< Surface2 > Surface2Ptr
Shared pointer for the Surface2 type.
Definition: Surface2.h:100
SurfaceSet2Ptr MakeShared() const
Builds shared pointer of SurfaceSet2 instance.