#include <ParamFunctionInt.h>
Inheritance diagram for Go::ParamFunctionInt:
Public Member Functions | |
virtual | ~ParamFunctionInt () |
Destructor. | |
virtual Param0FunctionInt * | getParam0FunctionInt () |
If the object is not of type Param0FunctionInt, return NULL, otherwise return the object. | |
virtual Param1FunctionInt * | getParam1FunctionInt () |
If the object is not of type Param1FunctionInt, return NULL, otherwise return the object. | |
virtual Param2FunctionInt * | getParam2FunctionInt () |
If the object is not of type Param2FunctionInt, return NULL, otherwise return the object. | |
virtual void | subdivide (int pardir, double par, std::vector< boost::shared_ptr< ParamFunctionInt > > &subdiv_objs, std::vector< boost::shared_ptr< ParamFunctionInt > > &bd_objs)=0 |
Subdivide the object in the specified parameter direction and parameter value. | |
virtual bool | monotone (Point &dir, double tol=1.0e-15) const=0 |
Returns true if the object is monotone in any direction. | |
virtual void | getBoundaryObjects (std::vector< boost::shared_ptr< BoundaryFunctionInt > > &bd_objs)=0 |
Return the boundary objects of this object. | |
virtual int | getMeshSize (int dir)=0 |
Return the size of the geometric sample mesh in the specified direction. | |
virtual double | paramFromMesh (int dir, int idx)=0 |
Return the corresponding mesh parameter. | |
virtual std::vector< double >::iterator | getMesh ()=0 |
Return the geometric sample mesh for the parametric function. | |
Protected Attributes | |
std::vector< boost::shared_ptr< BoundaryFunctionInt > > | boundary_obj_ |
Definition at line 57 of file ParamFunctionInt.h.
virtual void Go::ParamFunctionInt::subdivide | ( | int | pardir, | |
double | par, | |||
std::vector< boost::shared_ptr< ParamFunctionInt > > & | subdiv_objs, | |||
std::vector< boost::shared_ptr< ParamFunctionInt > > & | bd_objs | |||
) | [pure virtual] |
Subdivide the object in the specified parameter direction and parameter value.
pardir | direction in which to subdive. Indexing starts at 0. | |
par | parameter in which to subdivide. | |
subdiv_objs | The subparts of this object. Of the same geometric dimension as this object. | |
bd_objs | the boundaries between the returned subdiv_objs. Of geometric dimension 1 less than this object. |
Implemented in Go::Param0FunctionInt, Go::Param1FunctionInt, and Go::Param2FunctionInt.
virtual bool Go::ParamFunctionInt::monotone | ( | Point & | dir, | |
double | tol = 1.0e-15 | |||
) | const [pure virtual] |
Returns true if the object is monotone in any direction.
dir | the direction in which the object is monotone. Relevant only if object is monotone. |
Implemented in Go::Param0FunctionInt, Go::Param1FunctionInt, Go::Param2FunctionInt, Go::Spline1FunctionInt, and Go::Spline2FunctionInt.
virtual void Go::ParamFunctionInt::getBoundaryObjects | ( | std::vector< boost::shared_ptr< BoundaryFunctionInt > > & | bd_objs | ) | [pure virtual] |
Return the boundary objects of this object.
bd_objs | the boundary objects of this object. |
Implemented in Go::Param0FunctionInt, Go::Param1FunctionInt, Go::Param2FunctionInt, and Go::Spline2FunctionInt.
virtual int Go::ParamFunctionInt::getMeshSize | ( | int | dir | ) | [pure virtual] |
Return the size of the geometric sample mesh in the specified direction.
dir | the parameter direction in question. Indexing starts at 0. |
Implemented in Go::Param0FunctionInt, Go::Param1FunctionInt, Go::Param2FunctionInt, and Go::Spline1FunctionInt.
virtual double Go::ParamFunctionInt::paramFromMesh | ( | int | dir, | |
int | idx | |||
) | [pure virtual] |
Return the corresponding mesh parameter.
dir | the parameter direction in question. Indexing starts at 0. | |
idx | the mesh idx in the specified direction. Indexing starts at 0. |
Implemented in Go::Param0FunctionInt, Go::Param1FunctionInt, Go::Param2FunctionInt, and Go::Spline1FunctionInt.