mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0024002: Overall code and build procedure refactoring -- automatic
Automatic upgrade of OCCT code by command "occt_upgrade . -nocdl": - WOK-generated header files from inc and sources from drv are moved to src - CDL files removed - All packages are converted to nocdlpack
This commit is contained in:
@@ -1,4 +1,95 @@
|
||||
StepToGeom_MakeAxis1Placement.cxx
|
||||
StepToGeom_MakeAxis1Placement.hxx
|
||||
StepToGeom_MakeAxis2Placement.cxx
|
||||
StepToGeom_MakeAxis2Placement.hxx
|
||||
StepToGeom_MakeAxisPlacement.cxx
|
||||
StepToGeom_MakeAxisPlacement.hxx
|
||||
StepToGeom_MakeBoundedCurve.cxx
|
||||
StepToGeom_MakeBoundedCurve.hxx
|
||||
StepToGeom_MakeBoundedCurve2d.cxx
|
||||
StepToGeom_MakeBoundedCurve2d.hxx
|
||||
StepToGeom_MakeBoundedSurface.cxx
|
||||
StepToGeom_MakeBoundedSurface.hxx
|
||||
StepToGeom_MakeBSplineCurve.cxx
|
||||
StepToGeom_MakeBSplineCurve.hxx
|
||||
StepToGeom_MakeBSplineCurve.pxx
|
||||
StepToGeom_WOKSteps.edl
|
||||
StepToGeom_CMPLRS.edl
|
||||
|
||||
StepToGeom_MakeBSplineCurve2d.cxx
|
||||
StepToGeom_MakeBSplineCurve2d.hxx
|
||||
StepToGeom_MakeBSplineSurface.cxx
|
||||
StepToGeom_MakeBSplineSurface.hxx
|
||||
StepToGeom_MakeCartesianPoint.cxx
|
||||
StepToGeom_MakeCartesianPoint.hxx
|
||||
StepToGeom_MakeCartesianPoint2d.cxx
|
||||
StepToGeom_MakeCartesianPoint2d.hxx
|
||||
StepToGeom_MakeCircle.cxx
|
||||
StepToGeom_MakeCircle.hxx
|
||||
StepToGeom_MakeCircle2d.cxx
|
||||
StepToGeom_MakeCircle2d.hxx
|
||||
StepToGeom_MakeConic.cxx
|
||||
StepToGeom_MakeConic.hxx
|
||||
StepToGeom_MakeConic2d.cxx
|
||||
StepToGeom_MakeConic2d.hxx
|
||||
StepToGeom_MakeConicalSurface.cxx
|
||||
StepToGeom_MakeConicalSurface.hxx
|
||||
StepToGeom_MakeCurve.cxx
|
||||
StepToGeom_MakeCurve.hxx
|
||||
StepToGeom_MakeCurve2d.cxx
|
||||
StepToGeom_MakeCurve2d.hxx
|
||||
StepToGeom_MakeCylindricalSurface.cxx
|
||||
StepToGeom_MakeCylindricalSurface.hxx
|
||||
StepToGeom_MakeDirection.cxx
|
||||
StepToGeom_MakeDirection.hxx
|
||||
StepToGeom_MakeDirection2d.cxx
|
||||
StepToGeom_MakeDirection2d.hxx
|
||||
StepToGeom_MakeElementarySurface.cxx
|
||||
StepToGeom_MakeElementarySurface.hxx
|
||||
StepToGeom_MakeEllipse.cxx
|
||||
StepToGeom_MakeEllipse.hxx
|
||||
StepToGeom_MakeEllipse2d.cxx
|
||||
StepToGeom_MakeEllipse2d.hxx
|
||||
StepToGeom_MakeHyperbola.cxx
|
||||
StepToGeom_MakeHyperbola.hxx
|
||||
StepToGeom_MakeHyperbola2d.cxx
|
||||
StepToGeom_MakeHyperbola2d.hxx
|
||||
StepToGeom_MakeLine.cxx
|
||||
StepToGeom_MakeLine.hxx
|
||||
StepToGeom_MakeLine2d.cxx
|
||||
StepToGeom_MakeLine2d.hxx
|
||||
StepToGeom_MakeParabola.cxx
|
||||
StepToGeom_MakeParabola.hxx
|
||||
StepToGeom_MakeParabola2d.cxx
|
||||
StepToGeom_MakeParabola2d.hxx
|
||||
StepToGeom_MakePlane.cxx
|
||||
StepToGeom_MakePlane.hxx
|
||||
StepToGeom_MakePolyline.cxx
|
||||
StepToGeom_MakePolyline.hxx
|
||||
StepToGeom_MakePolyline2d.cxx
|
||||
StepToGeom_MakePolyline2d.hxx
|
||||
StepToGeom_MakeRectangularTrimmedSurface.cxx
|
||||
StepToGeom_MakeRectangularTrimmedSurface.hxx
|
||||
StepToGeom_MakeSphericalSurface.cxx
|
||||
StepToGeom_MakeSphericalSurface.hxx
|
||||
StepToGeom_MakeSurface.cxx
|
||||
StepToGeom_MakeSurface.hxx
|
||||
StepToGeom_MakeSurfaceOfLinearExtrusion.cxx
|
||||
StepToGeom_MakeSurfaceOfLinearExtrusion.hxx
|
||||
StepToGeom_MakeSurfaceOfRevolution.cxx
|
||||
StepToGeom_MakeSurfaceOfRevolution.hxx
|
||||
StepToGeom_MakeSweptSurface.cxx
|
||||
StepToGeom_MakeSweptSurface.hxx
|
||||
StepToGeom_MakeToroidalSurface.cxx
|
||||
StepToGeom_MakeToroidalSurface.hxx
|
||||
StepToGeom_MakeTransformation2d.cxx
|
||||
StepToGeom_MakeTransformation2d.hxx
|
||||
StepToGeom_MakeTransformation3d.cxx
|
||||
StepToGeom_MakeTransformation3d.hxx
|
||||
StepToGeom_MakeTrimmedCurve.cxx
|
||||
StepToGeom_MakeTrimmedCurve.hxx
|
||||
StepToGeom_MakeTrimmedCurve2d.cxx
|
||||
StepToGeom_MakeTrimmedCurve2d.hxx
|
||||
StepToGeom_MakeVectorWithMagnitude.cxx
|
||||
StepToGeom_MakeVectorWithMagnitude.hxx
|
||||
StepToGeom_MakeVectorWithMagnitude2d.cxx
|
||||
StepToGeom_MakeVectorWithMagnitude2d.hxx
|
||||
StepToGeom_Root.cxx
|
||||
StepToGeom_Root.hxx
|
||||
|
@@ -1,76 +0,0 @@
|
||||
-- Created on: 1993-06-11
|
||||
-- Created by: Martine LANGLOIS
|
||||
-- Copyright (c) 1993-1999 Matra Datavision
|
||||
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
--
|
||||
-- This file is part of Open CASCADE Technology software library.
|
||||
--
|
||||
-- This library is free software; you can redistribute it and/or modify it under
|
||||
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
-- by the Free Software Foundation, with special exception defined in the file
|
||||
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
-- distribution for complete text of the license and disclaimer of any warranty.
|
||||
--
|
||||
-- Alternatively, this file may be used under the terms of Open CASCADE
|
||||
-- commercial license or contractual agreement.
|
||||
|
||||
package StepToGeom
|
||||
|
||||
--- Purpose: Creation des entites geometriques de Geom a partir du schema
|
||||
-- StepGeom (Part42, geometric)
|
||||
|
||||
uses gp, Geom, Geom2d, StepGeom, StdFail
|
||||
|
||||
is
|
||||
|
||||
private deferred class Root;
|
||||
class MakeCartesianPoint;
|
||||
class MakeCartesianPoint2d;
|
||||
class MakeAxisPlacement;
|
||||
class MakeAxis1Placement;
|
||||
class MakeAxis2Placement;
|
||||
class MakeDirection;
|
||||
class MakeDirection2d;
|
||||
class MakeVectorWithMagnitude;
|
||||
class MakeVectorWithMagnitude2d;
|
||||
class MakeCurve;
|
||||
class MakeTrimmedCurve;
|
||||
class MakeTrimmedCurve2d;
|
||||
class MakeCurve2d;
|
||||
class MakeConic;
|
||||
class MakeConic2d;
|
||||
class MakeBoundedCurve;
|
||||
class MakeBoundedCurve2d;
|
||||
class MakeEllipse;
|
||||
class MakeEllipse2d;
|
||||
class MakeHyperbola;
|
||||
class MakeHyperbola2d;
|
||||
class MakeParabola;
|
||||
class MakeParabola2d;
|
||||
class MakeCircle;
|
||||
class MakeCircle2d;
|
||||
class MakeBSplineCurve;
|
||||
class MakeBSplineCurve2d;
|
||||
class MakeLine;
|
||||
class MakeLine2d;
|
||||
class MakePolyline;
|
||||
class MakePolyline2d;
|
||||
class MakePlane;
|
||||
class MakeSurface;
|
||||
class MakeBoundedSurface;
|
||||
class MakeElementarySurface;
|
||||
class MakeSweptSurface;
|
||||
class MakeConicalSurface;
|
||||
class MakeCylindricalSurface;
|
||||
class MakeRectangularTrimmedSurface;
|
||||
class MakeSphericalSurface;
|
||||
class MakeSurfaceOfLinearExtrusion;
|
||||
class MakeSurfaceOfRevolution;
|
||||
class MakeToroidalSurface;
|
||||
class MakeBSplineSurface;
|
||||
class MakeTransformation3d;
|
||||
class MakeTransformation2d;
|
||||
|
||||
-- class CheckSurfaceClosure;
|
||||
|
||||
end StepToGeom;
|
@@ -1,28 +0,0 @@
|
||||
-- Created on: 1997-05-21
|
||||
-- Created by: Christian CAILLET
|
||||
-- Copyright (c) 1997-1999 Matra Datavision
|
||||
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
--
|
||||
-- This file is part of Open CASCADE Technology software library.
|
||||
--
|
||||
-- This library is free software; you can redistribute it and/or modify it under
|
||||
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
-- by the Free Software Foundation, with special exception defined in the file
|
||||
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
-- distribution for complete text of the license and disclaimer of any warranty.
|
||||
--
|
||||
-- Alternatively, this file may be used under the terms of Open CASCADE
|
||||
-- commercial license or contractual agreement.
|
||||
|
||||
-- Pb compil gros code HP-UX sous WOK++
|
||||
-- trop de warning -> shut up
|
||||
|
||||
@if ( %Station == "sil" ) then
|
||||
|
||||
@string %CMPLRS_CXX_Options = %CMPLRS_CXX_Options " -w ";
|
||||
|
||||
-- Pb optimiseur (O2) pas fiable
|
||||
|
||||
@set %ModeOpt = "+O1";
|
||||
|
||||
@endif;
|
@@ -1,31 +0,0 @@
|
||||
-- Created on: 1993-06-14
|
||||
-- Created by: Martine LANGLOIS
|
||||
-- Copyright (c) 1993-1999 Matra Datavision
|
||||
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
--
|
||||
-- This file is part of Open CASCADE Technology software library.
|
||||
--
|
||||
-- This library is free software; you can redistribute it and/or modify it under
|
||||
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
-- by the Free Software Foundation, with special exception defined in the file
|
||||
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
-- distribution for complete text of the license and disclaimer of any warranty.
|
||||
--
|
||||
-- Alternatively, this file may be used under the terms of Open CASCADE
|
||||
-- commercial license or contractual agreement.
|
||||
|
||||
class MakeAxis1Placement from StepToGeom
|
||||
|
||||
---Purpose: This class implements the mapping between classes
|
||||
-- Axis1Placement from Step and Axis1Placement from Geom
|
||||
|
||||
uses Axis1Placement from Geom,
|
||||
Axis1Placement from StepGeom
|
||||
|
||||
is
|
||||
|
||||
Convert ( myclass; SA : Axis1Placement from StepGeom;
|
||||
CA : out Axis1Placement from Geom )
|
||||
returns Boolean from Standard;
|
||||
|
||||
end MakeAxis1Placement;
|
@@ -16,21 +16,21 @@
|
||||
|
||||
// sln 22.10.2001. CTS23496: If problems with creation of axis's direction occur default direction is used (StepToGeom_MakeAxis1Placement(...) function)
|
||||
|
||||
#include <StepToGeom_MakeAxis1Placement.ixx>
|
||||
#include <StepGeom_Direction.hxx>
|
||||
#include <StepGeom_CartesianPoint.hxx>
|
||||
#include <StepToGeom_MakeDirection.hxx>
|
||||
#include <StepToGeom_MakeCartesianPoint.hxx>
|
||||
#include <Geom_Axis1Placement.hxx>
|
||||
#include <Geom_CartesianPoint.hxx>
|
||||
#include <Geom_Direction.hxx>
|
||||
#include <gp_Dir.hxx>
|
||||
#include <gp_Pnt.hxx>
|
||||
#include <Geom_Axis1Placement.hxx>
|
||||
#include <StepGeom_Axis1Placement.hxx>
|
||||
#include <StepGeom_CartesianPoint.hxx>
|
||||
#include <StepGeom_Direction.hxx>
|
||||
#include <StepToGeom_MakeAxis1Placement.hxx>
|
||||
#include <StepToGeom_MakeCartesianPoint.hxx>
|
||||
#include <StepToGeom_MakeDirection.hxx>
|
||||
|
||||
//=============================================================================
|
||||
// Creation d' un Ax1Placement de Geom a partir d' un axis1_placement de Step
|
||||
//=============================================================================
|
||||
|
||||
Standard_Boolean StepToGeom_MakeAxis1Placement::Convert (const Handle(StepGeom_Axis1Placement)& SA, Handle(Geom_Axis1Placement)& CA)
|
||||
{
|
||||
Handle(Geom_CartesianPoint) P;
|
||||
|
63
src/StepToGeom/StepToGeom_MakeAxis1Placement.hxx
Normal file
63
src/StepToGeom/StepToGeom_MakeAxis1Placement.hxx
Normal file
@@ -0,0 +1,63 @@
|
||||
// Created on: 1993-06-14
|
||||
// Created by: Martine LANGLOIS
|
||||
// Copyright (c) 1993-1999 Matra Datavision
|
||||
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepToGeom_MakeAxis1Placement_HeaderFile
|
||||
#define _StepToGeom_MakeAxis1Placement_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_DefineAlloc.hxx>
|
||||
#include <Standard_Handle.hxx>
|
||||
|
||||
#include <Standard_Boolean.hxx>
|
||||
class StepGeom_Axis1Placement;
|
||||
class Geom_Axis1Placement;
|
||||
|
||||
|
||||
//! This class implements the mapping between classes
|
||||
//! Axis1Placement from Step and Axis1Placement from Geom
|
||||
class StepToGeom_MakeAxis1Placement
|
||||
{
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
Standard_EXPORT static Standard_Boolean Convert (const Handle(StepGeom_Axis1Placement)& SA, Handle(Geom_Axis1Placement)& CA);
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepToGeom_MakeAxis1Placement_HeaderFile
|
@@ -1,31 +0,0 @@
|
||||
-- Created on: 1993-06-14
|
||||
-- Created by: Martine LANGLOIS
|
||||
-- Copyright (c) 1993-1999 Matra Datavision
|
||||
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
--
|
||||
-- This file is part of Open CASCADE Technology software library.
|
||||
--
|
||||
-- This library is free software; you can redistribute it and/or modify it under
|
||||
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
-- by the Free Software Foundation, with special exception defined in the file
|
||||
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
-- distribution for complete text of the license and disclaimer of any warranty.
|
||||
--
|
||||
-- Alternatively, this file may be used under the terms of Open CASCADE
|
||||
-- commercial license or contractual agreement.
|
||||
|
||||
class MakeAxis2Placement from StepToGeom
|
||||
|
||||
---Purpose: This class implements the mapping between classes
|
||||
-- Axis2Placement from Step and Axis2Placement from Geom
|
||||
|
||||
uses Axis2Placement from Geom,
|
||||
Axis2Placement3d from StepGeom
|
||||
|
||||
is
|
||||
|
||||
Convert ( myclass; SA : Axis2Placement3d from StepGeom;
|
||||
CA : out Axis2Placement from Geom )
|
||||
returns Boolean from Standard;
|
||||
|
||||
end MakeAxis2Placement;
|
@@ -16,20 +16,21 @@
|
||||
|
||||
// sln 22.10.2001. CTS23496: If problems with creation of direction occur default direction is used (StepToGeom_MakeAxis2Placement(...) function)
|
||||
|
||||
#include <StepToGeom_MakeAxis2Placement.ixx>
|
||||
#include <StepToGeom_MakeCartesianPoint.hxx>
|
||||
#include <StepToGeom_MakeDirection.hxx>
|
||||
#include <Geom_Axis2Placement.hxx>
|
||||
#include <Geom_CartesianPoint.hxx>
|
||||
#include <Geom_Direction.hxx>
|
||||
#include <gp_Pnt.hxx>
|
||||
#include <gp_Dir.hxx>
|
||||
#include <gp_Ax2.hxx>
|
||||
#include <gp_Dir.hxx>
|
||||
#include <gp_Pnt.hxx>
|
||||
#include <StepGeom_Axis2Placement3d.hxx>
|
||||
#include <StepToGeom_MakeAxis2Placement.hxx>
|
||||
#include <StepToGeom_MakeCartesianPoint.hxx>
|
||||
#include <StepToGeom_MakeDirection.hxx>
|
||||
|
||||
//=============================================================================
|
||||
// Creation d' un Axis2Placement de Geom a partir d' un axis2_placement_3d
|
||||
// de Step
|
||||
//=============================================================================
|
||||
|
||||
Standard_Boolean StepToGeom_MakeAxis2Placement::Convert (const Handle(StepGeom_Axis2Placement3d)& SA, Handle(Geom_Axis2Placement)& CA)
|
||||
{
|
||||
Handle(Geom_CartesianPoint) P;
|
||||
|
63
src/StepToGeom/StepToGeom_MakeAxis2Placement.hxx
Normal file
63
src/StepToGeom/StepToGeom_MakeAxis2Placement.hxx
Normal file
@@ -0,0 +1,63 @@
|
||||
// Created on: 1993-06-14
|
||||
// Created by: Martine LANGLOIS
|
||||
// Copyright (c) 1993-1999 Matra Datavision
|
||||
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepToGeom_MakeAxis2Placement_HeaderFile
|
||||
#define _StepToGeom_MakeAxis2Placement_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_DefineAlloc.hxx>
|
||||
#include <Standard_Handle.hxx>
|
||||
|
||||
#include <Standard_Boolean.hxx>
|
||||
class StepGeom_Axis2Placement3d;
|
||||
class Geom_Axis2Placement;
|
||||
|
||||
|
||||
//! This class implements the mapping between classes
|
||||
//! Axis2Placement from Step and Axis2Placement from Geom
|
||||
class StepToGeom_MakeAxis2Placement
|
||||
{
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
Standard_EXPORT static Standard_Boolean Convert (const Handle(StepGeom_Axis2Placement3d)& SA, Handle(Geom_Axis2Placement)& CA);
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepToGeom_MakeAxis2Placement_HeaderFile
|
@@ -1,31 +0,0 @@
|
||||
-- Created on: 1994-08-26
|
||||
-- Created by: Frederic MAUPAS
|
||||
-- Copyright (c) 1994-1999 Matra Datavision
|
||||
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
--
|
||||
-- This file is part of Open CASCADE Technology software library.
|
||||
--
|
||||
-- This library is free software; you can redistribute it and/or modify it under
|
||||
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
-- by the Free Software Foundation, with special exception defined in the file
|
||||
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
-- distribution for complete text of the license and disclaimer of any warranty.
|
||||
--
|
||||
-- Alternatively, this file may be used under the terms of Open CASCADE
|
||||
-- commercial license or contractual agreement.
|
||||
|
||||
class MakeAxisPlacement from StepToGeom
|
||||
|
||||
---Purpose: This class implements the mapping between classes
|
||||
-- Axis2Placement2d from Step and AxisPlacement from Geom2d
|
||||
|
||||
uses AxisPlacement from Geom2d,
|
||||
Axis2Placement2d from StepGeom
|
||||
|
||||
is
|
||||
|
||||
Convert ( myclass; SA : Axis2Placement2d from StepGeom;
|
||||
CA : out AxisPlacement from Geom2d )
|
||||
returns Boolean from Standard;
|
||||
|
||||
end MakeAxisPlacement;
|
@@ -16,19 +16,20 @@
|
||||
|
||||
// sln 23.10.2001. CTS23496: If problems with creation of direction occur default direction is used
|
||||
|
||||
#include <StepToGeom_MakeAxisPlacement.ixx>
|
||||
#include <StepToGeom_MakeCartesianPoint2d.hxx>
|
||||
#include <StepToGeom_MakeDirection2d.hxx>
|
||||
#include <Geom2d_AxisPlacement.hxx>
|
||||
#include <Geom2d_CartesianPoint.hxx>
|
||||
#include <Geom2d_Direction.hxx>
|
||||
#include <gp_Pnt2d.hxx>
|
||||
#include <gp_Dir2d.hxx>
|
||||
#include <gp_Pnt2d.hxx>
|
||||
#include <StepGeom_Axis2Placement2d.hxx>
|
||||
#include <StepToGeom_MakeAxisPlacement.hxx>
|
||||
#include <StepToGeom_MakeCartesianPoint2d.hxx>
|
||||
#include <StepToGeom_MakeDirection2d.hxx>
|
||||
|
||||
//=============================================================================
|
||||
// Creation d' un AxisPlacement de Geom2d a partir d' un axis2_placement_3d
|
||||
// de Step
|
||||
//=============================================================================
|
||||
|
||||
Standard_Boolean StepToGeom_MakeAxisPlacement::Convert
|
||||
(const Handle(StepGeom_Axis2Placement2d)& SA,
|
||||
Handle(Geom2d_AxisPlacement)& CA)
|
||||
|
63
src/StepToGeom/StepToGeom_MakeAxisPlacement.hxx
Normal file
63
src/StepToGeom/StepToGeom_MakeAxisPlacement.hxx
Normal file
@@ -0,0 +1,63 @@
|
||||
// Created on: 1994-08-26
|
||||
// Created by: Frederic MAUPAS
|
||||
// Copyright (c) 1994-1999 Matra Datavision
|
||||
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepToGeom_MakeAxisPlacement_HeaderFile
|
||||
#define _StepToGeom_MakeAxisPlacement_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_DefineAlloc.hxx>
|
||||
#include <Standard_Handle.hxx>
|
||||
|
||||
#include <Standard_Boolean.hxx>
|
||||
class StepGeom_Axis2Placement2d;
|
||||
class Geom2d_AxisPlacement;
|
||||
|
||||
|
||||
//! This class implements the mapping between classes
|
||||
//! Axis2Placement2d from Step and AxisPlacement from Geom2d
|
||||
class StepToGeom_MakeAxisPlacement
|
||||
{
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
Standard_EXPORT static Standard_Boolean Convert (const Handle(StepGeom_Axis2Placement2d)& SA, Handle(Geom2d_AxisPlacement)& CA);
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepToGeom_MakeAxisPlacement_HeaderFile
|
@@ -1,32 +0,0 @@
|
||||
-- Created on: 1993-06-14
|
||||
-- Created by: Martine LANGLOIS
|
||||
-- Copyright (c) 1993-1999 Matra Datavision
|
||||
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
--
|
||||
-- This file is part of Open CASCADE Technology software library.
|
||||
--
|
||||
-- This library is free software; you can redistribute it and/or modify it under
|
||||
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
-- by the Free Software Foundation, with special exception defined in the file
|
||||
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
-- distribution for complete text of the license and disclaimer of any warranty.
|
||||
--
|
||||
-- Alternatively, this file may be used under the terms of Open CASCADE
|
||||
-- commercial license or contractual agreement.
|
||||
|
||||
class MakeBSplineCurve from StepToGeom
|
||||
|
||||
---Purpose: This class implements the mapping between all classes of
|
||||
-- BSplineCurve from StepGeom and BSplineCurve from Geom
|
||||
|
||||
uses
|
||||
BSplineCurve from Geom,
|
||||
BSplineCurve from StepGeom
|
||||
|
||||
is
|
||||
|
||||
Convert ( myclass; SC : BSplineCurve from StepGeom;
|
||||
CC : out BSplineCurve from Geom )
|
||||
returns Boolean from Standard;
|
||||
|
||||
end MakeBSplineCurve;
|
@@ -14,24 +14,26 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepToGeom_MakeBSplineCurve.ixx>
|
||||
|
||||
#include <Geom_BSplineCurve.hxx>
|
||||
#include <Geom_CartesianPoint.hxx>
|
||||
#include <gp_Pnt.hxx>
|
||||
#include <StepGeom_HArray1OfCartesianPoint.hxx>
|
||||
#include <TColStd_HArray1OfInteger.hxx>
|
||||
#include <TColStd_HArray1OfReal.hxx>
|
||||
#include <StepGeom_BSplineCurve.hxx>
|
||||
#include <StepGeom_BSplineCurveWithKnots.hxx>
|
||||
#include <StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve.hxx>
|
||||
#include <StepGeom_CartesianPoint.hxx>
|
||||
#include <StepGeom_HArray1OfCartesianPoint.hxx>
|
||||
#include <StepToGeom_MakeBSplineCurve.hxx>
|
||||
#include <StepToGeom_MakeCartesianPoint.hxx>
|
||||
#include <TColgp_Array1OfPnt.hxx>
|
||||
#include <TColStd_Array1OfInteger.hxx>
|
||||
#include <TColStd_Array1OfReal.hxx>
|
||||
#include <StepGeom_CartesianPoint.hxx>
|
||||
#include <StepToGeom_MakeCartesianPoint.hxx>
|
||||
#include <Geom_CartesianPoint.hxx>
|
||||
#include <TColStd_HArray1OfInteger.hxx>
|
||||
#include <TColStd_HArray1OfReal.hxx>
|
||||
|
||||
//=============================================================================
|
||||
// Creation d' une BSplineCurve de Geom a partir d' une BSplineCurve de Step
|
||||
//=============================================================================
|
||||
|
||||
#define Array1OfPnt_gen TColgp_Array1OfPnt
|
||||
#define Pnt_gen gp_Pnt
|
||||
#define Pnt_fonc Pnt
|
||||
|
63
src/StepToGeom/StepToGeom_MakeBSplineCurve.hxx
Normal file
63
src/StepToGeom/StepToGeom_MakeBSplineCurve.hxx
Normal file
@@ -0,0 +1,63 @@
|
||||
// Created on: 1993-06-14
|
||||
// Created by: Martine LANGLOIS
|
||||
// Copyright (c) 1993-1999 Matra Datavision
|
||||
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepToGeom_MakeBSplineCurve_HeaderFile
|
||||
#define _StepToGeom_MakeBSplineCurve_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_DefineAlloc.hxx>
|
||||
#include <Standard_Handle.hxx>
|
||||
|
||||
#include <Standard_Boolean.hxx>
|
||||
class StepGeom_BSplineCurve;
|
||||
class Geom_BSplineCurve;
|
||||
|
||||
|
||||
//! This class implements the mapping between all classes of
|
||||
//! BSplineCurve from StepGeom and BSplineCurve from Geom
|
||||
class StepToGeom_MakeBSplineCurve
|
||||
{
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
Standard_EXPORT static Standard_Boolean Convert (const Handle(StepGeom_BSplineCurve)& SC, Handle(Geom_BSplineCurve)& CC);
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepToGeom_MakeBSplineCurve_HeaderFile
|
@@ -1,32 +0,0 @@
|
||||
-- Created on: 1993-07-06
|
||||
-- Created by: Martine LANGLOIS
|
||||
-- Copyright (c) 1993-1999 Matra Datavision
|
||||
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
--
|
||||
-- This file is part of Open CASCADE Technology software library.
|
||||
--
|
||||
-- This library is free software; you can redistribute it and/or modify it under
|
||||
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
-- by the Free Software Foundation, with special exception defined in the file
|
||||
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
-- distribution for complete text of the license and disclaimer of any warranty.
|
||||
--
|
||||
-- Alternatively, this file may be used under the terms of Open CASCADE
|
||||
-- commercial license or contractual agreement.
|
||||
|
||||
class MakeBSplineCurve2d from StepToGeom
|
||||
|
||||
---Purpose: This class implements the mapping between classes
|
||||
-- BSplineCurve from StepGeom and BSplineCurve from Geom2d
|
||||
|
||||
uses
|
||||
BSplineCurve from Geom2d,
|
||||
BSplineCurve from StepGeom
|
||||
|
||||
is
|
||||
|
||||
Convert ( myclass; SC : BSplineCurve from StepGeom;
|
||||
CC : out BSplineCurve from Geom2d)
|
||||
returns Boolean from Standard;
|
||||
|
||||
end MakeBSplineCurve2d;
|
@@ -14,25 +14,27 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepToGeom_MakeBSplineCurve2d.ixx>
|
||||
|
||||
#include <Geom2d_BSplineCurve.hxx>
|
||||
#include <Geom2d_CartesianPoint.hxx>
|
||||
#include <gp_Pnt2d.hxx>
|
||||
#include <StepGeom_HArray1OfCartesianPoint.hxx>
|
||||
#include <TColStd_HArray1OfInteger.hxx>
|
||||
#include <TColStd_HArray1OfReal.hxx>
|
||||
#include <StepGeom_BSplineCurve.hxx>
|
||||
#include <StepGeom_BSplineCurveWithKnots.hxx>
|
||||
#include <StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve.hxx>
|
||||
#include <StepGeom_CartesianPoint.hxx>
|
||||
#include <StepGeom_HArray1OfCartesianPoint.hxx>
|
||||
#include <StepToGeom_MakeBSplineCurve2d.hxx>
|
||||
#include <StepToGeom_MakeCartesianPoint2d.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>
|
||||
#include <TColStd_HArray1OfInteger.hxx>
|
||||
#include <TColStd_HArray1OfReal.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)
|
||||
|
63
src/StepToGeom/StepToGeom_MakeBSplineCurve2d.hxx
Normal file
63
src/StepToGeom/StepToGeom_MakeBSplineCurve2d.hxx
Normal file
@@ -0,0 +1,63 @@
|
||||
// Created on: 1993-07-06
|
||||
// Created by: Martine LANGLOIS
|
||||
// Copyright (c) 1993-1999 Matra Datavision
|
||||
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepToGeom_MakeBSplineCurve2d_HeaderFile
|
||||
#define _StepToGeom_MakeBSplineCurve2d_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_DefineAlloc.hxx>
|
||||
#include <Standard_Handle.hxx>
|
||||
|
||||
#include <Standard_Boolean.hxx>
|
||||
class StepGeom_BSplineCurve;
|
||||
class Geom2d_BSplineCurve;
|
||||
|
||||
|
||||
//! This class implements the mapping between classes
|
||||
//! BSplineCurve from StepGeom and BSplineCurve from Geom2d
|
||||
class StepToGeom_MakeBSplineCurve2d
|
||||
{
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
Standard_EXPORT static Standard_Boolean Convert (const Handle(StepGeom_BSplineCurve)& SC, Handle(Geom2d_BSplineCurve)& CC);
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepToGeom_MakeBSplineCurve2d_HeaderFile
|
@@ -1,32 +0,0 @@
|
||||
-- Created on: 1993-06-22
|
||||
-- Created by: Martine LANGLOIS
|
||||
-- Copyright (c) 1993-1999 Matra Datavision
|
||||
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
--
|
||||
-- This file is part of Open CASCADE Technology software library.
|
||||
--
|
||||
-- This library is free software; you can redistribute it and/or modify it under
|
||||
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
-- by the Free Software Foundation, with special exception defined in the file
|
||||
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
-- distribution for complete text of the license and disclaimer of any warranty.
|
||||
--
|
||||
-- Alternatively, this file may be used under the terms of Open CASCADE
|
||||
-- commercial license or contractual agreement.
|
||||
|
||||
class MakeBSplineSurface from StepToGeom
|
||||
|
||||
---Purpose: This class implements the mapping between classes
|
||||
-- BSplineSurface from StepGeom
|
||||
-- and class BSplineSurface from Geom
|
||||
|
||||
uses BSplineSurface from Geom,
|
||||
BSplineSurface from StepGeom
|
||||
|
||||
is
|
||||
|
||||
Convert ( myclass; SS : BSplineSurface from StepGeom;
|
||||
CS : out BSplineSurface from Geom)
|
||||
returns Boolean from Standard;
|
||||
|
||||
end MakeBSplineSurface;
|
@@ -14,26 +14,28 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepToGeom_MakeBSplineSurface.ixx>
|
||||
|
||||
#include <Geom_BSplineSurface.hxx>
|
||||
#include <Geom_CartesianPoint.hxx>
|
||||
#include <gp_Pnt.hxx>
|
||||
#include <StepGeom_BSplineSurface.hxx>
|
||||
#include <StepGeom_BSplineSurfaceWithKnots.hxx>
|
||||
#include <StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface.hxx>
|
||||
#include <StepGeom_CartesianPoint.hxx>
|
||||
#include <StepGeom_HArray2OfCartesianPoint.hxx>
|
||||
#include <StepToGeom_MakeBSplineSurface.hxx>
|
||||
#include <StepToGeom_MakeCartesianPoint.hxx>
|
||||
#include <TColgp_Array2OfPnt.hxx>
|
||||
#include <TColStd_Array1OfInteger.hxx>
|
||||
#include <TColStd_Array1OfReal.hxx>
|
||||
#include <TColgp_Array2OfPnt.hxx>
|
||||
#include <TColStd_HArray1OfInteger.hxx>
|
||||
#include <TColStd_HArray1OfReal.hxx>
|
||||
#include <TColStd_HArray2OfReal.hxx>
|
||||
#include <StepGeom_HArray2OfCartesianPoint.hxx>
|
||||
#include <StepGeom_CartesianPoint.hxx>
|
||||
#include <StepToGeom_MakeCartesianPoint.hxx>
|
||||
#include <Geom_CartesianPoint.hxx>
|
||||
#include <gp_Pnt.hxx>
|
||||
|
||||
//=============================================================================
|
||||
// Creation d' une BSplineSurface de Geom a partir d' une
|
||||
// BSplineSurface de Step
|
||||
//=============================================================================
|
||||
|
||||
Standard_Boolean StepToGeom_MakeBSplineSurface::Convert
|
||||
(const Handle(StepGeom_BSplineSurface)& SS,
|
||||
Handle(Geom_BSplineSurface)& CS)
|
||||
|
64
src/StepToGeom/StepToGeom_MakeBSplineSurface.hxx
Normal file
64
src/StepToGeom/StepToGeom_MakeBSplineSurface.hxx
Normal file
@@ -0,0 +1,64 @@
|
||||
// Created on: 1993-06-22
|
||||
// Created by: Martine LANGLOIS
|
||||
// Copyright (c) 1993-1999 Matra Datavision
|
||||
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepToGeom_MakeBSplineSurface_HeaderFile
|
||||
#define _StepToGeom_MakeBSplineSurface_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_DefineAlloc.hxx>
|
||||
#include <Standard_Handle.hxx>
|
||||
|
||||
#include <Standard_Boolean.hxx>
|
||||
class StepGeom_BSplineSurface;
|
||||
class Geom_BSplineSurface;
|
||||
|
||||
|
||||
//! This class implements the mapping between classes
|
||||
//! BSplineSurface from StepGeom
|
||||
//! and class BSplineSurface from Geom
|
||||
class StepToGeom_MakeBSplineSurface
|
||||
{
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
Standard_EXPORT static Standard_Boolean Convert (const Handle(StepGeom_BSplineSurface)& SS, Handle(Geom_BSplineSurface)& CS);
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepToGeom_MakeBSplineSurface_HeaderFile
|
@@ -1,35 +0,0 @@
|
||||
-- Created on: 1993-06-21
|
||||
-- Created by: Martine LANGLOIS
|
||||
-- Copyright (c) 1993-1999 Matra Datavision
|
||||
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
--
|
||||
-- This file is part of Open CASCADE Technology software library.
|
||||
--
|
||||
-- This library is free software; you can redistribute it and/or modify it under
|
||||
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
-- by the Free Software Foundation, with special exception defined in the file
|
||||
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
-- distribution for complete text of the license and disclaimer of any warranty.
|
||||
--
|
||||
-- Alternatively, this file may be used under the terms of Open CASCADE
|
||||
-- commercial license or contractual agreement.
|
||||
|
||||
class MakeBoundedCurve from StepToGeom
|
||||
|
||||
---Purpose: This class implements the mapping between classes
|
||||
-- BoundedCurve from
|
||||
-- StepGeom which describes a BoundedCurve from
|
||||
-- prostep and BoundedCurve from Geom.
|
||||
-- As BoundedCurve is an abstract BoundedCurve this class
|
||||
-- is an access to the sub-class required.
|
||||
|
||||
uses BoundedCurve from Geom,
|
||||
BoundedCurve from StepGeom
|
||||
|
||||
is
|
||||
|
||||
Convert ( myclass; SC : BoundedCurve from StepGeom;
|
||||
CC : out BoundedCurve from Geom )
|
||||
returns Boolean from Standard;
|
||||
|
||||
end MakeBoundedCurve;
|
@@ -17,31 +17,29 @@
|
||||
//:n6 abv 15.02.99: S4132: adding translation of polyline
|
||||
//:p0 abv 19.02.99: management of 'done' flag improved; trimmed_curve treated
|
||||
|
||||
#include <StepToGeom_MakeBoundedCurve.ixx>
|
||||
|
||||
#include <StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve.hxx>
|
||||
#include <StepGeom_BSplineCurveWithKnots.hxx>
|
||||
#include <Geom_BoundedCurve.hxx>
|
||||
#include <Geom_BSplineCurve.hxx>
|
||||
#include <StepGeom_BezierCurve.hxx>
|
||||
#include <StepGeom_UniformCurve.hxx>
|
||||
#include <StepGeom_UniformCurveAndRationalBSplineCurve.hxx>
|
||||
#include <StepGeom_BoundedCurve.hxx>
|
||||
#include <StepGeom_BSplineCurveWithKnots.hxx>
|
||||
#include <StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve.hxx>
|
||||
#include <StepGeom_KnotType.hxx>
|
||||
#include <StepGeom_Polyline.hxx>
|
||||
#include <StepGeom_QuasiUniformCurve.hxx>
|
||||
#include <StepGeom_QuasiUniformCurveAndRationalBSplineCurve.hxx>
|
||||
#include <StepGeom_Polyline.hxx>
|
||||
#include <StepGeom_TrimmedCurve.hxx>
|
||||
#include <StepGeom_KnotType.hxx>
|
||||
#include <StepGeom_UniformCurve.hxx>
|
||||
#include <StepGeom_UniformCurveAndRationalBSplineCurve.hxx>
|
||||
#include <StepToGeom_MakeBoundedCurve.hxx>
|
||||
#include <StepToGeom_MakeBSplineCurve.hxx>
|
||||
#include <StepGeom_Polyline.hxx>
|
||||
#include <StepToGeom_MakePolyline.hxx>
|
||||
#include <StepToGeom_MakeTrimmedCurve.hxx>
|
||||
#include <Geom_BSplineCurve.hxx>
|
||||
|
||||
#include <TColStd_HArray1OfInteger.hxx>
|
||||
#include <TColStd_HArray1OfReal.hxx>
|
||||
|
||||
//=============================================================================
|
||||
// Creation d' une BoundedCurve de Geom a partir d' une BoundedCurve de Step
|
||||
//=============================================================================
|
||||
|
||||
Standard_Boolean StepToGeom_MakeBoundedCurve::Convert
|
||||
(const Handle(StepGeom_BoundedCurve)& SC,
|
||||
Handle(Geom_BoundedCurve)& CC)
|
||||
|
67
src/StepToGeom/StepToGeom_MakeBoundedCurve.hxx
Normal file
67
src/StepToGeom/StepToGeom_MakeBoundedCurve.hxx
Normal file
@@ -0,0 +1,67 @@
|
||||
// Created on: 1993-06-21
|
||||
// Created by: Martine LANGLOIS
|
||||
// Copyright (c) 1993-1999 Matra Datavision
|
||||
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepToGeom_MakeBoundedCurve_HeaderFile
|
||||
#define _StepToGeom_MakeBoundedCurve_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_DefineAlloc.hxx>
|
||||
#include <Standard_Handle.hxx>
|
||||
|
||||
#include <Standard_Boolean.hxx>
|
||||
class StepGeom_BoundedCurve;
|
||||
class Geom_BoundedCurve;
|
||||
|
||||
|
||||
//! This class implements the mapping between classes
|
||||
//! BoundedCurve from
|
||||
//! StepGeom which describes a BoundedCurve from
|
||||
//! prostep and BoundedCurve from Geom.
|
||||
//! As BoundedCurve is an abstract BoundedCurve this class
|
||||
//! is an access to the sub-class required.
|
||||
class StepToGeom_MakeBoundedCurve
|
||||
{
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
Standard_EXPORT static Standard_Boolean Convert (const Handle(StepGeom_BoundedCurve)& SC, Handle(Geom_BoundedCurve)& CC);
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepToGeom_MakeBoundedCurve_HeaderFile
|
@@ -1,35 +0,0 @@
|
||||
-- Created on: 1993-08-04
|
||||
-- Created by: Martine LANGLOIS
|
||||
-- Copyright (c) 1993-1999 Matra Datavision
|
||||
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
--
|
||||
-- This file is part of Open CASCADE Technology software library.
|
||||
--
|
||||
-- This library is free software; you can redistribute it and/or modify it under
|
||||
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
-- by the Free Software Foundation, with special exception defined in the file
|
||||
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
-- distribution for complete text of the license and disclaimer of any warranty.
|
||||
--
|
||||
-- Alternatively, this file may be used under the terms of Open CASCADE
|
||||
-- commercial license or contractual agreement.
|
||||
|
||||
class MakeBoundedCurve2d from StepToGeom
|
||||
|
||||
---Purpose: This class implements the mapping between classes
|
||||
-- BoundedCurve from
|
||||
-- StepGeom which describes a BoundedCurve from
|
||||
-- prostep and BoundedCurve from Geom2d.
|
||||
-- As BoundedCurve is an abstract BoundedCurve this class
|
||||
-- is an access to the sub-class required.
|
||||
|
||||
uses BoundedCurve from Geom2d,
|
||||
BoundedCurve from StepGeom
|
||||
|
||||
is
|
||||
|
||||
Convert ( myclass; SC : BoundedCurve from StepGeom;
|
||||
CC : out BoundedCurve from Geom2d )
|
||||
returns Boolean from Standard;
|
||||
|
||||
end MakeBoundedCurve2d;
|
@@ -17,19 +17,20 @@
|
||||
//:n6 abv 15.02.99: S4132: adding translation of polyline
|
||||
//:p0 abv 19.02.99: management of 'done' flag improved
|
||||
|
||||
#include <StepToGeom_MakeBoundedCurve2d.ixx>
|
||||
#include <StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve.hxx>
|
||||
#include <Geom2d_BoundedCurve.hxx>
|
||||
#include <StepGeom_BoundedCurve.hxx>
|
||||
#include <StepGeom_BSplineCurveWithKnots.hxx>
|
||||
#include <StepGeom_TrimmedCurve.hxx>
|
||||
#include <StepToGeom_MakeTrimmedCurve2d.hxx>
|
||||
#include <StepToGeom_MakeBSplineCurve2d.hxx>
|
||||
#include <StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve.hxx>
|
||||
#include <StepGeom_Polyline.hxx>
|
||||
#include <StepGeom_TrimmedCurve.hxx>
|
||||
#include <StepToGeom_MakeBoundedCurve2d.hxx>
|
||||
#include <StepToGeom_MakeBSplineCurve2d.hxx>
|
||||
#include <StepToGeom_MakePolyline2d.hxx>
|
||||
#include <StepToGeom_MakeTrimmedCurve2d.hxx>
|
||||
|
||||
//=============================================================================
|
||||
// Creation d' une BoundedCurve de Geom a partir d' une BoundedCurve de Step
|
||||
//=============================================================================
|
||||
|
||||
Standard_Boolean StepToGeom_MakeBoundedCurve2d::Convert (const Handle(StepGeom_BoundedCurve)& SC, Handle(Geom2d_BoundedCurve)& CC)
|
||||
{
|
||||
if (SC->IsKind(STANDARD_TYPE(StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve))) {
|
||||
|
67
src/StepToGeom/StepToGeom_MakeBoundedCurve2d.hxx
Normal file
67
src/StepToGeom/StepToGeom_MakeBoundedCurve2d.hxx
Normal file
@@ -0,0 +1,67 @@
|
||||
// Created on: 1993-08-04
|
||||
// Created by: Martine LANGLOIS
|
||||
// Copyright (c) 1993-1999 Matra Datavision
|
||||
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepToGeom_MakeBoundedCurve2d_HeaderFile
|
||||
#define _StepToGeom_MakeBoundedCurve2d_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_DefineAlloc.hxx>
|
||||
#include <Standard_Handle.hxx>
|
||||
|
||||
#include <Standard_Boolean.hxx>
|
||||
class StepGeom_BoundedCurve;
|
||||
class Geom2d_BoundedCurve;
|
||||
|
||||
|
||||
//! This class implements the mapping between classes
|
||||
//! BoundedCurve from
|
||||
//! StepGeom which describes a BoundedCurve from
|
||||
//! prostep and BoundedCurve from Geom2d.
|
||||
//! As BoundedCurve is an abstract BoundedCurve this class
|
||||
//! is an access to the sub-class required.
|
||||
class StepToGeom_MakeBoundedCurve2d
|
||||
{
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
Standard_EXPORT static Standard_Boolean Convert (const Handle(StepGeom_BoundedCurve)& SC, Handle(Geom2d_BoundedCurve)& CC);
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepToGeom_MakeBoundedCurve2d_HeaderFile
|
@@ -1,35 +0,0 @@
|
||||
-- Created on: 1993-06-22
|
||||
-- Created by: Martine LANGLOIS
|
||||
-- Copyright (c) 1993-1999 Matra Datavision
|
||||
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
--
|
||||
-- This file is part of Open CASCADE Technology software library.
|
||||
--
|
||||
-- This library is free software; you can redistribute it and/or modify it under
|
||||
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
-- by the Free Software Foundation, with special exception defined in the file
|
||||
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
-- distribution for complete text of the license and disclaimer of any warranty.
|
||||
--
|
||||
-- Alternatively, this file may be used under the terms of Open CASCADE
|
||||
-- commercial license or contractual agreement.
|
||||
|
||||
class MakeBoundedSurface from StepToGeom
|
||||
|
||||
---Purpose: This class implements the mapping between classes
|
||||
-- BoundedSurface from
|
||||
-- StepGeom which describes a BoundedSurface from
|
||||
-- prostep and the class BoundedSurface from Geom.
|
||||
-- As BoundedSurface is an abstract BoundedSurface this class
|
||||
-- is an access to the sub-class required.
|
||||
|
||||
uses BoundedSurface from Geom,
|
||||
BoundedSurface from StepGeom
|
||||
|
||||
is
|
||||
|
||||
Convert ( myclass; SS : BoundedSurface from StepGeom;
|
||||
CS : out BoundedSurface from Geom )
|
||||
returns Boolean from Standard;
|
||||
|
||||
end MakeBoundedSurface;
|
@@ -18,35 +18,29 @@
|
||||
//:j7 abv 05.04.99: S4136: ass-tol2.stp #9861: avoid using CheckSurfaceClosure
|
||||
// rln 02.06.99 removing #include <StepToGeom_CheckSurfaceClosure.hxx>
|
||||
|
||||
#include <StepToGeom_MakeBoundedSurface.ixx>
|
||||
|
||||
#include <Geom_BoundedSurface.hxx>
|
||||
#include <Geom_BSplineSurface.hxx>
|
||||
|
||||
//rln 02.06.99 #include <StepToGeom_CheckSurfaceClosure.hxx>
|
||||
|
||||
#include <StepGeom_BezierSurface.hxx>
|
||||
#include <StepGeom_BoundedSurface.hxx>
|
||||
#include <StepGeom_BSplineSurfaceWithKnots.hxx>
|
||||
#include <StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface.hxx>
|
||||
#include <StepGeom_KnotType.hxx>
|
||||
#include <StepGeom_QuasiUniformSurface.hxx>
|
||||
#include <StepGeom_QuasiUniformSurfaceAndRationalBSplineSurface.hxx>
|
||||
#include <StepGeom_RectangularTrimmedSurface.hxx>
|
||||
#include <StepGeom_UniformSurface.hxx>
|
||||
#include <StepGeom_UniformSurfaceAndRationalBSplineSurface.hxx>
|
||||
#include <StepToGeom_MakeBoundedSurface.hxx>
|
||||
#include <StepToGeom_MakeBSplineSurface.hxx>
|
||||
#include <StepToGeom_MakeRectangularTrimmedSurface.hxx>
|
||||
|
||||
#include <StepGeom_RectangularTrimmedSurface.hxx>
|
||||
#include <StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface.hxx>
|
||||
#include <StepGeom_BSplineSurfaceWithKnots.hxx>
|
||||
|
||||
#include <TColStd_HArray1OfInteger.hxx>
|
||||
#include <TColStd_HArray1OfReal.hxx>
|
||||
|
||||
#include <StepGeom_BezierSurface.hxx>
|
||||
#include <StepGeom_UniformSurface.hxx>
|
||||
#include <StepGeom_QuasiUniformSurface.hxx>
|
||||
#include <StepGeom_UniformSurfaceAndRationalBSplineSurface.hxx>
|
||||
#include <StepGeom_QuasiUniformSurfaceAndRationalBSplineSurface.hxx>
|
||||
#include <StepGeom_KnotType.hxx>
|
||||
|
||||
//rln 02.06.99 #include <StepToGeom_CheckSurfaceClosure.hxx>
|
||||
//=============================================================================
|
||||
// Creation d' une BoundedSurface de Geom a partir d' une BoundedSurface
|
||||
// de Step
|
||||
//=============================================================================
|
||||
|
||||
Standard_Boolean StepToGeom_MakeBoundedSurface::Convert (const Handle(StepGeom_BoundedSurface)& SS, Handle(Geom_BoundedSurface)& CS)
|
||||
{
|
||||
if (SS->IsKind(STANDARD_TYPE(StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface))) {
|
||||
|
67
src/StepToGeom/StepToGeom_MakeBoundedSurface.hxx
Normal file
67
src/StepToGeom/StepToGeom_MakeBoundedSurface.hxx
Normal file
@@ -0,0 +1,67 @@
|
||||
// Created on: 1993-06-22
|
||||
// Created by: Martine LANGLOIS
|
||||
// Copyright (c) 1993-1999 Matra Datavision
|
||||
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepToGeom_MakeBoundedSurface_HeaderFile
|
||||
#define _StepToGeom_MakeBoundedSurface_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_DefineAlloc.hxx>
|
||||
#include <Standard_Handle.hxx>
|
||||
|
||||
#include <Standard_Boolean.hxx>
|
||||
class StepGeom_BoundedSurface;
|
||||
class Geom_BoundedSurface;
|
||||
|
||||
|
||||
//! This class implements the mapping between classes
|
||||
//! BoundedSurface from
|
||||
//! StepGeom which describes a BoundedSurface from
|
||||
//! prostep and the class BoundedSurface from Geom.
|
||||
//! As BoundedSurface is an abstract BoundedSurface this class
|
||||
//! is an access to the sub-class required.
|
||||
class StepToGeom_MakeBoundedSurface
|
||||
{
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
Standard_EXPORT static Standard_Boolean Convert (const Handle(StepGeom_BoundedSurface)& SS, Handle(Geom_BoundedSurface)& CS);
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepToGeom_MakeBoundedSurface_HeaderFile
|
@@ -1,33 +0,0 @@
|
||||
-- Created on: 1993-06-11
|
||||
-- Created by: Martine LANGLOIS
|
||||
-- Copyright (c) 1993-1999 Matra Datavision
|
||||
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
--
|
||||
-- This file is part of Open CASCADE Technology software library.
|
||||
--
|
||||
-- This library is free software; you can redistribute it and/or modify it under
|
||||
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
-- by the Free Software Foundation, with special exception defined in the file
|
||||
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
-- distribution for complete text of the license and disclaimer of any warranty.
|
||||
--
|
||||
-- Alternatively, this file may be used under the terms of Open CASCADE
|
||||
-- commercial license or contractual agreement.
|
||||
|
||||
class MakeCartesianPoint from StepToGeom
|
||||
|
||||
---Purpose: This class implements the mapping between classes
|
||||
-- CartesianPoint from StepGeom which describes a point from
|
||||
-- Prostep and CartesianPoint from Geom.
|
||||
|
||||
uses
|
||||
CartesianPoint from Geom,
|
||||
CartesianPoint from StepGeom
|
||||
|
||||
is
|
||||
|
||||
Convert ( myclass; SP : CartesianPoint from StepGeom;
|
||||
CP : out CartesianPoint from Geom )
|
||||
returns Boolean from Standard;
|
||||
|
||||
end MakeCartesianPoint;
|
@@ -14,14 +14,15 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepToGeom_MakeCartesianPoint.ixx>
|
||||
|
||||
#include <Geom_CartesianPoint.hxx>
|
||||
#include <StepGeom_CartesianPoint.hxx>
|
||||
#include <StepToGeom_MakeCartesianPoint.hxx>
|
||||
#include <UnitsMethods.hxx>
|
||||
|
||||
//=============================================================================
|
||||
// Creation d' un CartesianPoint de Geom a partir d' un CartesianPoint de Step
|
||||
//=============================================================================
|
||||
|
||||
Standard_Boolean StepToGeom_MakeCartesianPoint::Convert
|
||||
(const Handle(StepGeom_CartesianPoint)& SP,
|
||||
Handle(Geom_CartesianPoint)& CP)
|
||||
|
64
src/StepToGeom/StepToGeom_MakeCartesianPoint.hxx
Normal file
64
src/StepToGeom/StepToGeom_MakeCartesianPoint.hxx
Normal file
@@ -0,0 +1,64 @@
|
||||
// Created on: 1993-06-11
|
||||
// Created by: Martine LANGLOIS
|
||||
// Copyright (c) 1993-1999 Matra Datavision
|
||||
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepToGeom_MakeCartesianPoint_HeaderFile
|
||||
#define _StepToGeom_MakeCartesianPoint_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_DefineAlloc.hxx>
|
||||
#include <Standard_Handle.hxx>
|
||||
|
||||
#include <Standard_Boolean.hxx>
|
||||
class StepGeom_CartesianPoint;
|
||||
class Geom_CartesianPoint;
|
||||
|
||||
|
||||
//! This class implements the mapping between classes
|
||||
//! CartesianPoint from StepGeom which describes a point from
|
||||
//! Prostep and CartesianPoint from Geom.
|
||||
class StepToGeom_MakeCartesianPoint
|
||||
{
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
Standard_EXPORT static Standard_Boolean Convert (const Handle(StepGeom_CartesianPoint)& SP, Handle(Geom_CartesianPoint)& CP);
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepToGeom_MakeCartesianPoint_HeaderFile
|
@@ -1,33 +0,0 @@
|
||||
-- Created on: 1993-07-06
|
||||
-- Created by: Martine LANGLOIS
|
||||
-- Copyright (c) 1993-1999 Matra Datavision
|
||||
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
--
|
||||
-- This file is part of Open CASCADE Technology software library.
|
||||
--
|
||||
-- This library is free software; you can redistribute it and/or modify it under
|
||||
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
-- by the Free Software Foundation, with special exception defined in the file
|
||||
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
-- distribution for complete text of the license and disclaimer of any warranty.
|
||||
--
|
||||
-- Alternatively, this file may be used under the terms of Open CASCADE
|
||||
-- commercial license or contractual agreement.
|
||||
|
||||
class MakeCartesianPoint2d from StepToGeom
|
||||
|
||||
---Purpose: This class implements the mapping between classes
|
||||
-- CartesianPoint from StepGeom which describes a point from
|
||||
-- Prostep and CartesianPoint from Geom2d.
|
||||
|
||||
uses
|
||||
CartesianPoint from Geom2d,
|
||||
CartesianPoint from StepGeom
|
||||
|
||||
is
|
||||
|
||||
Convert ( myclass; SP : CartesianPoint from StepGeom;
|
||||
CP : out CartesianPoint from Geom2d )
|
||||
returns Boolean from Standard;
|
||||
|
||||
end MakeCartesianPoint2d;
|
@@ -14,15 +14,15 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepToGeom_MakeCartesianPoint2d.ixx>
|
||||
#include <StepGeom_CartesianPoint.hxx>
|
||||
|
||||
#include <Geom2d_CartesianPoint.hxx>
|
||||
#include <StepGeom_CartesianPoint.hxx>
|
||||
#include <StepToGeom_MakeCartesianPoint2d.hxx>
|
||||
|
||||
//=============================================================================
|
||||
// Creation d' un CartesianPoint de Geom2d a partir d' un CartesianPoint de
|
||||
// Step
|
||||
//=============================================================================
|
||||
|
||||
Standard_Boolean StepToGeom_MakeCartesianPoint2d::Convert
|
||||
(const Handle(StepGeom_CartesianPoint)& SP,
|
||||
Handle(Geom2d_CartesianPoint)& CP)
|
||||
|
64
src/StepToGeom/StepToGeom_MakeCartesianPoint2d.hxx
Normal file
64
src/StepToGeom/StepToGeom_MakeCartesianPoint2d.hxx
Normal file
@@ -0,0 +1,64 @@
|
||||
// Created on: 1993-07-06
|
||||
// Created by: Martine LANGLOIS
|
||||
// Copyright (c) 1993-1999 Matra Datavision
|
||||
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepToGeom_MakeCartesianPoint2d_HeaderFile
|
||||
#define _StepToGeom_MakeCartesianPoint2d_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_DefineAlloc.hxx>
|
||||
#include <Standard_Handle.hxx>
|
||||
|
||||
#include <Standard_Boolean.hxx>
|
||||
class StepGeom_CartesianPoint;
|
||||
class Geom2d_CartesianPoint;
|
||||
|
||||
|
||||
//! This class implements the mapping between classes
|
||||
//! CartesianPoint from StepGeom which describes a point from
|
||||
//! Prostep and CartesianPoint from Geom2d.
|
||||
class StepToGeom_MakeCartesianPoint2d
|
||||
{
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
Standard_EXPORT static Standard_Boolean Convert (const Handle(StepGeom_CartesianPoint)& SP, Handle(Geom2d_CartesianPoint)& CP);
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepToGeom_MakeCartesianPoint2d_HeaderFile
|
@@ -1,33 +0,0 @@
|
||||
-- Created on: 1993-06-14
|
||||
-- Created by: Martine LANGLOIS
|
||||
-- Copyright (c) 1993-1999 Matra Datavision
|
||||
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
--
|
||||
-- This file is part of Open CASCADE Technology software library.
|
||||
--
|
||||
-- This library is free software; you can redistribute it and/or modify it under
|
||||
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
-- by the Free Software Foundation, with special exception defined in the file
|
||||
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
-- distribution for complete text of the license and disclaimer of any warranty.
|
||||
--
|
||||
-- Alternatively, this file may be used under the terms of Open CASCADE
|
||||
-- commercial license or contractual agreement.
|
||||
|
||||
class MakeCircle from StepToGeom
|
||||
|
||||
---Purpose: This class implements the mapping between classes
|
||||
-- Circle from StepGeom which describes a circle from
|
||||
-- Prostep and Circle from Geom.
|
||||
|
||||
uses
|
||||
Circle from Geom,
|
||||
Circle from StepGeom
|
||||
|
||||
is
|
||||
|
||||
Convert ( myclass; SC : Circle from StepGeom;
|
||||
CC : out Circle from Geom )
|
||||
returns Boolean from Standard;
|
||||
|
||||
end MakeCircle;
|
@@ -14,18 +14,19 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepToGeom_MakeCircle.ixx>
|
||||
#include <StepGeom_Circle.hxx>
|
||||
#include <StepGeom_Axis2Placement3d.hxx>
|
||||
|
||||
#include <Geom_Axis2Placement.hxx>
|
||||
#include <StepToGeom_MakeAxis2Placement.hxx>
|
||||
#include <Geom_Circle.hxx>
|
||||
#include <gp_Ax2.hxx>
|
||||
#include <StepGeom_Axis2Placement3d.hxx>
|
||||
#include <StepGeom_Circle.hxx>
|
||||
#include <StepToGeom_MakeAxis2Placement.hxx>
|
||||
#include <StepToGeom_MakeCircle.hxx>
|
||||
#include <UnitsMethods.hxx>
|
||||
|
||||
//=============================================================================
|
||||
// Creation d' un Circle de Geom a partir d' un Circle de Step
|
||||
//=============================================================================
|
||||
|
||||
Standard_Boolean StepToGeom_MakeCircle::Convert
|
||||
(const Handle(StepGeom_Circle)& SC,
|
||||
Handle(Geom_Circle)& CC)
|
||||
|
64
src/StepToGeom/StepToGeom_MakeCircle.hxx
Normal file
64
src/StepToGeom/StepToGeom_MakeCircle.hxx
Normal file
@@ -0,0 +1,64 @@
|
||||
// Created on: 1993-06-14
|
||||
// Created by: Martine LANGLOIS
|
||||
// Copyright (c) 1993-1999 Matra Datavision
|
||||
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepToGeom_MakeCircle_HeaderFile
|
||||
#define _StepToGeom_MakeCircle_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_DefineAlloc.hxx>
|
||||
#include <Standard_Handle.hxx>
|
||||
|
||||
#include <Standard_Boolean.hxx>
|
||||
class StepGeom_Circle;
|
||||
class Geom_Circle;
|
||||
|
||||
|
||||
//! This class implements the mapping between classes
|
||||
//! Circle from StepGeom which describes a circle from
|
||||
//! Prostep and Circle from Geom.
|
||||
class StepToGeom_MakeCircle
|
||||
{
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
Standard_EXPORT static Standard_Boolean Convert (const Handle(StepGeom_Circle)& SC, Handle(Geom_Circle)& CC);
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepToGeom_MakeCircle_HeaderFile
|
@@ -1,33 +0,0 @@
|
||||
-- Created on: 1994-08-26
|
||||
-- Created by: Frederic MAUPAS
|
||||
-- Copyright (c) 1994-1999 Matra Datavision
|
||||
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
--
|
||||
-- This file is part of Open CASCADE Technology software library.
|
||||
--
|
||||
-- This library is free software; you can redistribute it and/or modify it under
|
||||
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
-- by the Free Software Foundation, with special exception defined in the file
|
||||
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
-- distribution for complete text of the license and disclaimer of any warranty.
|
||||
--
|
||||
-- Alternatively, this file may be used under the terms of Open CASCADE
|
||||
-- commercial license or contractual agreement.
|
||||
|
||||
class MakeCircle2d from StepToGeom
|
||||
|
||||
---Purpose: This class implements the mapping between classes
|
||||
-- Circle from StepGeom which describes a circle from
|
||||
-- Prostep and Circle from Geom2d.
|
||||
|
||||
uses
|
||||
Circle from Geom2d,
|
||||
Circle from StepGeom
|
||||
|
||||
is
|
||||
|
||||
Convert ( myclass; SC : Circle from StepGeom;
|
||||
CC : out Circle from Geom2d )
|
||||
returns Boolean from Standard;
|
||||
|
||||
end MakeCircle2d;
|
@@ -14,18 +14,19 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepToGeom_MakeCircle2d.ixx>
|
||||
#include <StepGeom_Circle.hxx>
|
||||
#include <StepGeom_Axis2Placement2d.hxx>
|
||||
|
||||
#include <Geom2d_AxisPlacement.hxx>
|
||||
#include <StepToGeom_MakeAxisPlacement.hxx>
|
||||
#include <Geom2d_Circle.hxx>
|
||||
#include <gp_Ax2.hxx>
|
||||
#include <gp_Ax22d.hxx>
|
||||
#include <StepGeom_Axis2Placement2d.hxx>
|
||||
#include <StepGeom_Circle.hxx>
|
||||
#include <StepToGeom_MakeAxisPlacement.hxx>
|
||||
#include <StepToGeom_MakeCircle2d.hxx>
|
||||
|
||||
//=============================================================================
|
||||
// Creation d' un Circle de Geom2d a partir d' un Circle de Step
|
||||
//=============================================================================
|
||||
|
||||
Standard_Boolean StepToGeom_MakeCircle2d::Convert
|
||||
(const Handle(StepGeom_Circle)& SC,
|
||||
Handle(Geom2d_Circle)& CC)
|
||||
|
64
src/StepToGeom/StepToGeom_MakeCircle2d.hxx
Normal file
64
src/StepToGeom/StepToGeom_MakeCircle2d.hxx
Normal file
@@ -0,0 +1,64 @@
|
||||
// Created on: 1994-08-26
|
||||
// Created by: Frederic MAUPAS
|
||||
// Copyright (c) 1994-1999 Matra Datavision
|
||||
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepToGeom_MakeCircle2d_HeaderFile
|
||||
#define _StepToGeom_MakeCircle2d_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_DefineAlloc.hxx>
|
||||
#include <Standard_Handle.hxx>
|
||||
|
||||
#include <Standard_Boolean.hxx>
|
||||
class StepGeom_Circle;
|
||||
class Geom2d_Circle;
|
||||
|
||||
|
||||
//! This class implements the mapping between classes
|
||||
//! Circle from StepGeom which describes a circle from
|
||||
//! Prostep and Circle from Geom2d.
|
||||
class StepToGeom_MakeCircle2d
|
||||
{
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
Standard_EXPORT static Standard_Boolean Convert (const Handle(StepGeom_Circle)& SC, Handle(Geom2d_Circle)& CC);
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepToGeom_MakeCircle2d_HeaderFile
|
@@ -1,34 +0,0 @@
|
||||
-- Created on: 1993-06-21
|
||||
-- Created by: Martine LANGLOIS
|
||||
-- Copyright (c) 1993-1999 Matra Datavision
|
||||
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
--
|
||||
-- This file is part of Open CASCADE Technology software library.
|
||||
--
|
||||
-- This library is free software; you can redistribute it and/or modify it under
|
||||
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
-- by the Free Software Foundation, with special exception defined in the file
|
||||
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
-- distribution for complete text of the license and disclaimer of any warranty.
|
||||
--
|
||||
-- Alternatively, this file may be used under the terms of Open CASCADE
|
||||
-- commercial license or contractual agreement.
|
||||
|
||||
class MakeConic from StepToGeom
|
||||
|
||||
---Purpose: This class implements the mapping between classes
|
||||
-- Conic from StepGeom
|
||||
-- which describes a Conic from prostep and Conic from Geom .
|
||||
-- As Conic is an abstract class
|
||||
-- this class is an access to the sub-class required.
|
||||
|
||||
uses Conic from Geom,
|
||||
Conic from StepGeom
|
||||
|
||||
is
|
||||
|
||||
Convert ( myclass; SC : Conic from StepGeom;
|
||||
CC : out Conic from Geom )
|
||||
returns Boolean from Standard;
|
||||
|
||||
end MakeConic;
|
@@ -16,21 +16,21 @@
|
||||
|
||||
//:p0 abv 19.02.99: management of 'done' flag improved
|
||||
|
||||
#include <StepToGeom_MakeConic.ixx>
|
||||
#include <StepGeom_Conic.hxx>
|
||||
#include <Geom_Conic.hxx>
|
||||
#include <StepGeom_Circle.hxx>
|
||||
#include <StepToGeom_MakeCircle.hxx>
|
||||
#include <StepGeom_Conic.hxx>
|
||||
#include <StepGeom_Ellipse.hxx>
|
||||
#include <StepToGeom_MakeEllipse.hxx>
|
||||
#include <StepGeom_Hyperbola.hxx>
|
||||
#include <StepToGeom_MakeHyperbola.hxx>
|
||||
#include <StepGeom_Parabola.hxx>
|
||||
#include <StepToGeom_MakeCircle.hxx>
|
||||
#include <StepToGeom_MakeConic.hxx>
|
||||
#include <StepToGeom_MakeEllipse.hxx>
|
||||
#include <StepToGeom_MakeHyperbola.hxx>
|
||||
#include <StepToGeom_MakeParabola.hxx>
|
||||
|
||||
//=============================================================================
|
||||
// Creation d' une Conic de Geom a partir d' une Conic de Step
|
||||
//=============================================================================
|
||||
|
||||
Standard_Boolean StepToGeom_MakeConic::Convert
|
||||
(const Handle(StepGeom_Conic)& SC,
|
||||
Handle(Geom_Conic)& CC)
|
||||
|
66
src/StepToGeom/StepToGeom_MakeConic.hxx
Normal file
66
src/StepToGeom/StepToGeom_MakeConic.hxx
Normal file
@@ -0,0 +1,66 @@
|
||||
// Created on: 1993-06-21
|
||||
// Created by: Martine LANGLOIS
|
||||
// Copyright (c) 1993-1999 Matra Datavision
|
||||
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepToGeom_MakeConic_HeaderFile
|
||||
#define _StepToGeom_MakeConic_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_DefineAlloc.hxx>
|
||||
#include <Standard_Handle.hxx>
|
||||
|
||||
#include <Standard_Boolean.hxx>
|
||||
class StepGeom_Conic;
|
||||
class Geom_Conic;
|
||||
|
||||
|
||||
//! This class implements the mapping between classes
|
||||
//! Conic from StepGeom
|
||||
//! which describes a Conic from prostep and Conic from Geom .
|
||||
//! As Conic is an abstract class
|
||||
//! this class is an access to the sub-class required.
|
||||
class StepToGeom_MakeConic
|
||||
{
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
Standard_EXPORT static Standard_Boolean Convert (const Handle(StepGeom_Conic)& SC, Handle(Geom_Conic)& CC);
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepToGeom_MakeConic_HeaderFile
|
@@ -1,34 +0,0 @@
|
||||
-- Created on: 1994-08-26
|
||||
-- Created by: Frederic MAUPAS
|
||||
-- Copyright (c) 1994-1999 Matra Datavision
|
||||
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
--
|
||||
-- This file is part of Open CASCADE Technology software library.
|
||||
--
|
||||
-- This library is free software; you can redistribute it and/or modify it under
|
||||
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
-- by the Free Software Foundation, with special exception defined in the file
|
||||
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
-- distribution for complete text of the license and disclaimer of any warranty.
|
||||
--
|
||||
-- Alternatively, this file may be used under the terms of Open CASCADE
|
||||
-- commercial license or contractual agreement.
|
||||
|
||||
class MakeConic2d from StepToGeom
|
||||
|
||||
---Purpose: This class implements the mapping between classes
|
||||
-- Conic from StepGeom
|
||||
-- which describes a Conic from prostep and Conic from Geom2d.
|
||||
-- As Conic is an abstract class
|
||||
-- this class is an access to the sub-class required.
|
||||
|
||||
uses Conic from Geom2d,
|
||||
Conic from StepGeom
|
||||
|
||||
is
|
||||
|
||||
Convert ( myclass; SC : Conic from StepGeom;
|
||||
CC : out Conic from Geom2d )
|
||||
returns Boolean from Standard;
|
||||
|
||||
end MakeConic2d;
|
@@ -16,13 +16,14 @@
|
||||
|
||||
//:p0 abv 19.02.99: management of 'done' flag improved
|
||||
|
||||
#include <StepToGeom_MakeConic2d.ixx>
|
||||
#include <StepGeom_Conic.hxx>
|
||||
#include <Geom2d_Conic.hxx>
|
||||
#include <StepGeom_Circle.hxx>
|
||||
#include <StepGeom_Conic.hxx>
|
||||
#include <StepGeom_Ellipse.hxx>
|
||||
#include <StepGeom_Hyperbola.hxx>
|
||||
#include <StepGeom_Parabola.hxx>
|
||||
#include <StepToGeom_MakeCircle2d.hxx>
|
||||
#include <StepToGeom_MakeConic2d.hxx>
|
||||
#include <StepToGeom_MakeEllipse2d.hxx>
|
||||
#include <StepToGeom_MakeHyperbola2d.hxx>
|
||||
#include <StepToGeom_MakeParabola2d.hxx>
|
||||
@@ -30,7 +31,6 @@
|
||||
//=============================================================================
|
||||
// Creation d' une Conic de Geom2d a partir d' une Conic de Step
|
||||
//=============================================================================
|
||||
|
||||
Standard_Boolean StepToGeom_MakeConic2d::Convert
|
||||
(const Handle(StepGeom_Conic)& SC,
|
||||
Handle(Geom2d_Conic)& CC)
|
||||
|
66
src/StepToGeom/StepToGeom_MakeConic2d.hxx
Normal file
66
src/StepToGeom/StepToGeom_MakeConic2d.hxx
Normal file
@@ -0,0 +1,66 @@
|
||||
// Created on: 1994-08-26
|
||||
// Created by: Frederic MAUPAS
|
||||
// Copyright (c) 1994-1999 Matra Datavision
|
||||
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepToGeom_MakeConic2d_HeaderFile
|
||||
#define _StepToGeom_MakeConic2d_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_DefineAlloc.hxx>
|
||||
#include <Standard_Handle.hxx>
|
||||
|
||||
#include <Standard_Boolean.hxx>
|
||||
class StepGeom_Conic;
|
||||
class Geom2d_Conic;
|
||||
|
||||
|
||||
//! This class implements the mapping between classes
|
||||
//! Conic from StepGeom
|
||||
//! which describes a Conic from prostep and Conic from Geom2d.
|
||||
//! As Conic is an abstract class
|
||||
//! this class is an access to the sub-class required.
|
||||
class StepToGeom_MakeConic2d
|
||||
{
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
Standard_EXPORT static Standard_Boolean Convert (const Handle(StepGeom_Conic)& SC, Handle(Geom2d_Conic)& CC);
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepToGeom_MakeConic2d_HeaderFile
|
@@ -1,32 +0,0 @@
|
||||
-- Created on: 1993-06-14
|
||||
-- Created by: Martine LANGLOIS
|
||||
-- Copyright (c) 1993-1999 Matra Datavision
|
||||
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
--
|
||||
-- This file is part of Open CASCADE Technology software library.
|
||||
--
|
||||
-- This library is free software; you can redistribute it and/or modify it under
|
||||
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
-- by the Free Software Foundation, with special exception defined in the file
|
||||
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
-- distribution for complete text of the license and disclaimer of any warranty.
|
||||
--
|
||||
-- Alternatively, this file may be used under the terms of Open CASCADE
|
||||
-- commercial license or contractual agreement.
|
||||
|
||||
class MakeConicalSurface from StepToGeom
|
||||
|
||||
---Purpose: This class implements the mapping between class
|
||||
-- ConicalSurface from StepGeom which describes a
|
||||
-- conical_surface from Prostep and ConicalSurface from Geom
|
||||
|
||||
uses ConicalSurface from Geom,
|
||||
ConicalSurface from StepGeom
|
||||
|
||||
is
|
||||
|
||||
Convert ( myclass; SS : ConicalSurface from StepGeom;
|
||||
CS : out ConicalSurface from Geom )
|
||||
returns Boolean from Standard;
|
||||
|
||||
end MakeConicalSurface;
|
@@ -14,20 +14,22 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepToGeom_MakeConicalSurface.ixx>
|
||||
#include <Geom_ConicalSurface.hxx>
|
||||
#include <StepGeom_Axis2Placement3d.hxx>
|
||||
#include <StepToGeom_MakeAxis2Placement.hxx>
|
||||
|
||||
#include <Geom_Axis2Placement.hxx>
|
||||
#include <Geom_ConicalSurface.hxx>
|
||||
#include <gp_Ax2.hxx>
|
||||
#include <Precision.hxx>//#2(K3-3) rln
|
||||
#include <Precision.hxx>
|
||||
#include <StepGeom_Axis2Placement3d.hxx>
|
||||
#include <StepGeom_ConicalSurface.hxx>
|
||||
#include <StepToGeom_MakeAxis2Placement.hxx>
|
||||
#include <StepToGeom_MakeConicalSurface.hxx>
|
||||
#include <UnitsMethods.hxx>
|
||||
|
||||
//#2(K3-3) rln
|
||||
//=============================================================================
|
||||
// Creation d' une ConicalSurface de Geom a partir d' une ConicalSurface de
|
||||
// Step
|
||||
//=============================================================================
|
||||
|
||||
Standard_Boolean StepToGeom_MakeConicalSurface::Convert (const Handle(StepGeom_ConicalSurface)& SS, Handle(Geom_ConicalSurface)& CS)
|
||||
{
|
||||
Handle(Geom_Axis2Placement) A;
|
||||
|
64
src/StepToGeom/StepToGeom_MakeConicalSurface.hxx
Normal file
64
src/StepToGeom/StepToGeom_MakeConicalSurface.hxx
Normal file
@@ -0,0 +1,64 @@
|
||||
// Created on: 1993-06-14
|
||||
// Created by: Martine LANGLOIS
|
||||
// Copyright (c) 1993-1999 Matra Datavision
|
||||
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepToGeom_MakeConicalSurface_HeaderFile
|
||||
#define _StepToGeom_MakeConicalSurface_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_DefineAlloc.hxx>
|
||||
#include <Standard_Handle.hxx>
|
||||
|
||||
#include <Standard_Boolean.hxx>
|
||||
class StepGeom_ConicalSurface;
|
||||
class Geom_ConicalSurface;
|
||||
|
||||
|
||||
//! This class implements the mapping between class
|
||||
//! ConicalSurface from StepGeom which describes a
|
||||
//! conical_surface from Prostep and ConicalSurface from Geom
|
||||
class StepToGeom_MakeConicalSurface
|
||||
{
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
Standard_EXPORT static Standard_Boolean Convert (const Handle(StepGeom_ConicalSurface)& SS, Handle(Geom_ConicalSurface)& CS);
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepToGeom_MakeConicalSurface_HeaderFile
|
@@ -1,34 +0,0 @@
|
||||
-- Created on: 1993-06-21
|
||||
-- Created by: Martine LANGLOIS
|
||||
-- Copyright (c) 1993-1999 Matra Datavision
|
||||
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
--
|
||||
-- This file is part of Open CASCADE Technology software library.
|
||||
--
|
||||
-- This library is free software; you can redistribute it and/or modify it under
|
||||
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
-- by the Free Software Foundation, with special exception defined in the file
|
||||
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
-- distribution for complete text of the license and disclaimer of any warranty.
|
||||
--
|
||||
-- Alternatively, this file may be used under the terms of Open CASCADE
|
||||
-- commercial license or contractual agreement.
|
||||
|
||||
class MakeCurve from StepToGeom
|
||||
|
||||
---Purpose: This class implements the mapping between classes
|
||||
-- class Curve from StepGeom which
|
||||
-- describes a Curve from prostep and Curve from Geom.
|
||||
-- As Curve is an abstract class
|
||||
-- this class an access to the sub-class required.
|
||||
|
||||
uses Curve from Geom,
|
||||
Curve from StepGeom
|
||||
|
||||
is
|
||||
|
||||
Convert ( myclass; SC : Curve from StepGeom;
|
||||
CC : out Curve from Geom )
|
||||
returns Boolean from Standard;
|
||||
|
||||
end MakeCurve;
|
@@ -19,33 +19,29 @@
|
||||
//:o5 abv 17.02.99: bm4_sd_seal_c.stp #58720: translate surface_curve (3d only)
|
||||
//:p0 abv 19.02.99: management of 'done' flag improved
|
||||
|
||||
#include <StepToGeom_MakeCurve.ixx>
|
||||
|
||||
#include <Geom_OffsetCurve.hxx>
|
||||
#include <Geom_Curve.hxx>
|
||||
#include <Geom_Direction.hxx>
|
||||
|
||||
#include <StepGeom_Curve.hxx>
|
||||
#include <StepGeom_TrimmedCurve.hxx>
|
||||
#include <StepGeom_Line.hxx>
|
||||
#include <StepGeom_Conic.hxx>
|
||||
#include <Geom_OffsetCurve.hxx>
|
||||
#include <StepGeom_BoundedCurve.hxx>
|
||||
#include <StepGeom_CartesianTransformationOperator3d.hxx>
|
||||
#include <StepGeom_Conic.hxx>
|
||||
#include <StepGeom_Curve.hxx>
|
||||
#include <StepGeom_CurveReplica.hxx>
|
||||
#include <StepGeom_Line.hxx>
|
||||
#include <StepGeom_OffsetCurve3d.hxx>
|
||||
#include <StepGeom_SurfaceCurve.hxx>
|
||||
|
||||
#include <StepToGeom_MakeDirection.hxx>
|
||||
#include <StepToGeom_MakeTrimmedCurve.hxx>
|
||||
#include <StepToGeom_MakeCurve.hxx>
|
||||
#include <StepToGeom_MakeLine.hxx>
|
||||
#include <StepToGeom_MakeConic.hxx>
|
||||
#include <StepGeom_TrimmedCurve.hxx>
|
||||
#include <StepToGeom_MakeBoundedCurve.hxx>
|
||||
#include <StepToGeom_MakeConic.hxx>
|
||||
#include <StepToGeom_MakeCurve.hxx>
|
||||
#include <StepToGeom_MakeDirection.hxx>
|
||||
#include <StepToGeom_MakeLine.hxx>
|
||||
#include <StepToGeom_MakeTransformation3d.hxx>
|
||||
#include <StepToGeom_MakeTrimmedCurve.hxx>
|
||||
|
||||
//=============================================================================
|
||||
// Creation d' une Curve de Geom a partir d' une Curve de Step
|
||||
//=============================================================================
|
||||
|
||||
Standard_Boolean StepToGeom_MakeCurve::Convert (const Handle(StepGeom_Curve)& SC, Handle(Geom_Curve)& CC)
|
||||
{
|
||||
if (SC.IsNull()){
|
||||
|
66
src/StepToGeom/StepToGeom_MakeCurve.hxx
Normal file
66
src/StepToGeom/StepToGeom_MakeCurve.hxx
Normal file
@@ -0,0 +1,66 @@
|
||||
// Created on: 1993-06-21
|
||||
// Created by: Martine LANGLOIS
|
||||
// Copyright (c) 1993-1999 Matra Datavision
|
||||
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepToGeom_MakeCurve_HeaderFile
|
||||
#define _StepToGeom_MakeCurve_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_DefineAlloc.hxx>
|
||||
#include <Standard_Handle.hxx>
|
||||
|
||||
#include <Standard_Boolean.hxx>
|
||||
class StepGeom_Curve;
|
||||
class Geom_Curve;
|
||||
|
||||
|
||||
//! This class implements the mapping between classes
|
||||
//! class Curve from StepGeom which
|
||||
//! describes a Curve from prostep and Curve from Geom.
|
||||
//! As Curve is an abstract class
|
||||
//! this class an access to the sub-class required.
|
||||
class StepToGeom_MakeCurve
|
||||
{
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
Standard_EXPORT static Standard_Boolean Convert (const Handle(StepGeom_Curve)& SC, Handle(Geom_Curve)& CC);
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepToGeom_MakeCurve_HeaderFile
|
@@ -1,34 +0,0 @@
|
||||
-- Created on: 1993-08-04
|
||||
-- Created by: Martine LANGLOIS
|
||||
-- Copyright (c) 1993-1999 Matra Datavision
|
||||
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
--
|
||||
-- This file is part of Open CASCADE Technology software library.
|
||||
--
|
||||
-- This library is free software; you can redistribute it and/or modify it under
|
||||
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
-- by the Free Software Foundation, with special exception defined in the file
|
||||
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
-- distribution for complete text of the license and disclaimer of any warranty.
|
||||
--
|
||||
-- Alternatively, this file may be used under the terms of Open CASCADE
|
||||
-- commercial license or contractual agreement.
|
||||
|
||||
class MakeCurve2d from StepToGeom
|
||||
|
||||
---Purpose: This class implements the mapping between
|
||||
-- class Curve from StepGeom which
|
||||
-- describes a Curve from prostep and Curve from Geom2d.
|
||||
-- As Curve is an abstract class
|
||||
-- this class an access to the sub-class required.
|
||||
|
||||
uses Curve from Geom2d,
|
||||
Curve from StepGeom
|
||||
|
||||
is
|
||||
|
||||
Convert ( myclass; SC : Curve from StepGeom;
|
||||
CC : out Curve from Geom2d )
|
||||
returns Boolean from Standard;
|
||||
|
||||
end MakeCurve2d;
|
@@ -17,28 +17,28 @@
|
||||
//:n7 abv 15.02.99: S4132: adding translation of curve_replica
|
||||
//:p0 abv 19.02.99: management of 'done' flag improved
|
||||
|
||||
#include <StepToGeom_MakeCurve2d.ixx>
|
||||
#include <StepGeom_Curve.hxx>
|
||||
#include <StepGeom_TrimmedCurve.hxx>
|
||||
#include <StepGeom_HArray1OfTrimmingSelect.hxx>
|
||||
#include <StepToGeom_MakeLine2d.hxx>
|
||||
#include <StepToGeom_MakeConic2d.hxx>
|
||||
#include <StepGeom_Line.hxx>
|
||||
#include <StepGeom_Conic.hxx>
|
||||
#include <StepGeom_BoundedCurve.hxx>
|
||||
#include <StepToGeom_MakeBoundedCurve2d.hxx>
|
||||
#include <Geom2d_TrimmedCurve.hxx>
|
||||
#include <Geom2d_BSplineCurve.hxx>
|
||||
#include <Geom2d_Curve.hxx>
|
||||
#include <Geom2d_TrimmedCurve.hxx>
|
||||
#include <Geom2dConvert.hxx>
|
||||
#include <StepGeom_CurveReplica.hxx>
|
||||
#include <StepGeom_CartesianTransformationOperator2d.hxx>
|
||||
#include <StepToGeom_MakeTransformation2d.hxx>
|
||||
#include <gp_Trsf2d.hxx>
|
||||
#include <StepGeom_BoundedCurve.hxx>
|
||||
#include <StepGeom_CartesianTransformationOperator2d.hxx>
|
||||
#include <StepGeom_Conic.hxx>
|
||||
#include <StepGeom_Curve.hxx>
|
||||
#include <StepGeom_CurveReplica.hxx>
|
||||
#include <StepGeom_HArray1OfTrimmingSelect.hxx>
|
||||
#include <StepGeom_Line.hxx>
|
||||
#include <StepGeom_TrimmedCurve.hxx>
|
||||
#include <StepToGeom_MakeBoundedCurve2d.hxx>
|
||||
#include <StepToGeom_MakeConic2d.hxx>
|
||||
#include <StepToGeom_MakeCurve2d.hxx>
|
||||
#include <StepToGeom_MakeLine2d.hxx>
|
||||
#include <StepToGeom_MakeTransformation2d.hxx>
|
||||
|
||||
//=============================================================================
|
||||
// Creation d' une Curve de Geom2d a partir d' une Curve de Step
|
||||
//=============================================================================
|
||||
|
||||
Standard_Boolean StepToGeom_MakeCurve2d::Convert (const Handle(StepGeom_Curve)& SC, Handle(Geom2d_Curve)& CC)
|
||||
{
|
||||
if (SC->IsKind(STANDARD_TYPE(StepGeom_Line))) {
|
||||
|
66
src/StepToGeom/StepToGeom_MakeCurve2d.hxx
Normal file
66
src/StepToGeom/StepToGeom_MakeCurve2d.hxx
Normal file
@@ -0,0 +1,66 @@
|
||||
// Created on: 1993-08-04
|
||||
// Created by: Martine LANGLOIS
|
||||
// Copyright (c) 1993-1999 Matra Datavision
|
||||
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepToGeom_MakeCurve2d_HeaderFile
|
||||
#define _StepToGeom_MakeCurve2d_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_DefineAlloc.hxx>
|
||||
#include <Standard_Handle.hxx>
|
||||
|
||||
#include <Standard_Boolean.hxx>
|
||||
class StepGeom_Curve;
|
||||
class Geom2d_Curve;
|
||||
|
||||
|
||||
//! This class implements the mapping between
|
||||
//! class Curve from StepGeom which
|
||||
//! describes a Curve from prostep and Curve from Geom2d.
|
||||
//! As Curve is an abstract class
|
||||
//! this class an access to the sub-class required.
|
||||
class StepToGeom_MakeCurve2d
|
||||
{
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
Standard_EXPORT static Standard_Boolean Convert (const Handle(StepGeom_Curve)& SC, Handle(Geom2d_Curve)& CC);
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepToGeom_MakeCurve2d_HeaderFile
|
@@ -1,33 +0,0 @@
|
||||
-- Created on: 1993-06-14
|
||||
-- Created by: Martine LANGLOIS
|
||||
-- Copyright (c) 1993-1999 Matra Datavision
|
||||
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
--
|
||||
-- This file is part of Open CASCADE Technology software library.
|
||||
--
|
||||
-- This library is free software; you can redistribute it and/or modify it under
|
||||
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
-- by the Free Software Foundation, with special exception defined in the file
|
||||
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
-- distribution for complete text of the license and disclaimer of any warranty.
|
||||
--
|
||||
-- Alternatively, this file may be used under the terms of Open CASCADE
|
||||
-- commercial license or contractual agreement.
|
||||
|
||||
class MakeCylindricalSurface from StepToGeom
|
||||
|
||||
---Purpose: This class implements the mapping between class
|
||||
-- CylindricalSurface from StepGeom which describes a
|
||||
-- cylindrical_surface from Prostep and CylindricalSurface
|
||||
-- from Geom
|
||||
|
||||
uses CylindricalSurface from Geom,
|
||||
CylindricalSurface from StepGeom
|
||||
|
||||
is
|
||||
|
||||
Convert ( myclass; SS : CylindricalSurface from StepGeom;
|
||||
CS : out CylindricalSurface from Geom )
|
||||
returns Boolean from Standard;
|
||||
|
||||
end MakeCylindricalSurface;
|
@@ -14,19 +14,20 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepToGeom_MakeCylindricalSurface.ixx>
|
||||
#include <Geom_CylindricalSurface.hxx>
|
||||
#include <StepGeom_Axis2Placement3d.hxx>
|
||||
#include <StepToGeom_MakeAxis2Placement.hxx>
|
||||
|
||||
#include <Geom_Axis2Placement.hxx>
|
||||
#include <Geom_CylindricalSurface.hxx>
|
||||
#include <gp_Ax2.hxx>
|
||||
#include <StepGeom_Axis2Placement3d.hxx>
|
||||
#include <StepGeom_CylindricalSurface.hxx>
|
||||
#include <StepToGeom_MakeAxis2Placement.hxx>
|
||||
#include <StepToGeom_MakeCylindricalSurface.hxx>
|
||||
#include <UnitsMethods.hxx>
|
||||
|
||||
//=============================================================================
|
||||
// Creation d' une CylindricalSurface de Geom a partir d' une
|
||||
// CylindricalSurface de Step
|
||||
//=============================================================================
|
||||
|
||||
Standard_Boolean StepToGeom_MakeCylindricalSurface::Convert (const Handle(StepGeom_CylindricalSurface)& SS, Handle(Geom_CylindricalSurface)& CS)
|
||||
{
|
||||
Handle(Geom_Axis2Placement) A;
|
||||
|
65
src/StepToGeom/StepToGeom_MakeCylindricalSurface.hxx
Normal file
65
src/StepToGeom/StepToGeom_MakeCylindricalSurface.hxx
Normal file
@@ -0,0 +1,65 @@
|
||||
// Created on: 1993-06-14
|
||||
// Created by: Martine LANGLOIS
|
||||
// Copyright (c) 1993-1999 Matra Datavision
|
||||
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepToGeom_MakeCylindricalSurface_HeaderFile
|
||||
#define _StepToGeom_MakeCylindricalSurface_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_DefineAlloc.hxx>
|
||||
#include <Standard_Handle.hxx>
|
||||
|
||||
#include <Standard_Boolean.hxx>
|
||||
class StepGeom_CylindricalSurface;
|
||||
class Geom_CylindricalSurface;
|
||||
|
||||
|
||||
//! This class implements the mapping between class
|
||||
//! CylindricalSurface from StepGeom which describes a
|
||||
//! cylindrical_surface from Prostep and CylindricalSurface
|
||||
//! from Geom
|
||||
class StepToGeom_MakeCylindricalSurface
|
||||
{
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
Standard_EXPORT static Standard_Boolean Convert (const Handle(StepGeom_CylindricalSurface)& SS, Handle(Geom_CylindricalSurface)& CS);
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepToGeom_MakeCylindricalSurface_HeaderFile
|
@@ -1,33 +0,0 @@
|
||||
-- Created on: 1993-06-14
|
||||
-- Created by: Martine LANGLOIS
|
||||
-- Copyright (c) 1993-1999 Matra Datavision
|
||||
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
--
|
||||
-- This file is part of Open CASCADE Technology software library.
|
||||
--
|
||||
-- This library is free software; you can redistribute it and/or modify it under
|
||||
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
-- by the Free Software Foundation, with special exception defined in the file
|
||||
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
-- distribution for complete text of the license and disclaimer of any warranty.
|
||||
--
|
||||
-- Alternatively, this file may be used under the terms of Open CASCADE
|
||||
-- commercial license or contractual agreement.
|
||||
|
||||
class MakeDirection from StepToGeom
|
||||
|
||||
---Purpose: This class implements the mapping between classes
|
||||
-- Direction from StepGeom which describes a direction
|
||||
-- from Prostep and Direction from Geom.
|
||||
|
||||
uses
|
||||
Direction from Geom,
|
||||
Direction from StepGeom
|
||||
|
||||
is
|
||||
|
||||
Convert ( myclass; SD : Direction from StepGeom;
|
||||
CD : out Direction from Geom )
|
||||
returns Boolean from Standard;
|
||||
|
||||
end MakeDirection;
|
@@ -16,13 +16,13 @@
|
||||
|
||||
// sln 22.10.2001. CTS23496: Direction is not created if it has null magnitude (StepToGeom_MakeDirection(...) function)
|
||||
|
||||
#include <StepToGeom_MakeDirection.ixx>
|
||||
#include <Geom_Direction.hxx>
|
||||
#include <StepGeom_Direction.hxx>
|
||||
#include <StepToGeom_MakeDirection.hxx>
|
||||
|
||||
//=============================================================================
|
||||
// Creation d' un Direction de Geom a partir d' un Direction de Step
|
||||
//=============================================================================
|
||||
|
||||
Standard_Boolean StepToGeom_MakeDirection::Convert (const Handle(StepGeom_Direction)& SD, Handle(Geom_Direction)& CD)
|
||||
{
|
||||
if (SD->NbDirectionRatios() >= 3)
|
||||
|
64
src/StepToGeom/StepToGeom_MakeDirection.hxx
Normal file
64
src/StepToGeom/StepToGeom_MakeDirection.hxx
Normal file
@@ -0,0 +1,64 @@
|
||||
// Created on: 1993-06-14
|
||||
// Created by: Martine LANGLOIS
|
||||
// Copyright (c) 1993-1999 Matra Datavision
|
||||
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepToGeom_MakeDirection_HeaderFile
|
||||
#define _StepToGeom_MakeDirection_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_DefineAlloc.hxx>
|
||||
#include <Standard_Handle.hxx>
|
||||
|
||||
#include <Standard_Boolean.hxx>
|
||||
class StepGeom_Direction;
|
||||
class Geom_Direction;
|
||||
|
||||
|
||||
//! This class implements the mapping between classes
|
||||
//! Direction from StepGeom which describes a direction
|
||||
//! from Prostep and Direction from Geom.
|
||||
class StepToGeom_MakeDirection
|
||||
{
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
Standard_EXPORT static Standard_Boolean Convert (const Handle(StepGeom_Direction)& SD, Handle(Geom_Direction)& CD);
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepToGeom_MakeDirection_HeaderFile
|
@@ -1,33 +0,0 @@
|
||||
-- Created on: 1993-08-04
|
||||
-- Created by: Martine LANGLOIS
|
||||
-- Copyright (c) 1993-1999 Matra Datavision
|
||||
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
--
|
||||
-- This file is part of Open CASCADE Technology software library.
|
||||
--
|
||||
-- This library is free software; you can redistribute it and/or modify it under
|
||||
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
-- by the Free Software Foundation, with special exception defined in the file
|
||||
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
-- distribution for complete text of the license and disclaimer of any warranty.
|
||||
--
|
||||
-- Alternatively, this file may be used under the terms of Open CASCADE
|
||||
-- commercial license or contractual agreement.
|
||||
|
||||
class MakeDirection2d from StepToGeom
|
||||
|
||||
---Purpose: This class implements the mapping between classes
|
||||
-- Direction from StepGeom which describes a direction
|
||||
-- from Prostep and Direction from Geom2d.
|
||||
|
||||
uses
|
||||
Direction from Geom2d,
|
||||
Direction from StepGeom
|
||||
|
||||
is
|
||||
|
||||
Convert ( myclass; SD : Direction from StepGeom;
|
||||
CD : out Direction from Geom2d )
|
||||
returns Boolean from Standard;
|
||||
|
||||
end MakeDirection2d;
|
@@ -16,13 +16,13 @@
|
||||
|
||||
// sln 23.10.2001. CTS23496: Direction is not created if it has null magnitude (StepToGeom_MakeDirection2d(...) function)
|
||||
|
||||
#include <StepToGeom_MakeDirection2d.ixx>
|
||||
#include <Geom2d_Direction.hxx>
|
||||
#include <StepGeom_Direction.hxx>
|
||||
#include <StepToGeom_MakeDirection2d.hxx>
|
||||
|
||||
//=============================================================================
|
||||
// Creation d' un Direction de Geom2d a partir d' un Direction de Step
|
||||
//=============================================================================
|
||||
|
||||
Standard_Boolean StepToGeom_MakeDirection2d::Convert (const Handle(StepGeom_Direction)& SD, Handle(Geom2d_Direction)& CD)
|
||||
{
|
||||
if (SD->NbDirectionRatios() >= 2)
|
||||
|
64
src/StepToGeom/StepToGeom_MakeDirection2d.hxx
Normal file
64
src/StepToGeom/StepToGeom_MakeDirection2d.hxx
Normal file
@@ -0,0 +1,64 @@
|
||||
// Created on: 1993-08-04
|
||||
// Created by: Martine LANGLOIS
|
||||
// Copyright (c) 1993-1999 Matra Datavision
|
||||
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepToGeom_MakeDirection2d_HeaderFile
|
||||
#define _StepToGeom_MakeDirection2d_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_DefineAlloc.hxx>
|
||||
#include <Standard_Handle.hxx>
|
||||
|
||||
#include <Standard_Boolean.hxx>
|
||||
class StepGeom_Direction;
|
||||
class Geom2d_Direction;
|
||||
|
||||
|
||||
//! This class implements the mapping between classes
|
||||
//! Direction from StepGeom which describes a direction
|
||||
//! from Prostep and Direction from Geom2d.
|
||||
class StepToGeom_MakeDirection2d
|
||||
{
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
Standard_EXPORT static Standard_Boolean Convert (const Handle(StepGeom_Direction)& SD, Handle(Geom2d_Direction)& CD);
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepToGeom_MakeDirection2d_HeaderFile
|
@@ -1,34 +0,0 @@
|
||||
-- Created on: 1993-06-22
|
||||
-- Created by: Martine LANGLOIS
|
||||
-- Copyright (c) 1993-1999 Matra Datavision
|
||||
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
--
|
||||
-- This file is part of Open CASCADE Technology software library.
|
||||
--
|
||||
-- This library is free software; you can redistribute it and/or modify it under
|
||||
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
-- by the Free Software Foundation, with special exception defined in the file
|
||||
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
-- distribution for complete text of the license and disclaimer of any warranty.
|
||||
--
|
||||
-- Alternatively, this file may be used under the terms of Open CASCADE
|
||||
-- commercial license or contractual agreement.
|
||||
|
||||
class MakeElementarySurface from StepToGeom
|
||||
|
||||
---Purpose: This class implements the mapping between classes
|
||||
-- ElementarySurface from StepGeom which describes
|
||||
-- a ElementarySurface from Step and ElementarySurface from
|
||||
-- Geom. As ElementarySurface is an abstract Surface this
|
||||
-- class is an access to the sub-class required.
|
||||
|
||||
uses ElementarySurface from Geom,
|
||||
ElementarySurface from StepGeom
|
||||
|
||||
is
|
||||
|
||||
Convert ( myclass; SS : ElementarySurface from StepGeom;
|
||||
CS : out ElementarySurface from Geom )
|
||||
returns Boolean from Standard;
|
||||
|
||||
end MakeElementarySurface;
|
@@ -16,24 +16,24 @@
|
||||
|
||||
//:p0 abv 19.02.99: management of 'done' flag improved
|
||||
|
||||
#include <StepToGeom_MakeElementarySurface.ixx>
|
||||
#include <StepGeom_ElementarySurface.hxx>
|
||||
#include <StepGeom_CylindricalSurface.hxx>
|
||||
#include <Geom_ElementarySurface.hxx>
|
||||
#include <StepGeom_ConicalSurface.hxx>
|
||||
#include <StepGeom_CylindricalSurface.hxx>
|
||||
#include <StepGeom_ElementarySurface.hxx>
|
||||
#include <StepGeom_Plane.hxx>
|
||||
#include <StepGeom_SphericalSurface.hxx>
|
||||
#include <StepGeom_ToroidalSurface.hxx>
|
||||
#include <StepGeom_Plane.hxx>
|
||||
#include <StepToGeom_MakeCylindricalSurface.hxx>
|
||||
#include <StepToGeom_MakeConicalSurface.hxx>
|
||||
#include <StepToGeom_MakeCylindricalSurface.hxx>
|
||||
#include <StepToGeom_MakeElementarySurface.hxx>
|
||||
#include <StepToGeom_MakePlane.hxx>
|
||||
#include <StepToGeom_MakeSphericalSurface.hxx>
|
||||
#include <StepToGeom_MakeToroidalSurface.hxx>
|
||||
#include <StepToGeom_MakePlane.hxx>
|
||||
|
||||
//=============================================================================
|
||||
// Creation d' une ElementarySurface de Geom a partir d' une
|
||||
// ElementarySurface de Step
|
||||
//=============================================================================
|
||||
|
||||
Standard_Boolean StepToGeom_MakeElementarySurface::Convert (const Handle(StepGeom_ElementarySurface)& SS, Handle(Geom_ElementarySurface)& CS)
|
||||
{
|
||||
if (SS->IsKind(STANDARD_TYPE(StepGeom_Plane))) {
|
||||
|
66
src/StepToGeom/StepToGeom_MakeElementarySurface.hxx
Normal file
66
src/StepToGeom/StepToGeom_MakeElementarySurface.hxx
Normal file
@@ -0,0 +1,66 @@
|
||||
// Created on: 1993-06-22
|
||||
// Created by: Martine LANGLOIS
|
||||
// Copyright (c) 1993-1999 Matra Datavision
|
||||
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepToGeom_MakeElementarySurface_HeaderFile
|
||||
#define _StepToGeom_MakeElementarySurface_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_DefineAlloc.hxx>
|
||||
#include <Standard_Handle.hxx>
|
||||
|
||||
#include <Standard_Boolean.hxx>
|
||||
class StepGeom_ElementarySurface;
|
||||
class Geom_ElementarySurface;
|
||||
|
||||
|
||||
//! This class implements the mapping between classes
|
||||
//! ElementarySurface from StepGeom which describes
|
||||
//! a ElementarySurface from Step and ElementarySurface from
|
||||
//! Geom. As ElementarySurface is an abstract Surface this
|
||||
//! class is an access to the sub-class required.
|
||||
class StepToGeom_MakeElementarySurface
|
||||
{
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
Standard_EXPORT static Standard_Boolean Convert (const Handle(StepGeom_ElementarySurface)& SS, Handle(Geom_ElementarySurface)& CS);
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepToGeom_MakeElementarySurface_HeaderFile
|
@@ -1,33 +0,0 @@
|
||||
-- Created on: 1994-09-01
|
||||
-- Created by: Frederic MAUPAS
|
||||
-- Copyright (c) 1994-1999 Matra Datavision
|
||||
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
--
|
||||
-- This file is part of Open CASCADE Technology software library.
|
||||
--
|
||||
-- This library is free software; you can redistribute it and/or modify it under
|
||||
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
-- by the Free Software Foundation, with special exception defined in the file
|
||||
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
-- distribution for complete text of the license and disclaimer of any warranty.
|
||||
--
|
||||
-- Alternatively, this file may be used under the terms of Open CASCADE
|
||||
-- commercial license or contractual agreement.
|
||||
|
||||
class MakeEllipse from StepToGeom
|
||||
|
||||
---Purpose: This class implements the mapping between classes
|
||||
-- Ellipse from StepGeom which describes a Ellipse from
|
||||
-- Prostep and Ellipse from Geom.
|
||||
|
||||
uses
|
||||
Ellipse from Geom,
|
||||
Ellipse from StepGeom
|
||||
|
||||
is
|
||||
|
||||
Convert ( myclass; SC : Ellipse from StepGeom;
|
||||
CC : out Ellipse from Geom )
|
||||
returns Boolean from Standard;
|
||||
|
||||
end MakeEllipse;
|
@@ -17,18 +17,18 @@
|
||||
//:o9 abv 19.02.99: bm4_id_punch_b.stp #678: treatment of ellipse with minR > maxR
|
||||
// NOTE: parametrisation of resulting ellipse shifted on pi/2
|
||||
|
||||
#include <StepToGeom_MakeEllipse.ixx>
|
||||
#include <StepGeom_Ellipse.hxx>
|
||||
#include <StepGeom_Axis2Placement3d.hxx>
|
||||
#include <Geom_Axis2Placement.hxx>
|
||||
#include <StepToGeom_MakeAxis2Placement.hxx>
|
||||
#include <Geom_Ellipse.hxx>
|
||||
#include <gp_Ax2.hxx>
|
||||
#include <StepGeom_Axis2Placement3d.hxx>
|
||||
#include <StepGeom_Ellipse.hxx>
|
||||
#include <StepToGeom_MakeAxis2Placement.hxx>
|
||||
#include <StepToGeom_MakeEllipse.hxx>
|
||||
#include <UnitsMethods.hxx>
|
||||
|
||||
//=============================================================================
|
||||
// Creation d' un Ellipse de Geom a partir d' un Ellipse de Step
|
||||
//=============================================================================
|
||||
|
||||
Standard_Boolean StepToGeom_MakeEllipse::Convert
|
||||
(const Handle(StepGeom_Ellipse)& SC,
|
||||
Handle(Geom_Ellipse)& CC)
|
||||
|
64
src/StepToGeom/StepToGeom_MakeEllipse.hxx
Normal file
64
src/StepToGeom/StepToGeom_MakeEllipse.hxx
Normal file
@@ -0,0 +1,64 @@
|
||||
// Created on: 1994-09-01
|
||||
// Created by: Frederic MAUPAS
|
||||
// Copyright (c) 1994-1999 Matra Datavision
|
||||
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepToGeom_MakeEllipse_HeaderFile
|
||||
#define _StepToGeom_MakeEllipse_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_DefineAlloc.hxx>
|
||||
#include <Standard_Handle.hxx>
|
||||
|
||||
#include <Standard_Boolean.hxx>
|
||||
class StepGeom_Ellipse;
|
||||
class Geom_Ellipse;
|
||||
|
||||
|
||||
//! This class implements the mapping between classes
|
||||
//! Ellipse from StepGeom which describes a Ellipse from
|
||||
//! Prostep and Ellipse from Geom.
|
||||
class StepToGeom_MakeEllipse
|
||||
{
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
Standard_EXPORT static Standard_Boolean Convert (const Handle(StepGeom_Ellipse)& SC, Handle(Geom_Ellipse)& CC);
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepToGeom_MakeEllipse_HeaderFile
|
@@ -1,33 +0,0 @@
|
||||
-- Created on: 1994-09-01
|
||||
-- Created by: Frederic MAUPAS
|
||||
-- Copyright (c) 1994-1999 Matra Datavision
|
||||
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
--
|
||||
-- This file is part of Open CASCADE Technology software library.
|
||||
--
|
||||
-- This library is free software; you can redistribute it and/or modify it under
|
||||
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
-- by the Free Software Foundation, with special exception defined in the file
|
||||
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
-- distribution for complete text of the license and disclaimer of any warranty.
|
||||
--
|
||||
-- Alternatively, this file may be used under the terms of Open CASCADE
|
||||
-- commercial license or contractual agreement.
|
||||
|
||||
class MakeEllipse2d from StepToGeom
|
||||
|
||||
---Purpose: This class implements the mapping between classes
|
||||
-- Ellipse from StepGeom which describes a Ellipse from
|
||||
-- Prostep and Ellipse from Geom2d.
|
||||
|
||||
uses
|
||||
Ellipse from Geom2d,
|
||||
Ellipse from StepGeom
|
||||
|
||||
is
|
||||
|
||||
Convert ( myclass; SC : Ellipse from StepGeom;
|
||||
CC : out Ellipse from Geom2d )
|
||||
returns Boolean from Standard;
|
||||
|
||||
end MakeEllipse2d;
|
@@ -17,18 +17,18 @@
|
||||
//:o9 abv 19.02.99: bm4_id_punch_b.stp #678: treatment of minR > maxR
|
||||
// NOTE: parametrisation of resulting ellipse shifted on pi/2
|
||||
|
||||
#include <StepToGeom_MakeEllipse2d.ixx>
|
||||
#include <StepGeom_Ellipse.hxx>
|
||||
#include <StepGeom_Axis2Placement2d.hxx>
|
||||
#include <Geom2d_AxisPlacement.hxx>
|
||||
#include <StepToGeom_MakeAxisPlacement.hxx>
|
||||
#include <Geom2d_Ellipse.hxx>
|
||||
#include <gp_Ax2.hxx>
|
||||
#include <gp_Ax22d.hxx>
|
||||
#include <StepGeom_Axis2Placement2d.hxx>
|
||||
#include <StepGeom_Ellipse.hxx>
|
||||
#include <StepToGeom_MakeAxisPlacement.hxx>
|
||||
#include <StepToGeom_MakeEllipse2d.hxx>
|
||||
|
||||
//=============================================================================
|
||||
// Creation d' un Ellipse de Geom2d a partir d' un Ellipse de Step
|
||||
//=============================================================================
|
||||
|
||||
Standard_Boolean StepToGeom_MakeEllipse2d::Convert
|
||||
(const Handle(StepGeom_Ellipse)& SC,
|
||||
Handle(Geom2d_Ellipse)& CC)
|
||||
|
64
src/StepToGeom/StepToGeom_MakeEllipse2d.hxx
Normal file
64
src/StepToGeom/StepToGeom_MakeEllipse2d.hxx
Normal file
@@ -0,0 +1,64 @@
|
||||
// Created on: 1994-09-01
|
||||
// Created by: Frederic MAUPAS
|
||||
// Copyright (c) 1994-1999 Matra Datavision
|
||||
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepToGeom_MakeEllipse2d_HeaderFile
|
||||
#define _StepToGeom_MakeEllipse2d_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_DefineAlloc.hxx>
|
||||
#include <Standard_Handle.hxx>
|
||||
|
||||
#include <Standard_Boolean.hxx>
|
||||
class StepGeom_Ellipse;
|
||||
class Geom2d_Ellipse;
|
||||
|
||||
|
||||
//! This class implements the mapping between classes
|
||||
//! Ellipse from StepGeom which describes a Ellipse from
|
||||
//! Prostep and Ellipse from Geom2d.
|
||||
class StepToGeom_MakeEllipse2d
|
||||
{
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
Standard_EXPORT static Standard_Boolean Convert (const Handle(StepGeom_Ellipse)& SC, Handle(Geom2d_Ellipse)& CC);
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepToGeom_MakeEllipse2d_HeaderFile
|
@@ -1,33 +0,0 @@
|
||||
-- Created on: 1994-09-08
|
||||
-- Created by: Frederic MAUPAS
|
||||
-- Copyright (c) 1994-1999 Matra Datavision
|
||||
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
--
|
||||
-- This file is part of Open CASCADE Technology software library.
|
||||
--
|
||||
-- This library is free software; you can redistribute it and/or modify it under
|
||||
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
-- by the Free Software Foundation, with special exception defined in the file
|
||||
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
-- distribution for complete text of the license and disclaimer of any warranty.
|
||||
--
|
||||
-- Alternatively, this file may be used under the terms of Open CASCADE
|
||||
-- commercial license or contractual agreement.
|
||||
|
||||
class MakeHyperbola from StepToGeom
|
||||
|
||||
---Purpose: This class implements the mapping between classes
|
||||
-- Hyperbola from StepGeom which describes a Hyperbola from
|
||||
-- Prostep and Hyperbola from Geom.
|
||||
|
||||
uses
|
||||
Hyperbola from Geom,
|
||||
Hyperbola from StepGeom
|
||||
|
||||
is
|
||||
|
||||
Convert ( myclass; SC : Hyperbola from StepGeom;
|
||||
CC : out Hyperbola from Geom )
|
||||
returns Boolean from Standard;
|
||||
|
||||
end MakeHyperbola;
|
@@ -14,18 +14,19 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepToGeom_MakeHyperbola.ixx>
|
||||
#include <StepGeom_Hyperbola.hxx>
|
||||
#include <StepGeom_Axis2Placement3d.hxx>
|
||||
|
||||
#include <Geom_Axis2Placement.hxx>
|
||||
#include <StepToGeom_MakeAxis2Placement.hxx>
|
||||
#include <Geom_Hyperbola.hxx>
|
||||
#include <gp_Ax2.hxx>
|
||||
#include <StepGeom_Axis2Placement3d.hxx>
|
||||
#include <StepGeom_Hyperbola.hxx>
|
||||
#include <StepToGeom_MakeAxis2Placement.hxx>
|
||||
#include <StepToGeom_MakeHyperbola.hxx>
|
||||
#include <UnitsMethods.hxx>
|
||||
|
||||
//=============================================================================
|
||||
// Creation d' un Hyperbola de Geom a partir d' un Hyperbola de Step
|
||||
//=============================================================================
|
||||
|
||||
Standard_Boolean StepToGeom_MakeHyperbola::Convert
|
||||
(const Handle(StepGeom_Hyperbola)& SC,
|
||||
Handle(Geom_Hyperbola)& CC)
|
||||
|
64
src/StepToGeom/StepToGeom_MakeHyperbola.hxx
Normal file
64
src/StepToGeom/StepToGeom_MakeHyperbola.hxx
Normal file
@@ -0,0 +1,64 @@
|
||||
// Created on: 1994-09-08
|
||||
// Created by: Frederic MAUPAS
|
||||
// Copyright (c) 1994-1999 Matra Datavision
|
||||
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepToGeom_MakeHyperbola_HeaderFile
|
||||
#define _StepToGeom_MakeHyperbola_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_DefineAlloc.hxx>
|
||||
#include <Standard_Handle.hxx>
|
||||
|
||||
#include <Standard_Boolean.hxx>
|
||||
class StepGeom_Hyperbola;
|
||||
class Geom_Hyperbola;
|
||||
|
||||
|
||||
//! This class implements the mapping between classes
|
||||
//! Hyperbola from StepGeom which describes a Hyperbola from
|
||||
//! Prostep and Hyperbola from Geom.
|
||||
class StepToGeom_MakeHyperbola
|
||||
{
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
Standard_EXPORT static Standard_Boolean Convert (const Handle(StepGeom_Hyperbola)& SC, Handle(Geom_Hyperbola)& CC);
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepToGeom_MakeHyperbola_HeaderFile
|
@@ -1,33 +0,0 @@
|
||||
-- Created on: 1995-05-09
|
||||
-- Created by: Dieter THIEMANN
|
||||
-- Copyright (c) 1995-1999 Matra Datavision
|
||||
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
--
|
||||
-- This file is part of Open CASCADE Technology software library.
|
||||
--
|
||||
-- This library is free software; you can redistribute it and/or modify it under
|
||||
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
-- by the Free Software Foundation, with special exception defined in the file
|
||||
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
-- distribution for complete text of the license and disclaimer of any warranty.
|
||||
--
|
||||
-- Alternatively, this file may be used under the terms of Open CASCADE
|
||||
-- commercial license or contractual agreement.
|
||||
|
||||
class MakeHyperbola2d from StepToGeom
|
||||
|
||||
---Purpose: This class implements the mapping between classes
|
||||
-- Hyperbola from StepGeom which describes a Hyperbola from
|
||||
-- Prostep and Hyperbola from Geom2d.
|
||||
|
||||
uses
|
||||
Hyperbola from Geom2d,
|
||||
Hyperbola from StepGeom
|
||||
|
||||
is
|
||||
|
||||
Convert ( myclass; SC : Hyperbola from StepGeom;
|
||||
CC : out Hyperbola from Geom2d )
|
||||
returns Boolean from Standard;
|
||||
|
||||
end MakeHyperbola2d;
|
@@ -14,18 +14,19 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepToGeom_MakeHyperbola2d.ixx>
|
||||
#include <StepGeom_Hyperbola.hxx>
|
||||
#include <StepGeom_Axis2Placement2d.hxx>
|
||||
|
||||
#include <Geom2d_AxisPlacement.hxx>
|
||||
#include <StepToGeom_MakeAxisPlacement.hxx>
|
||||
#include <Geom2d_Hyperbola.hxx>
|
||||
#include <gp_Ax2.hxx>
|
||||
#include <gp_Ax22d.hxx>
|
||||
#include <StepGeom_Axis2Placement2d.hxx>
|
||||
#include <StepGeom_Hyperbola.hxx>
|
||||
#include <StepToGeom_MakeAxisPlacement.hxx>
|
||||
#include <StepToGeom_MakeHyperbola2d.hxx>
|
||||
|
||||
//=============================================================================
|
||||
// Creation d' un Hyperbola de Geom2d a partir d' un Hyperbola de Step
|
||||
//=============================================================================
|
||||
|
||||
Standard_Boolean StepToGeom_MakeHyperbola2d::Convert
|
||||
(const Handle(StepGeom_Hyperbola)& SC,
|
||||
Handle(Geom2d_Hyperbola)& CC)
|
||||
|
64
src/StepToGeom/StepToGeom_MakeHyperbola2d.hxx
Normal file
64
src/StepToGeom/StepToGeom_MakeHyperbola2d.hxx
Normal file
@@ -0,0 +1,64 @@
|
||||
// Created on: 1995-05-09
|
||||
// Created by: Dieter THIEMANN
|
||||
// Copyright (c) 1995-1999 Matra Datavision
|
||||
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepToGeom_MakeHyperbola2d_HeaderFile
|
||||
#define _StepToGeom_MakeHyperbola2d_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_DefineAlloc.hxx>
|
||||
#include <Standard_Handle.hxx>
|
||||
|
||||
#include <Standard_Boolean.hxx>
|
||||
class StepGeom_Hyperbola;
|
||||
class Geom2d_Hyperbola;
|
||||
|
||||
|
||||
//! This class implements the mapping between classes
|
||||
//! Hyperbola from StepGeom which describes a Hyperbola from
|
||||
//! Prostep and Hyperbola from Geom2d.
|
||||
class StepToGeom_MakeHyperbola2d
|
||||
{
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
Standard_EXPORT static Standard_Boolean Convert (const Handle(StepGeom_Hyperbola)& SC, Handle(Geom2d_Hyperbola)& CC);
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepToGeom_MakeHyperbola2d_HeaderFile
|
@@ -1,33 +0,0 @@
|
||||
-- Created on: 1993-06-14
|
||||
-- Created by: Martine LANGLOIS
|
||||
-- Copyright (c) 1993-1999 Matra Datavision
|
||||
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
--
|
||||
-- This file is part of Open CASCADE Technology software library.
|
||||
--
|
||||
-- This library is free software; you can redistribute it and/or modify it under
|
||||
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
-- by the Free Software Foundation, with special exception defined in the file
|
||||
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
-- distribution for complete text of the license and disclaimer of any warranty.
|
||||
--
|
||||
-- Alternatively, this file may be used under the terms of Open CASCADE
|
||||
-- commercial license or contractual agreement.
|
||||
|
||||
class MakeLine from StepToGeom
|
||||
|
||||
---Purpose: This class implements the mapping between classes
|
||||
-- Line from StepGeom which describes a line from
|
||||
-- Prostep and Line from Geom.
|
||||
|
||||
uses
|
||||
Line from Geom,
|
||||
Line from StepGeom
|
||||
|
||||
is
|
||||
|
||||
Convert ( myclass; SC : Line from StepGeom;
|
||||
CC : out Line from Geom )
|
||||
returns Boolean from Standard;
|
||||
|
||||
end MakeLine;
|
@@ -16,24 +16,23 @@
|
||||
|
||||
// sln 22.10.2001. CTS23496: Line is not created if direction have not been succesfully created (StepToGeom_MakeLine(...) function)
|
||||
|
||||
#include <StepToGeom_MakeLine.ixx>
|
||||
#include <StepGeom_Line.hxx>
|
||||
#include <StepGeom_Vector.hxx>
|
||||
#include <StepGeom_CartesianPoint.hxx>
|
||||
#include <StepToGeom_MakeVectorWithMagnitude.hxx>
|
||||
#include <StepToGeom_MakeCartesianPoint.hxx>
|
||||
#include <Geom_CartesianPoint.hxx>
|
||||
#include <Geom_Line.hxx>
|
||||
#include <Geom_VectorWithMagnitude.hxx>
|
||||
#include <gp_Dir.hxx>
|
||||
#include <gp_Pnt.hxx>
|
||||
#include <gp_Vec.hxx>
|
||||
#include <gp_Dir.hxx>
|
||||
#include <Precision.hxx>
|
||||
#include <StepGeom_CartesianPoint.hxx>
|
||||
#include <StepGeom_Line.hxx>
|
||||
#include <StepGeom_Vector.hxx>
|
||||
#include <StepToGeom_MakeCartesianPoint.hxx>
|
||||
#include <StepToGeom_MakeLine.hxx>
|
||||
#include <StepToGeom_MakeVectorWithMagnitude.hxx>
|
||||
|
||||
//=============================================================================
|
||||
// Creation d' une Line de Geom a partir d' une Line de Step
|
||||
//=============================================================================
|
||||
|
||||
Standard_Boolean StepToGeom_MakeLine::Convert (const Handle(StepGeom_Line)& SC, Handle(Geom_Line)& CC)
|
||||
{
|
||||
Handle(Geom_CartesianPoint) P;
|
||||
|
64
src/StepToGeom/StepToGeom_MakeLine.hxx
Normal file
64
src/StepToGeom/StepToGeom_MakeLine.hxx
Normal file
@@ -0,0 +1,64 @@
|
||||
// Created on: 1993-06-14
|
||||
// Created by: Martine LANGLOIS
|
||||
// Copyright (c) 1993-1999 Matra Datavision
|
||||
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepToGeom_MakeLine_HeaderFile
|
||||
#define _StepToGeom_MakeLine_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_DefineAlloc.hxx>
|
||||
#include <Standard_Handle.hxx>
|
||||
|
||||
#include <Standard_Boolean.hxx>
|
||||
class StepGeom_Line;
|
||||
class Geom_Line;
|
||||
|
||||
|
||||
//! This class implements the mapping between classes
|
||||
//! Line from StepGeom which describes a line from
|
||||
//! Prostep and Line from Geom.
|
||||
class StepToGeom_MakeLine
|
||||
{
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
Standard_EXPORT static Standard_Boolean Convert (const Handle(StepGeom_Line)& SC, Handle(Geom_Line)& CC);
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepToGeom_MakeLine_HeaderFile
|
@@ -1,33 +0,0 @@
|
||||
-- Created on: 1993-08-04
|
||||
-- Created by: Martine LANGLOIS
|
||||
-- Copyright (c) 1993-1999 Matra Datavision
|
||||
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
--
|
||||
-- This file is part of Open CASCADE Technology software library.
|
||||
--
|
||||
-- This library is free software; you can redistribute it and/or modify it under
|
||||
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
-- by the Free Software Foundation, with special exception defined in the file
|
||||
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
-- distribution for complete text of the license and disclaimer of any warranty.
|
||||
--
|
||||
-- Alternatively, this file may be used under the terms of Open CASCADE
|
||||
-- commercial license or contractual agreement.
|
||||
|
||||
class MakeLine2d from StepToGeom
|
||||
|
||||
---Purpose: This class implements the mapping between classes
|
||||
-- Line from StepGeom which describes a line from
|
||||
-- Prostep and Line from Geom2d.
|
||||
|
||||
uses
|
||||
Line from Geom2d,
|
||||
Line from StepGeom
|
||||
|
||||
is
|
||||
|
||||
Convert ( myclass; SC : Line from StepGeom;
|
||||
CC : out Line from Geom2d )
|
||||
returns Boolean from Standard;
|
||||
|
||||
end MakeLine2d;
|
@@ -16,24 +16,23 @@
|
||||
|
||||
// sln 23.10.2001. CTS23496: Line is not created if direction have not been succesfully created (StepToGeom_MakeLine2d(...) function)
|
||||
|
||||
#include <StepToGeom_MakeLine2d.ixx>
|
||||
#include <StepGeom_Line.hxx>
|
||||
#include <StepGeom_Vector.hxx>
|
||||
#include <StepGeom_CartesianPoint.hxx>
|
||||
#include <StepToGeom_MakeVectorWithMagnitude2d.hxx>
|
||||
#include <StepToGeom_MakeCartesianPoint2d.hxx>
|
||||
#include <Geom2d_CartesianPoint.hxx>
|
||||
#include <Geom2d_Line.hxx>
|
||||
#include <Geom2d_Vector.hxx>
|
||||
#include <Geom2d_VectorWithMagnitude.hxx>
|
||||
#include <gp_Dir2d.hxx>
|
||||
#include <gp_Pnt2d.hxx>
|
||||
#include <gp_Vec2d.hxx>
|
||||
#include <gp_Dir2d.hxx>
|
||||
#include <StepGeom_CartesianPoint.hxx>
|
||||
#include <StepGeom_Line.hxx>
|
||||
#include <StepGeom_Vector.hxx>
|
||||
#include <StepToGeom_MakeCartesianPoint2d.hxx>
|
||||
#include <StepToGeom_MakeLine2d.hxx>
|
||||
#include <StepToGeom_MakeVectorWithMagnitude2d.hxx>
|
||||
|
||||
//=============================================================================
|
||||
// Creation d' une Line de Geom2d a partir d' une Line de Step
|
||||
//=============================================================================
|
||||
|
||||
Standard_Boolean StepToGeom_MakeLine2d::Convert (const Handle(StepGeom_Line)& SC, Handle(Geom2d_Line)& CC)
|
||||
{
|
||||
Handle(Geom2d_CartesianPoint) P;
|
||||
|
64
src/StepToGeom/StepToGeom_MakeLine2d.hxx
Normal file
64
src/StepToGeom/StepToGeom_MakeLine2d.hxx
Normal file
@@ -0,0 +1,64 @@
|
||||
// Created on: 1993-08-04
|
||||
// Created by: Martine LANGLOIS
|
||||
// Copyright (c) 1993-1999 Matra Datavision
|
||||
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepToGeom_MakeLine2d_HeaderFile
|
||||
#define _StepToGeom_MakeLine2d_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_DefineAlloc.hxx>
|
||||
#include <Standard_Handle.hxx>
|
||||
|
||||
#include <Standard_Boolean.hxx>
|
||||
class StepGeom_Line;
|
||||
class Geom2d_Line;
|
||||
|
||||
|
||||
//! This class implements the mapping between classes
|
||||
//! Line from StepGeom which describes a line from
|
||||
//! Prostep and Line from Geom2d.
|
||||
class StepToGeom_MakeLine2d
|
||||
{
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
Standard_EXPORT static Standard_Boolean Convert (const Handle(StepGeom_Line)& SC, Handle(Geom2d_Line)& CC);
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepToGeom_MakeLine2d_HeaderFile
|
@@ -1,33 +0,0 @@
|
||||
-- Created on: 1994-09-08
|
||||
-- Created by: Frederic MAUPAS
|
||||
-- Copyright (c) 1994-1999 Matra Datavision
|
||||
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
--
|
||||
-- This file is part of Open CASCADE Technology software library.
|
||||
--
|
||||
-- This library is free software; you can redistribute it and/or modify it under
|
||||
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
-- by the Free Software Foundation, with special exception defined in the file
|
||||
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
-- distribution for complete text of the license and disclaimer of any warranty.
|
||||
--
|
||||
-- Alternatively, this file may be used under the terms of Open CASCADE
|
||||
-- commercial license or contractual agreement.
|
||||
|
||||
class MakeParabola from StepToGeom
|
||||
|
||||
---Purpose: This class implements the mapping between classes
|
||||
-- Parabola from StepGeom which describes a Parabola from
|
||||
-- Prostep and Parabola from Geom.
|
||||
|
||||
uses
|
||||
Parabola from Geom,
|
||||
Parabola from StepGeom
|
||||
|
||||
is
|
||||
|
||||
Convert ( myclass; SC : Parabola from StepGeom;
|
||||
CC : out Parabola from Geom )
|
||||
returns Boolean from Standard;
|
||||
|
||||
end MakeParabola;
|
@@ -14,18 +14,19 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepToGeom_MakeParabola.ixx>
|
||||
#include <StepGeom_Parabola.hxx>
|
||||
#include <StepGeom_Axis2Placement3d.hxx>
|
||||
|
||||
#include <Geom_Axis2Placement.hxx>
|
||||
#include <StepToGeom_MakeAxis2Placement.hxx>
|
||||
#include <Geom_Parabola.hxx>
|
||||
#include <gp_Ax2.hxx>
|
||||
#include <StepGeom_Axis2Placement3d.hxx>
|
||||
#include <StepGeom_Parabola.hxx>
|
||||
#include <StepToGeom_MakeAxis2Placement.hxx>
|
||||
#include <StepToGeom_MakeParabola.hxx>
|
||||
#include <UnitsMethods.hxx>
|
||||
|
||||
//=============================================================================
|
||||
// Creation d' un Parabola de Geom a partir d' un Parabola de Step
|
||||
//=============================================================================
|
||||
|
||||
Standard_Boolean StepToGeom_MakeParabola::Convert
|
||||
(const Handle(StepGeom_Parabola)& SC,
|
||||
Handle(Geom_Parabola)& CC)
|
||||
|
64
src/StepToGeom/StepToGeom_MakeParabola.hxx
Normal file
64
src/StepToGeom/StepToGeom_MakeParabola.hxx
Normal file
@@ -0,0 +1,64 @@
|
||||
// Created on: 1994-09-08
|
||||
// Created by: Frederic MAUPAS
|
||||
// Copyright (c) 1994-1999 Matra Datavision
|
||||
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepToGeom_MakeParabola_HeaderFile
|
||||
#define _StepToGeom_MakeParabola_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_DefineAlloc.hxx>
|
||||
#include <Standard_Handle.hxx>
|
||||
|
||||
#include <Standard_Boolean.hxx>
|
||||
class StepGeom_Parabola;
|
||||
class Geom_Parabola;
|
||||
|
||||
|
||||
//! This class implements the mapping between classes
|
||||
//! Parabola from StepGeom which describes a Parabola from
|
||||
//! Prostep and Parabola from Geom.
|
||||
class StepToGeom_MakeParabola
|
||||
{
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
Standard_EXPORT static Standard_Boolean Convert (const Handle(StepGeom_Parabola)& SC, Handle(Geom_Parabola)& CC);
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepToGeom_MakeParabola_HeaderFile
|
@@ -1,33 +0,0 @@
|
||||
-- Created on: 1995-05-09
|
||||
-- Created by: Dieter THIEMANN
|
||||
-- Copyright (c) 1995-1999 Matra Datavision
|
||||
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
--
|
||||
-- This file is part of Open CASCADE Technology software library.
|
||||
--
|
||||
-- This library is free software; you can redistribute it and/or modify it under
|
||||
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
-- by the Free Software Foundation, with special exception defined in the file
|
||||
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
-- distribution for complete text of the license and disclaimer of any warranty.
|
||||
--
|
||||
-- Alternatively, this file may be used under the terms of Open CASCADE
|
||||
-- commercial license or contractual agreement.
|
||||
|
||||
class MakeParabola2d from StepToGeom
|
||||
|
||||
---Purpose: This class implements the mapping between classes
|
||||
-- Parabola from StepGeom which describes a Parabola from
|
||||
-- Prostep and Parabola from Geom2d.
|
||||
|
||||
uses
|
||||
Parabola from Geom2d,
|
||||
Parabola from StepGeom
|
||||
|
||||
is
|
||||
|
||||
Convert ( myclass; SC : Parabola from StepGeom;
|
||||
CC : out Parabola from Geom2d )
|
||||
returns Boolean from Standard;
|
||||
|
||||
end MakeParabola2d;
|
@@ -14,18 +14,19 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepToGeom_MakeParabola2d.ixx>
|
||||
#include <StepGeom_Parabola.hxx>
|
||||
#include <StepGeom_Axis2Placement2d.hxx>
|
||||
|
||||
#include <Geom2d_AxisPlacement.hxx>
|
||||
#include <StepToGeom_MakeAxisPlacement.hxx>
|
||||
#include <Geom2d_Parabola.hxx>
|
||||
#include <gp_Ax2.hxx>
|
||||
#include <gp_Ax22d.hxx>
|
||||
#include <StepGeom_Axis2Placement2d.hxx>
|
||||
#include <StepGeom_Parabola.hxx>
|
||||
#include <StepToGeom_MakeAxisPlacement.hxx>
|
||||
#include <StepToGeom_MakeParabola2d.hxx>
|
||||
|
||||
//=============================================================================
|
||||
// Creation d' un Parabola de Geom2d a partir d' un Parabola de Step
|
||||
//=============================================================================
|
||||
|
||||
Standard_Boolean StepToGeom_MakeParabola2d::Convert
|
||||
(const Handle(StepGeom_Parabola)& SC,
|
||||
Handle(Geom2d_Parabola)& CC)
|
||||
|
64
src/StepToGeom/StepToGeom_MakeParabola2d.hxx
Normal file
64
src/StepToGeom/StepToGeom_MakeParabola2d.hxx
Normal file
@@ -0,0 +1,64 @@
|
||||
// Created on: 1995-05-09
|
||||
// Created by: Dieter THIEMANN
|
||||
// Copyright (c) 1995-1999 Matra Datavision
|
||||
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepToGeom_MakeParabola2d_HeaderFile
|
||||
#define _StepToGeom_MakeParabola2d_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_DefineAlloc.hxx>
|
||||
#include <Standard_Handle.hxx>
|
||||
|
||||
#include <Standard_Boolean.hxx>
|
||||
class StepGeom_Parabola;
|
||||
class Geom2d_Parabola;
|
||||
|
||||
|
||||
//! This class implements the mapping between classes
|
||||
//! Parabola from StepGeom which describes a Parabola from
|
||||
//! Prostep and Parabola from Geom2d.
|
||||
class StepToGeom_MakeParabola2d
|
||||
{
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
Standard_EXPORT static Standard_Boolean Convert (const Handle(StepGeom_Parabola)& SC, Handle(Geom2d_Parabola)& CC);
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepToGeom_MakeParabola2d_HeaderFile
|
@@ -1,33 +0,0 @@
|
||||
-- Created on: 1993-06-14
|
||||
-- Created by: Martine LANGLOIS
|
||||
-- Copyright (c) 1993-1999 Matra Datavision
|
||||
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
--
|
||||
-- This file is part of Open CASCADE Technology software library.
|
||||
--
|
||||
-- This library is free software; you can redistribute it and/or modify it under
|
||||
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
-- by the Free Software Foundation, with special exception defined in the file
|
||||
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
-- distribution for complete text of the license and disclaimer of any warranty.
|
||||
--
|
||||
-- Alternatively, this file may be used under the terms of Open CASCADE
|
||||
-- commercial license or contractual agreement.
|
||||
|
||||
class MakePlane from StepToGeom
|
||||
|
||||
---Purpose: This class implements the mapping between classes
|
||||
-- Plane from StepGeom which describes a plane from
|
||||
-- Prostep and Plane form Geom.
|
||||
|
||||
uses
|
||||
Plane from Geom,
|
||||
Plane from StepGeom
|
||||
|
||||
is
|
||||
|
||||
Convert ( myclass; SP : Plane from StepGeom;
|
||||
CP : out Plane from Geom )
|
||||
returns Boolean from Standard;
|
||||
|
||||
end MakePlane;
|
@@ -14,16 +14,18 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepToGeom_MakePlane.ixx>
|
||||
#include <StepGeom_Axis2Placement3d.hxx>
|
||||
#include <StepToGeom_MakeAxis2Placement.hxx>
|
||||
|
||||
#include <Geom_Axis2Placement.hxx>
|
||||
#include <Geom_Plane.hxx>
|
||||
#include <gp_Ax2.hxx>
|
||||
#include <StepGeom_Axis2Placement3d.hxx>
|
||||
#include <StepGeom_Plane.hxx>
|
||||
#include <StepToGeom_MakeAxis2Placement.hxx>
|
||||
#include <StepToGeom_MakePlane.hxx>
|
||||
|
||||
//=============================================================================
|
||||
// Creation d' un Plane de Geom a partir d' un plane de Step
|
||||
//=============================================================================
|
||||
|
||||
Standard_Boolean StepToGeom_MakePlane::Convert (const Handle(StepGeom_Plane)& SP, Handle(Geom_Plane)& CP)
|
||||
{
|
||||
Handle(Geom_Axis2Placement) A;
|
||||
|
64
src/StepToGeom/StepToGeom_MakePlane.hxx
Normal file
64
src/StepToGeom/StepToGeom_MakePlane.hxx
Normal file
@@ -0,0 +1,64 @@
|
||||
// Created on: 1993-06-14
|
||||
// Created by: Martine LANGLOIS
|
||||
// Copyright (c) 1993-1999 Matra Datavision
|
||||
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepToGeom_MakePlane_HeaderFile
|
||||
#define _StepToGeom_MakePlane_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_DefineAlloc.hxx>
|
||||
#include <Standard_Handle.hxx>
|
||||
|
||||
#include <Standard_Boolean.hxx>
|
||||
class StepGeom_Plane;
|
||||
class Geom_Plane;
|
||||
|
||||
|
||||
//! This class implements the mapping between classes
|
||||
//! Plane from StepGeom which describes a plane from
|
||||
//! Prostep and Plane form Geom.
|
||||
class StepToGeom_MakePlane
|
||||
{
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
Standard_EXPORT static Standard_Boolean Convert (const Handle(StepGeom_Plane)& SP, Handle(Geom_Plane)& CP);
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepToGeom_MakePlane_HeaderFile
|
@@ -1,32 +0,0 @@
|
||||
-- Created on: 1999-02-15
|
||||
-- Created by: Andrey BETENEV
|
||||
-- Copyright (c) 1999 Matra Datavision
|
||||
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
--
|
||||
-- This file is part of Open CASCADE Technology software library.
|
||||
--
|
||||
-- This library is free software; you can redistribute it and/or modify it under
|
||||
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
-- by the Free Software Foundation, with special exception defined in the file
|
||||
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
-- distribution for complete text of the license and disclaimer of any warranty.
|
||||
--
|
||||
-- Alternatively, this file may be used under the terms of Open CASCADE
|
||||
-- commercial license or contractual agreement.
|
||||
|
||||
class MakePolyline from StepToGeom inherits Root from StepToGeom
|
||||
|
||||
---Purpose: Translates polyline entity into Geom_BSpline
|
||||
-- In case if polyline has more than 2 points bspline will be C0
|
||||
|
||||
uses
|
||||
Polyline from StepGeom,
|
||||
BSplineCurve from Geom
|
||||
|
||||
is
|
||||
|
||||
Convert ( myclass; SPL : Polyline from StepGeom;
|
||||
CC : out BSplineCurve from Geom )
|
||||
returns Boolean from Standard;
|
||||
|
||||
end MakePolyline;
|
@@ -14,20 +14,21 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepToGeom_MakePolyline.ixx>
|
||||
#include <StepToGeom_MakeCartesianPoint.hxx>
|
||||
#include <StepGeom_CartesianPoint.hxx>
|
||||
#include <Geom_CartesianPoint.hxx>
|
||||
|
||||
#include <Geom_BSplineCurve.hxx>
|
||||
#include <Geom_CartesianPoint.hxx>
|
||||
#include <StepGeom_CartesianPoint.hxx>
|
||||
#include <StepGeom_Polyline.hxx>
|
||||
#include <StepToGeom_MakeCartesianPoint.hxx>
|
||||
#include <StepToGeom_MakePolyline.hxx>
|
||||
#include <TColgp_Array1OfPnt.hxx>
|
||||
#include <TColStd_Array1OfReal.hxx>
|
||||
#include <TColStd_Array1OfInteger.hxx>
|
||||
#include <TColStd_Array1OfReal.hxx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepToGeom_MakePolyline
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Standard_Boolean StepToGeom_MakePolyline::Convert (const Handle(StepGeom_Polyline)& SPL, Handle(Geom_BSplineCurve)& CC)
|
||||
{
|
||||
if (SPL.IsNull())
|
||||
|
64
src/StepToGeom/StepToGeom_MakePolyline.hxx
Normal file
64
src/StepToGeom/StepToGeom_MakePolyline.hxx
Normal file
@@ -0,0 +1,64 @@
|
||||
// Created on: 1999-02-15
|
||||
// Created by: Andrey BETENEV
|
||||
// Copyright (c) 1999 Matra Datavision
|
||||
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepToGeom_MakePolyline_HeaderFile
|
||||
#define _StepToGeom_MakePolyline_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_DefineAlloc.hxx>
|
||||
#include <Standard_Handle.hxx>
|
||||
|
||||
#include <StepToGeom_Root.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
class StepGeom_Polyline;
|
||||
class Geom_BSplineCurve;
|
||||
|
||||
|
||||
//! Translates polyline entity into Geom_BSpline
|
||||
//! In case if polyline has more than 2 points bspline will be C0
|
||||
class StepToGeom_MakePolyline : public StepToGeom_Root
|
||||
{
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
Standard_EXPORT static Standard_Boolean Convert (const Handle(StepGeom_Polyline)& SPL, Handle(Geom_BSplineCurve)& CC);
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepToGeom_MakePolyline_HeaderFile
|
@@ -1,32 +0,0 @@
|
||||
-- Created on: 1999-02-15
|
||||
-- Created by: Andrey BETENEV
|
||||
-- Copyright (c) 1999 Matra Datavision
|
||||
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
--
|
||||
-- This file is part of Open CASCADE Technology software library.
|
||||
--
|
||||
-- This library is free software; you can redistribute it and/or modify it under
|
||||
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
-- by the Free Software Foundation, with special exception defined in the file
|
||||
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
-- distribution for complete text of the license and disclaimer of any warranty.
|
||||
--
|
||||
-- Alternatively, this file may be used under the terms of Open CASCADE
|
||||
-- commercial license or contractual agreement.
|
||||
|
||||
class MakePolyline2d from StepToGeom
|
||||
|
||||
---Purpose: Translates Polyline entity into Geom2d_BSpline
|
||||
-- In case if Polyline has more than 2 points bspline will be C0
|
||||
|
||||
uses
|
||||
Polyline from StepGeom,
|
||||
BSplineCurve from Geom2d
|
||||
|
||||
is
|
||||
|
||||
Convert ( myclass; SPL : Polyline from StepGeom;
|
||||
CC : out BSplineCurve from Geom2d )
|
||||
returns Boolean from Standard;
|
||||
|
||||
end MakePolyline2d;
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user