MOAB: Mesh Oriented datABase  (version 5.4.1)
MBMesquite::CurveDomain Class Reference

Domain used for optional curve smoother. More...

#include <CurveDomain.hpp>

+ Inheritance diagram for MBMesquite::CurveDomain:

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.

Detailed Description

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.


Member Function Documentation

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.

Parameters:
from_herePoint on curve from which to measure
lengthLength along curve to move
result_pointOutput. 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().

List of all members.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines