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