Cylinder3.h
Go to the documentation of this file.
bool IntersectsLocal(const Ray3D &ray) const override
Builder & WithRadius(double radius)
Returns builder with radius.
Vector3D ClosestNormalLocal(const Vector3D &otherPoint) const override
double ClosestDistanceLocal(const Vector3D &otherPoint) const override
Builder & WithHeight(double height)
Returns builder with height.
Structure that represents ray-surface intersection point.
Definition: Surface3.h:23
Definition: pybind11Utils.h:24
SurfaceRayIntersection3 ClosestIntersectionLocal(const Ray3D &ray) const override
Returns the closest intersection point for given ray in local frame.
Cylinder3(const Transform3 &transform=Transform3(), bool isNormalFlipped=false)
Constructs a cylinder with.
Transform3 transform
Local-to-world transform.
Definition: Surface3.h:36
Cylinder3Ptr MakeShared() const
Builds shared pointer of Cylinder3 instance.
bool isNormalFlipped
Flips normal when calling Surface3::closestNormal(...).
Definition: Surface3.h:39
Front-end to create Cylinder3 objects step by step.
Definition: Cylinder3.h:71
Vector3D ClosestPointLocal(const Vector3D &otherPoint) const override
BoundingBox3D BoundingBoxLocal() const override
Returns the bounding box of this surface object in local frame.
Builder & WithCenter(const Vector3D ¢er)
Returns builder with center.
std::shared_ptr< Cylinder3 > Cylinder3Ptr
Shared pointer type for the Cylinder3.
Definition: Cylinder3.h:66