SurfaceToImplicit.hpp
Go to the documentation of this file.
bool IsValidGeometry() const override
Returns true if the surface is a valid geometry.
Abstract base class for N-D implicit surface.
Definition: ImplicitSurface.hpp:20
bool IsBounded() const override
Returns true if bounding box can be defined.
Front-end to create SurfaceToImplicit objects step by step.
Definition: SurfaceToImplicit.hpp:114
std::shared_ptr< Surface< N > > GetSurface() const
Returns the raw surface instance.
SurfaceToImplicit & operator=(const SurfaceToImplicit &other)
Copy assignment operator.
bool IntersectsLocal(const Ray< double, N > &ray) const override
double SignedDistanceLocal(const Vector< double, N > &otherPoint) const override
Vector< double, N > ClosestNormalLocal(const Vector< double, N > &otherPoint) const override
SurfaceRayIntersection< N > ClosestIntersectionLocal(const Ray< double, N > &ray) const override
Returns the closest intersection point for given ray in local frame.
Definition: Matrix.hpp:27
Definition: pybind11Utils.hpp:20
std::shared_ptr< SurfaceToImplicit3 > SurfaceToImplicit3Ptr
Shared pointer for the SurfaceToImplicit3 type.
Definition: SurfaceToImplicit.hpp:108
~SurfaceToImplicit() override=default
Default virtual destructor.
Struct that represents ray-surface intersection point.
Definition: Surface.hpp:25
Vector< double, N > ClosestPointLocal(const Vector< double, N > &otherPoint) const override
double ClosestDistanceLocal(const Vector< double, N > &otherPoint) const override
static Builder GetBuilder()
Returns builder fox SurfaceToImplicit.
N-D implicit surface wrapper for generic Surface instance.
Definition: SurfaceToImplicit.hpp:30
BoundingBox< double, N > BoundingBoxLocal() const override
Returns the bounding box of this surface object in local frame.
std::shared_ptr< SurfaceToImplicit2 > SurfaceToImplicit2Ptr
Shared pointer for the SurfaceToImplicit2 type.
Definition: SurfaceToImplicit.hpp:105
SurfaceToImplicit(std::shared_ptr< Surface< N >> surface, const Transform< N > &_transform=Transform< N >{}, bool _isNormalFlipped=false)
Constructs an instance with generic Surface2 instance.
void UpdateQueryEngine() override
Updates internal spatial query engine.