Jet
v1.3.3
|
Abstract base class for 3-D implicit surface. More...
#include <jet/implicit_surface3.h>
Public Member Functions | |
ImplicitSurface3 (const Transform3 &transform=Transform3(), bool isNormalFlipped=false) | |
Default constructor. More... | |
ImplicitSurface3 (const ImplicitSurface3 &other) | |
Copy constructor. More... | |
virtual | ~ImplicitSurface3 () |
Default destructor. More... | |
double | signedDistance (const Vector3D &otherPoint) const |
Returns signed distance from the given point otherPoint . More... | |
![]() | |
Surface3 (const Transform3 &transform=Transform3(), bool isNormalFlipped=false) | |
Constructs a surface with normal direction. More... | |
Surface3 (const Surface3 &other) | |
Copy constructor. More... | |
virtual | ~Surface3 () |
Default destructor. More... | |
Vector3D | closestPoint (const Vector3D &otherPoint) const |
BoundingBox3D | boundingBox () const |
Returns the bounding box of this surface object. More... | |
bool | intersects (const Ray3D &ray) const |
Returns true if the given ray intersects with this surface object. More... | |
double | closestDistance (const Vector3D &otherPoint) const |
SurfaceRayIntersection3 | closestIntersection (const Ray3D &ray) const |
Returns the closest intersection point for given ray . More... | |
Vector3D | closestNormal (const Vector3D &otherPoint) const |
virtual void | updateQueryEngine () |
Updates internal spatial query engine. More... | |
virtual bool | isBounded () const |
Returns true if bounding box can be defined. More... | |
virtual bool | isValidGeometry () const |
Returns true if the surface is a valid geometry. More... | |
bool | isInside (const Vector3D &otherPoint) const |
Protected Member Functions | |
virtual double | signedDistanceLocal (const Vector3D &otherPoint) const =0 |
![]() | |
virtual Vector3D | closestPointLocal (const Vector3D &otherPoint) const =0 |
virtual BoundingBox3D | boundingBoxLocal () const =0 |
Returns the bounding box of this surface object in local frame. More... | |
virtual SurfaceRayIntersection3 | closestIntersectionLocal (const Ray3D &ray) const =0 |
Returns the closest intersection point for given ray in local frame. More... | |
virtual Vector3D | closestNormalLocal (const Vector3D &otherPoint) const =0 |
virtual bool | intersectsLocal (const Ray3D &ray) const |
Additional Inherited Members | |
![]() | |
Transform3 | transform |
Local-to-world transform. More... | |
bool | isNormalFlipped = false |
Flips normal when calling Surface3::closestNormal(...). More... | |
Abstract base class for 3-D implicit surface.
jet::ImplicitSurface3::ImplicitSurface3 | ( | const Transform3 & | transform = Transform3() , |
bool | isNormalFlipped = false |
||
) |
Default constructor.
jet::ImplicitSurface3::ImplicitSurface3 | ( | const ImplicitSurface3 & | other | ) |
Copy constructor.
|
virtual |
Default destructor.
double jet::ImplicitSurface3::signedDistance | ( | const Vector3D & | otherPoint | ) | const |
Returns signed distance from the given point otherPoint
.
|
protectedpure virtual |
Returns signed distance from the given point otherPoint
in local space.
Implemented in jet::SurfaceToImplicit3.