Loading...
Searching...
No Matches
Sphere.hpp
Go to the documentation of this file.
Definition Matrix.hpp:30
Builder & WithRadius(double _radius)
Returns builder with sphere radius.
std::shared_ptr< Sphere< N > > MakeShared() const
Builds shared pointer of Sphere instance.
Builder & WithCenter(const Vector< double, N > &_center)
Returns builder with sphere center.
Sphere(const Transform< N > &_transform=Transform< N >{}, bool _isNormalFlipped=false)
Constructs a sphere with center at the origin and radius of 1.
Sphere(const Vector< double, N > ¢er, double radius, const Transform< N > &_transform=Transform< N >{}, bool _isNormalFlipped=false)
Constructs a sphere with center and radius.
Definition pybind11Utils.hpp:21
std::shared_ptr< Sphere3 > Sphere3Ptr
Shared pointer for the Sphere3 type.
Definition Sphere.hpp:92
std::shared_ptr< Sphere2 > Sphere2Ptr
Shared pointer for the Sphere2 type.
Definition Sphere.hpp:89
Struct that represents ray-surface intersection point.
Definition Surface.hpp:26
1.9.8