|
Jet
v1.3.3
|
Abstract base class for 2-D implicit surface. More...
#include <jet/implicit_surface2.h>
Public Member Functions | |
| ImplicitSurface2 (const Transform2 &transform=Transform2(), bool isNormalFlipped=false) | |
| Default constructor. More... | |
| ImplicitSurface2 (const ImplicitSurface2 &other) | |
| Copy constructor. More... | |
| virtual | ~ImplicitSurface2 () |
| Default destructor. More... | |
| double | signedDistance (const Vector2D &otherPoint) const |
Returns signed distance from the given point otherPoint. More... | |
Public Member Functions inherited from jet::Surface2 | |
| Surface2 (const Transform2 &transform=Transform2(), bool isNormalFlipped=false) | |
| Constructs a surface with normal direction. More... | |
| Surface2 (const Surface2 &other) | |
| Copy constructor. More... | |
| virtual | ~Surface2 () |
| Default destructor. More... | |
| Vector2D | closestPoint (const Vector2D &otherPoint) const |
| BoundingBox2D | boundingBox () const |
| Returns the bounding box of this surface object. More... | |
| bool | intersects (const Ray2D &ray) const |
Returns true if the given ray intersects with this surface object. More... | |
| double | closestDistance (const Vector2D &otherPoint) const |
| SurfaceRayIntersection2 | closestIntersection (const Ray2D &ray) const |
Returns the closest intersection point for given ray. More... | |
| Vector2D | closestNormal (const Vector2D &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 Vector2D &otherPoint) const |
Protected Member Functions | |
| virtual double | signedDistanceLocal (const Vector2D &otherPoint) const =0 |
Protected Member Functions inherited from jet::Surface2 | |
| virtual Vector2D | closestPointLocal (const Vector2D &otherPoint) const =0 |
| virtual BoundingBox2D | boundingBoxLocal () const =0 |
| Returns the bounding box of this surface object in local frame. More... | |
| virtual SurfaceRayIntersection2 | closestIntersectionLocal (const Ray2D &ray) const =0 |
Returns the closest intersection point for given ray in local frame. More... | |
| virtual Vector2D | closestNormalLocal (const Vector2D &otherPoint) const =0 |
| virtual bool | intersectsLocal (const Ray2D &ray) const |
Additional Inherited Members | |
Public Attributes inherited from jet::Surface2 | |
| Transform2 | transform |
| Local-to-world transform. More... | |
| bool | isNormalFlipped = false |
| Flips normal. More... | |
Abstract base class for 2-D implicit surface.
| jet::ImplicitSurface2::ImplicitSurface2 | ( | const Transform2 & | transform = Transform2(), |
| bool | isNormalFlipped = false |
||
| ) |
Default constructor.
| jet::ImplicitSurface2::ImplicitSurface2 | ( | const ImplicitSurface2 & | other | ) |
Copy constructor.
|
virtual |
Default destructor.
| double jet::ImplicitSurface2::signedDistance | ( | const Vector2D & | 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::SurfaceToImplicit2.
1.8.18