![]() |
Block-Structured AMR Software Framework
|
Implicit function that measures distance to a poly-spline curve in 2-D. More...
#include <AMReX_EB2_IF_Spline.H>
Public Member Functions | |
| void | addSplineElement (std::vector< amrex::RealVect > pts) |
Append a spline segment described by control points pts. | |
| void | addLineElement (std::vector< amrex::RealVect > pts) |
Append a straight line segment with endpoints/control points pts. | |
| amrex::Real | operator() (const amrex::RealArray &p) const |
Signed distance to the closest spline/line element through p. | |
Public Attributes | |
| amrex::Vector< distFcnElement2d * > | geomElements |
| Collection of geometry elements that define the curve. | |
Implicit function that measures distance to a poly-spline curve in 2-D.
|
inline |
Append a straight line segment with endpoints/control points pts.
|
inline |
Append a spline segment described by control points pts.
Ownership stays with the SplineIF; callers must allocate on host.
|
inline |
Signed distance to the closest spline/line element through p.
Uses cpside to determine which side of the spline is considered inside.
| amrex::Vector<distFcnElement2d*> amrex::EB2::SplineIF::geomElements |
Collection of geometry elements that define the curve.