MOAB: Mesh Oriented datABase
(version 5.4.1)
|
Domain used for optional curve smoother. More...
#include <CurveDomain.hpp>
Public Member Functions | |
virtual double | arc_length (const double position1[3], const double position2[3], MsqError &err)=0 |
Measure arc length along curve. | |
virtual void | position_from_length (const double from_here[3], double length, double result_point[3], MsqError &err)=0 |
Get a position on the curve given an arc length. |
Domain used for optional curve smoother.
Provide necessary functionality for interogating a topologically one-dimensional domain (a curve).
Definition at line 45 of file CurveDomain.hpp.
virtual double MBMesquite::CurveDomain::arc_length | ( | const double | position1[3], |
const double | position2[3], | ||
MsqError & | err | ||
) | [pure virtual] |
Measure arc length along curve.
Get the length along a curve between two points on the curve.
Implemented in MBMesquite::CircleDomain, and MBMesquite::LineDomain.
Referenced by MBMesquite::DeformingCurveSmoother::smooth_curve().
virtual void MBMesquite::CurveDomain::position_from_length | ( | const double | from_here[3], |
double | length, | ||
double | result_point[3], | ||
MsqError & | err | ||
) | [pure virtual] |
Get a position on the curve given an arc length.
Measure a specified arc length along a curve.
from_here | Point on curve from which to measure |
length | Length along curve to move |
result_point | Output. A point on the curve length units from the point from_here in the forward direction along the curve. |
Implemented in MBMesquite::CircleDomain, and MBMesquite::LineDomain.
Referenced by MBMesquite::DeformingCurveSmoother::smooth_curve().