To home page

3D source code. Curve made up of Bézier segments

Home page

Previous topics :
Four-component vector
Base CXMMGeometry class
Base CXMMSegment class

Curve is made up of Bézier segments

This curve is made up of a number of Bézier segments. This list is controlled by dynamically-sized array of pointers (CXMMList) whose main functions are

  • int AddPointer(void *pointer);
  • void *GetPointer(int index);
  • int GetNumPointers();
  • The parameterisation of the curve is different from segments and patches : it varies from zero to its length.
    The curve is smooth if every three controls points at a joint lie on the same straight line. On the picture below, the direction of r2-r3 needs to be equal to the direction of r3-r4.

    © Copyright 2007..2009 MI Simulators