Go to the documentation of this file.
7 #ifndef INCLUDE_JET_IMPLICIT_SURFACE2_H_
8 #define INCLUDE_JET_IMPLICIT_SURFACE2_H_
37 double closestDistanceLocal(
const Vector2D& otherPoint)
const override;
39 bool isInsideLocal(
const Vector2D& otherPoint)
const override;
47 #endif // INCLUDE_JET_IMPLICIT_SURFACE2_H_
bool isNormalFlipped
Flips normal.
Definition: surface2.h:33
virtual double signedDistanceLocal(const Vector2D &otherPoint) const =0
ImplicitSurface2(const ImplicitSurface2 &other)
Copy constructor.
ImplicitSurface2(const Transform2 &transform=Transform2(), bool isNormalFlipped=false)
Default constructor.
double signedDistance(const Vector2D &otherPoint) const
Returns signed distance from the given point otherPoint.
Definition: advection_solver2.h:18
Transform2 transform
Local-to-world transform.
Definition: surface2.h:30
std::shared_ptr< ImplicitSurface2 > ImplicitSurface2Ptr
Shared pointer type for the ImplicitSurface2.
Definition: implicit_surface2.h:43
2-D vector class.
Definition: vector2.h:24
virtual ~ImplicitSurface2()
Default destructor.
Abstract base class for 2-D surface.
Definition: surface2.h:27
Abstract base class for 2-D implicit surface.
Definition: implicit_surface2.h:15