blob: aadaec4c241c15b807221b6aa5b5d5ea83f4b624 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
// File: StepToGeom_MakeBSplineCurve2d.cxx
// Created: Fri Jul 2 15:43:42 1993
// Author: Martine LANGLOIS
#include <StepToGeom_MakeBSplineCurve2d.ixx>
#include <gp_Pnt2d.hxx>
#include <StepGeom_HArray1OfCartesianPoint.hxx>
#include <TColStd_HArray1OfInteger.hxx>
#include <TColStd_HArray1OfReal.hxx>
#include <StepGeom_BSplineCurveWithKnots.hxx>
#include <StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve.hxx>
#include <TColgp_Array1OfPnt2d.hxx>
#include <TColStd_Array1OfInteger.hxx>
#include <TColStd_Array1OfReal.hxx>
#include <StepGeom_CartesianPoint.hxx>
#include <StepToGeom_MakeCartesianPoint2d.hxx>
#include <Geom2d_CartesianPoint.hxx>
//=============================================================================
// Creation d' une BSplineCurve de Geom2d a partir d' une
// BSplineCurveWithKnotsAndRationalBSplineCurve de Step
//=============================================================================
#define Array1OfPnt_gen TColgp_Array1OfPnt2d
#define Pnt_gen gp_Pnt2d
#define CartesianPoint_gen Handle(Geom2d_CartesianPoint)
#define StepToGeom_MakeCartesianPoint_gen StepToGeom_MakeCartesianPoint2d
#define Pnt_fonc Pnt2d
#define BSplineCurve_gen Geom2d_BSplineCurve
#define BSplineCurve_retour Handle(Geom2d_BSplineCurve)
#define StepToGeom_MakeBSplineCurve_gen StepToGeom_MakeBSplineCurve2d
Standard_Boolean StepToGeom_MakeBSplineCurve2d::Convert
(const Handle(StepGeom_BSplineCurve)& SC,
Handle(Geom2d_BSplineCurve)& CC)
#include <StepToGeom_MakeBSplineCurve.pxx>
#undef Array1OfPnt_gen
#undef Pnt_gen
#undef CartesianPoint_gen
#undef StepToGeom_MakeCartesianPoint_gen
#undef Pnt_fonc
#undef BSplineCurve_gen
#undef StepToGeom_MakeBSplineCurve_gen
#undef BSplineCurve_retour
|