|
Open CASCADE Technology
6.5.4
|
#include <Standard.hxx>#include <Standard_DefineAlloc.hxx>#include <Standard_Macro.hxx>#include <Standard_Boolean.hxx>#include <Standard_Address.hxx>#include <Standard_Real.hxx>#include <Standard_Integer.hxx>#include <gp_Pnt.hxx>#include <CPnts_UniformDeflection.lxx>Data Structures | |
| class | CPnts_UniformDeflection |
| This classe defines an algorithm to create a set of points at the positions of constant deflection of a given curve or a trimmed circle. The continuity of the curve must be at least C2. the usage of the is the following. class myUniformDFeflection instantiates UniformDeflection(Curve, Tool); Curve C; // Curve inherits from Curve or Curve2d from Adaptor2d myUniformDeflection Iter1; DefPntOfmyUniformDeflection P; for(Iter1.Initialize(C, Deflection, EPSILON, True); Iter1.More(); Iter1.Next()) { P = Iter1.Value(); ... make something with P } if(!Iter1.IsAllDone()) { ... something wrong happened } More... | |
1.8.0