Public Member Functions | Private Member Functions | List of all members
BezierCurve4 Class Reference

4th order bezier curve More...

#include <BezierCurve.h>

Inheritance diagram for BezierCurve4:
Inheritance graph
[legend]
Collaboration diagram for BezierCurve4:
Collaboration graph
[legend]

Public Member Functions

 BezierCurve4 (Point3d in_P0, Point3d in_P1, Point3d in_P2, Point3d in_P3, Point3d in_P4)
 4th order bezier curve
 
- Public Member Functions inherited from BezierCurve
virtual ~BezierCurve ()
 destructor
 
int subdiv (double in_param, Point3d *out_left_xyz, Point3d *out_right_xyz)
 interface function to perform Bezier curve sub-division
 
bool is_ctrl_pts_colinear ()
 returns if the control points are colinear
 
void get_all_ctrl_pts (Point3d *out_ctrl_pts)
 get all the control points of the curve
 
void get_ctrl_pt (int index, Point3d &out_pt)
 get the i'th control point of the curve
 
- Public Member Functions inherited from ParametricCurve
int eval (Point1d in_t, Point3d &out_xyz)
 
int order (void)
 
int deriv1 (Point1d in_t, Point3d &out_xyz)
 
void deriv1_fd (const Point1d in_t, Point3d &dxyz_dt, double step=1.0e-3)
 Evaluate first derivative numerically by finite difference.
 

Private Member Functions

virtual int v_order (void)
 
virtual int v_subdiv (double in_param, Point3d *out_left_xyz, Point3d *out_right_xyz)
 calculates sub-division and returns new sub-curves
 

Additional Inherited Members

- Protected Member Functions inherited from BezierCurve
void checkInputParam (double in_t)
 check if input parameter is within range More...
 
- Protected Attributes inherited from BezierCurve
Point3d * m_ctrl_pts_
 control point data container
 

Detailed Description

4th order bezier curve


The documentation for this class was generated from the following files: