inventor/SoKnot.cpp
void SoKnot::updateMesh(const float Tol) {

  knot->makeMesh(knot->nodes(),
		 knot->segments(),
		 knot->radius(),
		 Tol);

  _old_segments = knot->segments();
  _old_nodes = knot->nodes();
  _old_radius = knot->radius();

  nodes.setValue(knot->nodes());
  segments.setValue(knot->segments());
  radius.setValue(knot->radius());
}
/*!
  Recreates the mesh using the params currently stored
  in knot. Used for example by refine to update the internal
  mesh and number of nodes.
*/
Recreates the mesh using the params currently stored
in knot. Used for example by refine to update the internal
mesh and number of nodes.
Recreates the mesh using the params currently stored in knot . Used for example by refine to update the internal mesh and number of nodes .
void SoKnot::updateMesh(const float Tol) {
  knot->makeMesh(knot->nodes(),
		 knot->segments(),
		 knot->radius(),
		 Tol);
  _old_segments = knot->segments();
  _old_nodes = knot->nodes();
  _old_radius = knot->radius();
  nodes.setValue(knot->nodes());
  segments.setValue(knot->segments());
  radius.setValue(knot->radius());
}
void SoKnot :: updateMesh ( const float Tol ) { knot -> makeMesh ( knot -> nodes ( ) , knot -> segments ( ) , knot -> radius ( ) , Tol ) ; _old_segments = knot -> segments ( ) ; _old_nodes = knot -> nodes ( ) ; _old_radius = knot -> radius ( ) ; nodes . setValue ( knot -> nodes ( ) ) ; segments . setValue ( knot -> segments ( ) ) ; radius . setValue ( knot -> radius ( ) ) ; }
Recreates the mesh using the params currently stored
in knot.
Recreates the mesh using the params currently stored in knot .