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,18 +1,204 @@
|
||||
StepGeom_Array1OfCurve.hxx
|
||||
StepGeom_HArray1OfCurve.hxx
|
||||
StepGeom_Array1OfCartesianPoint.hxx
|
||||
StepGeom_HArray1OfCartesianPoint.hxx
|
||||
StepGeom_Array2OfCartesianPoint.hxx
|
||||
StepGeom_HArray2OfCartesianPoint.hxx
|
||||
StepGeom_Array1OfCompositeCurveSegment.hxx
|
||||
StepGeom_HArray1OfCompositeCurveSegment.hxx
|
||||
StepGeom_Array1OfBoundaryCurve.hxx
|
||||
StepGeom_HArray1OfBoundaryCurve.hxx
|
||||
StepGeom_Array2OfSurfacePatch.hxx
|
||||
StepGeom_HArray2OfSurfacePatch.hxx
|
||||
StepGeom_Array1OfSurfaceBoundary.hxx
|
||||
StepGeom_HArray1OfSurfaceBoundary.hxx
|
||||
StepGeom_Array1OfCartesianPoint.hxx
|
||||
StepGeom_Array1OfCompositeCurveSegment.hxx
|
||||
StepGeom_Array1OfCurve.hxx
|
||||
StepGeom_Array1OfPcurveOrSurface.hxx
|
||||
StepGeom_HArray1OfPcurveOrSurface.hxx
|
||||
StepGeom_Array1OfSurfaceBoundary.hxx
|
||||
StepGeom_Array1OfTrimmingSelect.hxx
|
||||
StepGeom_Array2OfCartesianPoint.hxx
|
||||
StepGeom_Array2OfSurfacePatch.hxx
|
||||
StepGeom_Axis1Placement.cxx
|
||||
StepGeom_Axis1Placement.hxx
|
||||
StepGeom_Axis2Placement.cxx
|
||||
StepGeom_Axis2Placement.hxx
|
||||
StepGeom_Axis2Placement2d.cxx
|
||||
StepGeom_Axis2Placement2d.hxx
|
||||
StepGeom_Axis2Placement3d.cxx
|
||||
StepGeom_Axis2Placement3d.hxx
|
||||
StepGeom_BezierCurve.cxx
|
||||
StepGeom_BezierCurve.hxx
|
||||
StepGeom_BezierCurveAndRationalBSplineCurve.cxx
|
||||
StepGeom_BezierCurveAndRationalBSplineCurve.hxx
|
||||
StepGeom_BezierSurface.cxx
|
||||
StepGeom_BezierSurface.hxx
|
||||
StepGeom_BezierSurfaceAndRationalBSplineSurface.cxx
|
||||
StepGeom_BezierSurfaceAndRationalBSplineSurface.hxx
|
||||
StepGeom_BoundaryCurve.cxx
|
||||
StepGeom_BoundaryCurve.hxx
|
||||
StepGeom_BoundedCurve.cxx
|
||||
StepGeom_BoundedCurve.hxx
|
||||
StepGeom_BoundedSurface.cxx
|
||||
StepGeom_BoundedSurface.hxx
|
||||
StepGeom_BSplineCurve.cxx
|
||||
StepGeom_BSplineCurve.hxx
|
||||
StepGeom_BSplineCurveForm.hxx
|
||||
StepGeom_BSplineCurveWithKnots.cxx
|
||||
StepGeom_BSplineCurveWithKnots.hxx
|
||||
StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve.cxx
|
||||
StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve.hxx
|
||||
StepGeom_BSplineSurface.cxx
|
||||
StepGeom_BSplineSurface.hxx
|
||||
StepGeom_BSplineSurfaceForm.hxx
|
||||
StepGeom_BSplineSurfaceWithKnots.cxx
|
||||
StepGeom_BSplineSurfaceWithKnots.hxx
|
||||
StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface.cxx
|
||||
StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface.hxx
|
||||
StepGeom_CartesianPoint.cxx
|
||||
StepGeom_CartesianPoint.hxx
|
||||
StepGeom_CartesianTransformationOperator.cxx
|
||||
StepGeom_CartesianTransformationOperator.hxx
|
||||
StepGeom_CartesianTransformationOperator2d.cxx
|
||||
StepGeom_CartesianTransformationOperator2d.hxx
|
||||
StepGeom_CartesianTransformationOperator3d.cxx
|
||||
StepGeom_CartesianTransformationOperator3d.hxx
|
||||
StepGeom_Circle.cxx
|
||||
StepGeom_Circle.hxx
|
||||
StepGeom_CompositeCurve.cxx
|
||||
StepGeom_CompositeCurve.hxx
|
||||
StepGeom_CompositeCurveOnSurface.cxx
|
||||
StepGeom_CompositeCurveOnSurface.hxx
|
||||
StepGeom_CompositeCurveSegment.cxx
|
||||
StepGeom_CompositeCurveSegment.hxx
|
||||
StepGeom_Conic.cxx
|
||||
StepGeom_Conic.hxx
|
||||
StepGeom_ConicalSurface.cxx
|
||||
StepGeom_ConicalSurface.hxx
|
||||
StepGeom_Curve.cxx
|
||||
StepGeom_Curve.hxx
|
||||
StepGeom_CurveBoundedSurface.cxx
|
||||
StepGeom_CurveBoundedSurface.hxx
|
||||
StepGeom_CurveOnSurface.cxx
|
||||
StepGeom_CurveOnSurface.hxx
|
||||
StepGeom_CurveReplica.cxx
|
||||
StepGeom_CurveReplica.hxx
|
||||
StepGeom_CylindricalSurface.cxx
|
||||
StepGeom_CylindricalSurface.hxx
|
||||
StepGeom_DegeneratePcurve.cxx
|
||||
StepGeom_DegeneratePcurve.hxx
|
||||
StepGeom_DegenerateToroidalSurface.cxx
|
||||
StepGeom_DegenerateToroidalSurface.hxx
|
||||
StepGeom_Direction.cxx
|
||||
StepGeom_Direction.hxx
|
||||
StepGeom_ElementarySurface.cxx
|
||||
StepGeom_ElementarySurface.hxx
|
||||
StepGeom_Ellipse.cxx
|
||||
StepGeom_Ellipse.hxx
|
||||
StepGeom_EvaluatedDegeneratePcurve.cxx
|
||||
StepGeom_EvaluatedDegeneratePcurve.hxx
|
||||
StepGeom_GeometricRepresentationContext.cxx
|
||||
StepGeom_GeometricRepresentationContext.hxx
|
||||
StepGeom_GeometricRepresentationContextAndGlobalUnitAssignedContext.cxx
|
||||
StepGeom_GeometricRepresentationContextAndGlobalUnitAssignedContext.hxx
|
||||
StepGeom_GeometricRepresentationContextAndParametricRepresentationContext.cxx
|
||||
StepGeom_GeometricRepresentationContextAndParametricRepresentationContext.hxx
|
||||
StepGeom_GeometricRepresentationItem.cxx
|
||||
StepGeom_GeometricRepresentationItem.hxx
|
||||
StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx.cxx
|
||||
StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx.hxx
|
||||
StepGeom_HArray1OfBoundaryCurve.hxx
|
||||
StepGeom_HArray1OfCartesianPoint.hxx
|
||||
StepGeom_HArray1OfCompositeCurveSegment.hxx
|
||||
StepGeom_HArray1OfCurve.hxx
|
||||
StepGeom_HArray1OfPcurveOrSurface.hxx
|
||||
StepGeom_HArray1OfSurfaceBoundary.hxx
|
||||
StepGeom_HArray1OfTrimmingSelect.hxx
|
||||
StepGeom_HArray2OfCartesianPoint.hxx
|
||||
StepGeom_HArray2OfSurfacePatch.hxx
|
||||
StepGeom_Hyperbola.cxx
|
||||
StepGeom_Hyperbola.hxx
|
||||
StepGeom_IntersectionCurve.cxx
|
||||
StepGeom_IntersectionCurve.hxx
|
||||
StepGeom_KnotType.hxx
|
||||
StepGeom_Line.cxx
|
||||
StepGeom_Line.hxx
|
||||
StepGeom_OffsetCurve3d.cxx
|
||||
StepGeom_OffsetCurve3d.hxx
|
||||
StepGeom_OffsetSurface.cxx
|
||||
StepGeom_OffsetSurface.hxx
|
||||
StepGeom_OrientedSurface.cxx
|
||||
StepGeom_OrientedSurface.hxx
|
||||
StepGeom_OuterBoundaryCurve.cxx
|
||||
StepGeom_OuterBoundaryCurve.hxx
|
||||
StepGeom_Parabola.cxx
|
||||
StepGeom_Parabola.hxx
|
||||
StepGeom_Pcurve.cxx
|
||||
StepGeom_Pcurve.hxx
|
||||
StepGeom_PcurveOrSurface.cxx
|
||||
StepGeom_PcurveOrSurface.hxx
|
||||
StepGeom_Placement.cxx
|
||||
StepGeom_Placement.hxx
|
||||
StepGeom_Plane.cxx
|
||||
StepGeom_Plane.hxx
|
||||
StepGeom_Point.cxx
|
||||
StepGeom_Point.hxx
|
||||
StepGeom_PointOnCurve.cxx
|
||||
StepGeom_PointOnCurve.hxx
|
||||
StepGeom_PointOnSurface.cxx
|
||||
StepGeom_PointOnSurface.hxx
|
||||
StepGeom_PointReplica.cxx
|
||||
StepGeom_PointReplica.hxx
|
||||
StepGeom_Polyline.cxx
|
||||
StepGeom_Polyline.hxx
|
||||
StepGeom_PreferredSurfaceCurveRepresentation.hxx
|
||||
StepGeom_QuasiUniformCurve.cxx
|
||||
StepGeom_QuasiUniformCurve.hxx
|
||||
StepGeom_QuasiUniformCurveAndRationalBSplineCurve.cxx
|
||||
StepGeom_QuasiUniformCurveAndRationalBSplineCurve.hxx
|
||||
StepGeom_QuasiUniformSurface.cxx
|
||||
StepGeom_QuasiUniformSurface.hxx
|
||||
StepGeom_QuasiUniformSurfaceAndRationalBSplineSurface.cxx
|
||||
StepGeom_QuasiUniformSurfaceAndRationalBSplineSurface.hxx
|
||||
StepGeom_RationalBSplineCurve.cxx
|
||||
StepGeom_RationalBSplineCurve.hxx
|
||||
StepGeom_RationalBSplineSurface.cxx
|
||||
StepGeom_RationalBSplineSurface.hxx
|
||||
StepGeom_RectangularCompositeSurface.cxx
|
||||
StepGeom_RectangularCompositeSurface.hxx
|
||||
StepGeom_RectangularTrimmedSurface.cxx
|
||||
StepGeom_RectangularTrimmedSurface.hxx
|
||||
StepGeom_ReparametrisedCompositeCurveSegment.cxx
|
||||
StepGeom_ReparametrisedCompositeCurveSegment.hxx
|
||||
StepGeom_SeamCurve.cxx
|
||||
StepGeom_SeamCurve.hxx
|
||||
StepGeom_SphericalSurface.cxx
|
||||
StepGeom_SphericalSurface.hxx
|
||||
StepGeom_Surface.cxx
|
||||
StepGeom_Surface.hxx
|
||||
StepGeom_SurfaceBoundary.cxx
|
||||
StepGeom_SurfaceBoundary.hxx
|
||||
StepGeom_SurfaceCurve.cxx
|
||||
StepGeom_SurfaceCurve.hxx
|
||||
StepGeom_SurfaceCurveAndBoundedCurve.cxx
|
||||
StepGeom_SurfaceCurveAndBoundedCurve.hxx
|
||||
StepGeom_SurfaceOfLinearExtrusion.cxx
|
||||
StepGeom_SurfaceOfLinearExtrusion.hxx
|
||||
StepGeom_SurfaceOfRevolution.cxx
|
||||
StepGeom_SurfaceOfRevolution.hxx
|
||||
StepGeom_SurfacePatch.cxx
|
||||
StepGeom_SurfacePatch.hxx
|
||||
StepGeom_SurfaceReplica.cxx
|
||||
StepGeom_SurfaceReplica.hxx
|
||||
StepGeom_SweptSurface.cxx
|
||||
StepGeom_SweptSurface.hxx
|
||||
StepGeom_ToroidalSurface.cxx
|
||||
StepGeom_ToroidalSurface.hxx
|
||||
StepGeom_TransitionCode.hxx
|
||||
StepGeom_TrimmedCurve.cxx
|
||||
StepGeom_TrimmedCurve.hxx
|
||||
StepGeom_TrimmingMember.cxx
|
||||
StepGeom_TrimmingMember.hxx
|
||||
StepGeom_TrimmingPreference.hxx
|
||||
StepGeom_TrimmingSelect.cxx
|
||||
StepGeom_TrimmingSelect.hxx
|
||||
StepGeom_UniformCurve.cxx
|
||||
StepGeom_UniformCurve.hxx
|
||||
StepGeom_UniformCurveAndRationalBSplineCurve.cxx
|
||||
StepGeom_UniformCurveAndRationalBSplineCurve.hxx
|
||||
StepGeom_UniformSurface.cxx
|
||||
StepGeom_UniformSurface.hxx
|
||||
StepGeom_UniformSurfaceAndRationalBSplineSurface.cxx
|
||||
StepGeom_UniformSurfaceAndRationalBSplineSurface.hxx
|
||||
StepGeom_Vector.cxx
|
||||
StepGeom_Vector.hxx
|
||||
StepGeom_VectorOrDirection.cxx
|
||||
StepGeom_VectorOrDirection.hxx
|
||||
|
@@ -1,244 +0,0 @@
|
||||
-- Created on: 1995-12-01
|
||||
-- Created by: EXPRESS->CDL V0.2 Translator
|
||||
-- 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.
|
||||
|
||||
package StepGeom
|
||||
|
||||
---Purpose : AP214 CC1 , Revision 4 for Geom (Part42, geometric)
|
||||
-- Upgrading from Revision 2 to Revision 4 : 26 Mar 1997
|
||||
|
||||
uses
|
||||
|
||||
|
||||
TCollection, TColStd, StepData, Interface, MMgt,
|
||||
StepBasic, StepRepr
|
||||
|
||||
is
|
||||
|
||||
|
||||
enumeration BSplineCurveForm is -- reordered from Rev2 to Rev4
|
||||
|
||||
bscfPolylineForm,
|
||||
bscfCircularArc,
|
||||
bscfEllipticArc,
|
||||
bscfParabolicArc,
|
||||
bscfHyperbolicArc,
|
||||
bscfUnspecified
|
||||
end;
|
||||
|
||||
enumeration BSplineSurfaceForm is -- reordered from Rev2 to Rev4
|
||||
|
||||
bssfPlaneSurf,
|
||||
bssfCylindricalSurf,
|
||||
bssfConicalSurf,
|
||||
bssfSphericalSurf,
|
||||
bssfToroidalSurf,
|
||||
bssfSurfOfRevolution,
|
||||
bssfRuledSurf,
|
||||
bssfGeneralisedCone,
|
||||
bssfQuadricSurf,
|
||||
bssfSurfOfLinearExtrusion,
|
||||
bssfUnspecified
|
||||
end;
|
||||
|
||||
enumeration KnotType is -- reordered from Rev2 to Rev4
|
||||
|
||||
ktUniformKnots,
|
||||
ktUnspecified,
|
||||
ktQuasiUniformKnots,
|
||||
ktPiecewiseBezierKnots
|
||||
end;
|
||||
|
||||
enumeration PreferredSurfaceCurveRepresentation is -- reordered Rev2 to Rev4
|
||||
|
||||
pscrCurve3d,
|
||||
pscrPcurveS1,
|
||||
pscrPcurveS2
|
||||
end;
|
||||
|
||||
-- Removed from Rev2 to Rev4 :enumeration TextPath
|
||||
|
||||
enumeration TransitionCode is -- reordered from Rev2 to Rev4
|
||||
|
||||
tcDiscontinuous,
|
||||
tcContinuous,
|
||||
tcContSameGradient,
|
||||
tcContSameGradientSameCurvature
|
||||
end;
|
||||
|
||||
enumeration TrimmingPreference is -- reordered from Rev2 to Rev4
|
||||
|
||||
tpCartesian,
|
||||
tpParameter,
|
||||
tpUnspecified
|
||||
end;
|
||||
|
||||
class Axis2Placement; -- Select Type for
|
||||
|
||||
-- Axis2Placement2d
|
||||
-- Axis2Placement3d
|
||||
|
||||
|
||||
class CurveOnSurface; -- Select Type for
|
||||
|
||||
-- Pcurve
|
||||
-- SurfaceCurve
|
||||
-- CompositeCurveOnSurface
|
||||
|
||||
class PcurveOrSurface; -- Select Type for
|
||||
|
||||
-- Pcurve
|
||||
-- Surface
|
||||
|
||||
|
||||
class TrimmingSelect; -- Select Type for
|
||||
|
||||
-- CartesianPoint
|
||||
-- ParameterValue i.e. Real (TrimmingMember)
|
||||
|
||||
class TrimmingMember;
|
||||
|
||||
class VectorOrDirection; -- Select Type for
|
||||
|
||||
-- Vector
|
||||
-- Direction
|
||||
|
||||
|
||||
--class Protocol;
|
||||
|
||||
|
||||
class CompositeCurveSegment;
|
||||
class ReparametrisedCompositeCurveSegment;
|
||||
--class RepresentationContext;
|
||||
class GeometricRepresentationContext;
|
||||
class GeometricRepresentationContextAndGlobalUnitAssignedContext;
|
||||
-- Hand Made by FMA :
|
||||
class GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx;
|
||||
-- Hand Made by FMA :
|
||||
class GeometricRepresentationContextAndParametricRepresentationContext;
|
||||
--class RepresentationItem;
|
||||
class GeometricRepresentationItem;
|
||||
class CartesianTransformationOperator;
|
||||
class CartesianTransformationOperator2d;
|
||||
class CartesianTransformationOperator3d;
|
||||
class Curve;
|
||||
class BoundedCurve;
|
||||
class BSplineCurve;
|
||||
class BSplineCurveWithKnots;
|
||||
class BezierCurve;
|
||||
class QuasiUniformCurve;
|
||||
class RationalBSplineCurve;
|
||||
class UniformCurve;
|
||||
class UniformCurveAndRationalBSplineCurve;
|
||||
class BSplineCurveWithKnotsAndRationalBSplineCurve;
|
||||
class QuasiUniformCurveAndRationalBSplineCurve;
|
||||
class BezierCurveAndRationalBSplineCurve;
|
||||
class CompositeCurve;
|
||||
class CompositeCurveOnSurface;
|
||||
class BoundaryCurve;
|
||||
class OuterBoundaryCurve;
|
||||
class Polyline;
|
||||
class TrimmedCurve;
|
||||
class Conic;
|
||||
class Circle;
|
||||
class Ellipse;
|
||||
class Hyperbola;
|
||||
class Parabola;
|
||||
class CurveReplica;
|
||||
class Line;
|
||||
class OffsetCurve3d;
|
||||
class Pcurve;
|
||||
class SurfaceCurve;
|
||||
class IntersectionCurve;
|
||||
class SeamCurve;
|
||||
class SurfaceCurveAndBoundedCurve;
|
||||
class Direction;
|
||||
class Placement;
|
||||
class Axis1Placement;
|
||||
class Axis2Placement2d;
|
||||
class Axis2Placement3d;
|
||||
--V class PlanarExtent;
|
||||
--V class PlanarBox;
|
||||
class Point;
|
||||
class CartesianPoint;
|
||||
class DegeneratePcurve;
|
||||
class EvaluatedDegeneratePcurve;
|
||||
class PointOnCurve;
|
||||
class PointOnSurface;
|
||||
class PointReplica;
|
||||
class Surface;
|
||||
class BoundedSurface;
|
||||
class BSplineSurface;
|
||||
class BSplineSurfaceWithKnots;
|
||||
class BezierSurface;
|
||||
class QuasiUniformSurface;
|
||||
class RationalBSplineSurface;
|
||||
class UniformSurface;
|
||||
class BSplineSurfaceWithKnotsAndRationalBSplineSurface;
|
||||
class UniformSurfaceAndRationalBSplineSurface;
|
||||
class QuasiUniformSurfaceAndRationalBSplineSurface;
|
||||
class BezierSurfaceAndRationalBSplineSurface;
|
||||
class CurveBoundedSurface;
|
||||
class RectangularCompositeSurface;
|
||||
class RectangularTrimmedSurface;
|
||||
class ElementarySurface;
|
||||
class ConicalSurface;
|
||||
class CylindricalSurface;
|
||||
class Plane;
|
||||
class SphericalSurface;
|
||||
class ToroidalSurface;
|
||||
class DegenerateToroidalSurface;
|
||||
class OffsetSurface;
|
||||
class SurfaceReplica;
|
||||
class SweptSurface;
|
||||
class SurfaceOfLinearExtrusion;
|
||||
class SurfaceOfRevolution;
|
||||
class OrientedSurface; -- Added from AP214 DIS to IS 4.01.2002
|
||||
class Vector;
|
||||
class SurfacePatch;
|
||||
class SurfaceBoundary;
|
||||
|
||||
|
||||
imported Array1OfCurve;
|
||||
imported transient class HArray1OfCurve;
|
||||
|
||||
imported Array1OfCartesianPoint;
|
||||
imported transient class HArray1OfCartesianPoint;
|
||||
|
||||
imported Array2OfCartesianPoint;
|
||||
imported transient class HArray2OfCartesianPoint;
|
||||
|
||||
imported Array1OfCompositeCurveSegment;
|
||||
imported transient class HArray1OfCompositeCurveSegment;
|
||||
|
||||
imported Array1OfBoundaryCurve;
|
||||
imported transient class HArray1OfBoundaryCurve;
|
||||
|
||||
imported Array2OfSurfacePatch;
|
||||
imported transient class HArray2OfSurfacePatch;
|
||||
|
||||
imported Array1OfSurfaceBoundary;
|
||||
imported transient class HArray1OfSurfaceBoundary;
|
||||
|
||||
imported Array1OfPcurveOrSurface;
|
||||
imported transient class HArray1OfPcurveOrSurface;
|
||||
|
||||
imported Array1OfTrimmingSelect;
|
||||
imported transient class HArray1OfTrimmingSelect;
|
||||
|
||||
-- Protocol returns Protocol from StepGeom;
|
||||
|
||||
end StepGeom;
|
||||
|
@@ -1,55 +0,0 @@
|
||||
-- Created on: 1995-12-01
|
||||
-- Created by: EXPRESS->CDL V0.2 Translator
|
||||
-- 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 Axis1Placement from StepGeom
|
||||
|
||||
inherits Placement from StepGeom
|
||||
|
||||
uses
|
||||
|
||||
Direction from StepGeom,
|
||||
Boolean from Standard,
|
||||
HAsciiString from TCollection,
|
||||
CartesianPoint from StepGeom
|
||||
is
|
||||
|
||||
Create returns Axis1Placement;
|
||||
---Purpose: Returns a Axis1Placement
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection;
|
||||
aLocation : CartesianPoint from StepGeom) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection;
|
||||
aLocation : CartesianPoint from StepGeom;
|
||||
hasAaxis : Boolean from Standard;
|
||||
aAxis : Direction from StepGeom) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetAxis(me : mutable; aAxis : Direction);
|
||||
UnSetAxis (me:mutable);
|
||||
Axis (me) returns Direction;
|
||||
HasAxis (me) returns Boolean;
|
||||
|
||||
fields
|
||||
|
||||
axis : Direction from StepGeom; -- OPTIONAL can be NULL
|
||||
hasAxis : Boolean from Standard;
|
||||
|
||||
end Axis1Placement;
|
@@ -11,8 +11,12 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepGeom_Axis1Placement.ixx>
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepGeom_Axis1Placement.hxx>
|
||||
#include <StepGeom_CartesianPoint.hxx>
|
||||
#include <StepGeom_Direction.hxx>
|
||||
#include <TCollection_HAsciiString.hxx>
|
||||
|
||||
StepGeom_Axis1Placement::StepGeom_Axis1Placement () {}
|
||||
|
||||
|
80
src/StepGeom/StepGeom_Axis1Placement.hxx
Normal file
80
src/StepGeom/StepGeom_Axis1Placement.hxx
Normal file
@@ -0,0 +1,80 @@
|
||||
// Created on: 1995-12-01
|
||||
// Created by: EXPRESS->CDL V0.2 Translator
|
||||
// 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 _StepGeom_Axis1Placement_HeaderFile
|
||||
#define _StepGeom_Axis1Placement_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <StepGeom_Placement.hxx>
|
||||
class StepGeom_Direction;
|
||||
class TCollection_HAsciiString;
|
||||
class StepGeom_CartesianPoint;
|
||||
|
||||
|
||||
class StepGeom_Axis1Placement;
|
||||
DEFINE_STANDARD_HANDLE(StepGeom_Axis1Placement, StepGeom_Placement)
|
||||
|
||||
|
||||
class StepGeom_Axis1Placement : public StepGeom_Placement
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
|
||||
//! Returns a Axis1Placement
|
||||
Standard_EXPORT StepGeom_Axis1Placement();
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName, const Handle(StepGeom_CartesianPoint)& aLocation) Standard_OVERRIDE;
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName, const Handle(StepGeom_CartesianPoint)& aLocation, const Standard_Boolean hasAaxis, const Handle(StepGeom_Direction)& aAxis);
|
||||
|
||||
Standard_EXPORT void SetAxis (const Handle(StepGeom_Direction)& aAxis);
|
||||
|
||||
Standard_EXPORT void UnSetAxis();
|
||||
|
||||
Standard_EXPORT Handle(StepGeom_Direction) Axis() const;
|
||||
|
||||
Standard_EXPORT Standard_Boolean HasAxis() const;
|
||||
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepGeom_Axis1Placement,StepGeom_Placement)
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Handle(StepGeom_Direction) axis;
|
||||
Standard_Boolean hasAxis;
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepGeom_Axis1Placement_HeaderFile
|
@@ -1,45 +0,0 @@
|
||||
-- Created on: 1995-12-01
|
||||
-- Created by: EXPRESS->CDL V0.2 Translator
|
||||
-- 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 Axis2Placement from StepGeom inherits SelectType from StepData
|
||||
|
||||
-- <Axis2Placement> is an EXPRESS Select Type construct translation.
|
||||
-- it gathers : Axis2Placement2d, Axis2Placement3d
|
||||
|
||||
uses
|
||||
|
||||
Axis2Placement2d,
|
||||
Axis2Placement3d
|
||||
is
|
||||
|
||||
Create returns Axis2Placement;
|
||||
---Purpose : Returns a Axis2Placement SelectType
|
||||
|
||||
CaseNum (me; ent : Transient) returns Integer;
|
||||
---Purpose: Recognizes a Axis2Placement Kind Entity that is :
|
||||
-- 1 -> Axis2Placement2d
|
||||
-- 2 -> Axis2Placement3d
|
||||
-- 0 else
|
||||
|
||||
Axis2Placement2d (me) returns any Axis2Placement2d;
|
||||
---Purpose : returns Value as a Axis2Placement2d (Null if another type)
|
||||
|
||||
Axis2Placement3d (me) returns any Axis2Placement3d;
|
||||
---Purpose : returns Value as a Axis2Placement3d (Null if another type)
|
||||
|
||||
|
||||
end Axis2Placement;
|
||||
|
@@ -11,8 +11,10 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepGeom_Axis2Placement.ixx>
|
||||
|
||||
#include <Interface_Macros.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <StepGeom_Axis2Placement.hxx>
|
||||
#include <StepGeom_Axis2Placement2d.hxx>
|
||||
#include <StepGeom_Axis2Placement3d.hxx>
|
||||
|
||||
|
77
src/StepGeom/StepGeom_Axis2Placement.hxx
Normal file
77
src/StepGeom/StepGeom_Axis2Placement.hxx
Normal file
@@ -0,0 +1,77 @@
|
||||
// Created on: 1995-12-01
|
||||
// Created by: EXPRESS->CDL V0.2 Translator
|
||||
// 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 _StepGeom_Axis2Placement_HeaderFile
|
||||
#define _StepGeom_Axis2Placement_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_DefineAlloc.hxx>
|
||||
#include <Standard_Handle.hxx>
|
||||
|
||||
#include <StepData_SelectType.hxx>
|
||||
#include <Standard_Integer.hxx>
|
||||
class Standard_Transient;
|
||||
class StepGeom_Axis2Placement2d;
|
||||
class StepGeom_Axis2Placement3d;
|
||||
|
||||
|
||||
|
||||
class StepGeom_Axis2Placement : public StepData_SelectType
|
||||
{
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
//! Returns a Axis2Placement SelectType
|
||||
Standard_EXPORT StepGeom_Axis2Placement();
|
||||
|
||||
//! Recognizes a Axis2Placement Kind Entity that is :
|
||||
//! 1 -> Axis2Placement2d
|
||||
//! 2 -> Axis2Placement3d
|
||||
//! 0 else
|
||||
Standard_EXPORT Standard_Integer CaseNum (const Handle(Standard_Transient)& ent) const;
|
||||
|
||||
//! returns Value as a Axis2Placement2d (Null if another type)
|
||||
Standard_EXPORT Handle(StepGeom_Axis2Placement2d) Axis2Placement2d() const;
|
||||
|
||||
//! returns Value as a Axis2Placement3d (Null if another type)
|
||||
Standard_EXPORT Handle(StepGeom_Axis2Placement3d) Axis2Placement3d() const;
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepGeom_Axis2Placement_HeaderFile
|
@@ -1,55 +0,0 @@
|
||||
-- Created on: 1995-12-01
|
||||
-- Created by: EXPRESS->CDL V0.2 Translator
|
||||
-- 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 Axis2Placement2d from StepGeom
|
||||
|
||||
inherits Placement from StepGeom
|
||||
|
||||
uses
|
||||
|
||||
Direction from StepGeom,
|
||||
Boolean from Standard,
|
||||
HAsciiString from TCollection,
|
||||
CartesianPoint from StepGeom
|
||||
is
|
||||
|
||||
Create returns Axis2Placement2d;
|
||||
---Purpose: Returns a Axis2Placement2d
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection;
|
||||
aLocation : CartesianPoint from StepGeom) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection;
|
||||
aLocation : CartesianPoint from StepGeom;
|
||||
hasArefDirection : Boolean from Standard;
|
||||
aRefDirection : Direction from StepGeom) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetRefDirection(me : mutable; aRefDirection : Direction);
|
||||
UnSetRefDirection (me:mutable);
|
||||
RefDirection (me) returns Direction;
|
||||
HasRefDirection (me) returns Boolean;
|
||||
|
||||
fields
|
||||
|
||||
refDirection : Direction from StepGeom; -- OPTIONAL can be NULL
|
||||
hasRefDirection : Boolean from Standard;
|
||||
|
||||
end Axis2Placement2d;
|
@@ -11,8 +11,12 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepGeom_Axis2Placement2d.ixx>
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepGeom_Axis2Placement2d.hxx>
|
||||
#include <StepGeom_CartesianPoint.hxx>
|
||||
#include <StepGeom_Direction.hxx>
|
||||
#include <TCollection_HAsciiString.hxx>
|
||||
|
||||
StepGeom_Axis2Placement2d::StepGeom_Axis2Placement2d () {}
|
||||
|
||||
|
80
src/StepGeom/StepGeom_Axis2Placement2d.hxx
Normal file
80
src/StepGeom/StepGeom_Axis2Placement2d.hxx
Normal file
@@ -0,0 +1,80 @@
|
||||
// Created on: 1995-12-01
|
||||
// Created by: EXPRESS->CDL V0.2 Translator
|
||||
// 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 _StepGeom_Axis2Placement2d_HeaderFile
|
||||
#define _StepGeom_Axis2Placement2d_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <StepGeom_Placement.hxx>
|
||||
class StepGeom_Direction;
|
||||
class TCollection_HAsciiString;
|
||||
class StepGeom_CartesianPoint;
|
||||
|
||||
|
||||
class StepGeom_Axis2Placement2d;
|
||||
DEFINE_STANDARD_HANDLE(StepGeom_Axis2Placement2d, StepGeom_Placement)
|
||||
|
||||
|
||||
class StepGeom_Axis2Placement2d : public StepGeom_Placement
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
|
||||
//! Returns a Axis2Placement2d
|
||||
Standard_EXPORT StepGeom_Axis2Placement2d();
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName, const Handle(StepGeom_CartesianPoint)& aLocation) Standard_OVERRIDE;
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName, const Handle(StepGeom_CartesianPoint)& aLocation, const Standard_Boolean hasArefDirection, const Handle(StepGeom_Direction)& aRefDirection);
|
||||
|
||||
Standard_EXPORT void SetRefDirection (const Handle(StepGeom_Direction)& aRefDirection);
|
||||
|
||||
Standard_EXPORT void UnSetRefDirection();
|
||||
|
||||
Standard_EXPORT Handle(StepGeom_Direction) RefDirection() const;
|
||||
|
||||
Standard_EXPORT Standard_Boolean HasRefDirection() const;
|
||||
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepGeom_Axis2Placement2d,StepGeom_Placement)
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Handle(StepGeom_Direction) refDirection;
|
||||
Standard_Boolean hasRefDirection;
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepGeom_Axis2Placement2d_HeaderFile
|
@@ -1,63 +0,0 @@
|
||||
-- Created on: 1995-12-01
|
||||
-- Created by: EXPRESS->CDL V0.2 Translator
|
||||
-- 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 Axis2Placement3d from StepGeom
|
||||
|
||||
inherits Placement from StepGeom
|
||||
|
||||
uses
|
||||
|
||||
Direction from StepGeom,
|
||||
Boolean from Standard,
|
||||
HAsciiString from TCollection,
|
||||
CartesianPoint from StepGeom
|
||||
is
|
||||
|
||||
Create returns Axis2Placement3d;
|
||||
---Purpose: Returns a Axis2Placement3d
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection;
|
||||
aLocation : CartesianPoint from StepGeom) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection;
|
||||
aLocation : CartesianPoint from StepGeom;
|
||||
hasAaxis : Boolean from Standard;
|
||||
aAxis : Direction from StepGeom;
|
||||
hasArefDirection : Boolean from Standard;
|
||||
aRefDirection : Direction from StepGeom) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetAxis(me : mutable; aAxis : Direction);
|
||||
UnSetAxis (me:mutable);
|
||||
Axis (me) returns Direction;
|
||||
HasAxis (me) returns Boolean;
|
||||
SetRefDirection(me : mutable; aRefDirection : Direction);
|
||||
UnSetRefDirection (me:mutable);
|
||||
RefDirection (me) returns Direction;
|
||||
HasRefDirection (me) returns Boolean;
|
||||
|
||||
fields
|
||||
|
||||
axis : Direction from StepGeom; -- OPTIONAL can be NULL
|
||||
refDirection : Direction from StepGeom; -- OPTIONAL can be NULL
|
||||
hasAxis : Boolean from Standard;
|
||||
hasRefDirection : Boolean from Standard;
|
||||
|
||||
end Axis2Placement3d;
|
@@ -11,8 +11,12 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepGeom_Axis2Placement3d.ixx>
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepGeom_Axis2Placement3d.hxx>
|
||||
#include <StepGeom_CartesianPoint.hxx>
|
||||
#include <StepGeom_Direction.hxx>
|
||||
#include <TCollection_HAsciiString.hxx>
|
||||
|
||||
StepGeom_Axis2Placement3d::StepGeom_Axis2Placement3d () {}
|
||||
|
||||
|
90
src/StepGeom/StepGeom_Axis2Placement3d.hxx
Normal file
90
src/StepGeom/StepGeom_Axis2Placement3d.hxx
Normal file
@@ -0,0 +1,90 @@
|
||||
// Created on: 1995-12-01
|
||||
// Created by: EXPRESS->CDL V0.2 Translator
|
||||
// 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 _StepGeom_Axis2Placement3d_HeaderFile
|
||||
#define _StepGeom_Axis2Placement3d_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <StepGeom_Placement.hxx>
|
||||
class StepGeom_Direction;
|
||||
class TCollection_HAsciiString;
|
||||
class StepGeom_CartesianPoint;
|
||||
|
||||
|
||||
class StepGeom_Axis2Placement3d;
|
||||
DEFINE_STANDARD_HANDLE(StepGeom_Axis2Placement3d, StepGeom_Placement)
|
||||
|
||||
|
||||
class StepGeom_Axis2Placement3d : public StepGeom_Placement
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
|
||||
//! Returns a Axis2Placement3d
|
||||
Standard_EXPORT StepGeom_Axis2Placement3d();
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName, const Handle(StepGeom_CartesianPoint)& aLocation) Standard_OVERRIDE;
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName, const Handle(StepGeom_CartesianPoint)& aLocation, const Standard_Boolean hasAaxis, const Handle(StepGeom_Direction)& aAxis, const Standard_Boolean hasArefDirection, const Handle(StepGeom_Direction)& aRefDirection);
|
||||
|
||||
Standard_EXPORT void SetAxis (const Handle(StepGeom_Direction)& aAxis);
|
||||
|
||||
Standard_EXPORT void UnSetAxis();
|
||||
|
||||
Standard_EXPORT Handle(StepGeom_Direction) Axis() const;
|
||||
|
||||
Standard_EXPORT Standard_Boolean HasAxis() const;
|
||||
|
||||
Standard_EXPORT void SetRefDirection (const Handle(StepGeom_Direction)& aRefDirection);
|
||||
|
||||
Standard_EXPORT void UnSetRefDirection();
|
||||
|
||||
Standard_EXPORT Handle(StepGeom_Direction) RefDirection() const;
|
||||
|
||||
Standard_EXPORT Standard_Boolean HasRefDirection() const;
|
||||
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepGeom_Axis2Placement3d,StepGeom_Placement)
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Handle(StepGeom_Direction) axis;
|
||||
Handle(StepGeom_Direction) refDirection;
|
||||
Standard_Boolean hasAxis;
|
||||
Standard_Boolean hasRefDirection;
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepGeom_Axis2Placement3d_HeaderFile
|
@@ -1,74 +0,0 @@
|
||||
-- Created on: 1995-12-01
|
||||
-- Created by: EXPRESS->CDL V0.2 Translator
|
||||
-- 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 BSplineCurve from StepGeom
|
||||
|
||||
inherits BoundedCurve from StepGeom
|
||||
|
||||
|
||||
-- N.B : EXPRESS Complexe SUBTYPE Declaration :
|
||||
|
||||
-- ANDOR ( ONEOF ( uniform_curve b_spline_curve_with_knots quasi_uniform_curve bezier_curve ) rational_b_spline_curve )
|
||||
|
||||
uses
|
||||
|
||||
Integer from Standard,
|
||||
HArray1OfCartesianPoint from StepGeom,
|
||||
BSplineCurveForm from StepGeom,
|
||||
Logical from StepData,
|
||||
CartesianPoint from StepGeom,
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns BSplineCurve;
|
||||
---Purpose: Returns a BSplineCurve
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection;
|
||||
aDegree : Integer from Standard;
|
||||
aControlPointsList : HArray1OfCartesianPoint from StepGeom;
|
||||
aCurveForm : BSplineCurveForm from StepGeom;
|
||||
aClosedCurve : Logical from StepData;
|
||||
aSelfIntersect : Logical from StepData) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetDegree(me : mutable; aDegree : Integer);
|
||||
Degree (me) returns Integer;
|
||||
SetControlPointsList(me : mutable; aControlPointsList : HArray1OfCartesianPoint);
|
||||
ControlPointsList (me) returns HArray1OfCartesianPoint;
|
||||
ControlPointsListValue (me; num : Integer) returns CartesianPoint;
|
||||
NbControlPointsList (me) returns Integer;
|
||||
SetCurveForm(me : mutable; aCurveForm : BSplineCurveForm);
|
||||
CurveForm (me) returns BSplineCurveForm;
|
||||
SetClosedCurve(me : mutable; aClosedCurve : Logical);
|
||||
ClosedCurve (me) returns Logical;
|
||||
SetSelfIntersect(me : mutable; aSelfIntersect : Logical);
|
||||
SelfIntersect (me) returns Logical;
|
||||
|
||||
fields
|
||||
|
||||
degree : Integer from Standard;
|
||||
controlPointsList : HArray1OfCartesianPoint from StepGeom;
|
||||
curveForm : BSplineCurveForm from StepGeom; -- an Enumeration
|
||||
closedCurve : Logical from StepData;
|
||||
selfIntersect : Logical from StepData;
|
||||
|
||||
end BSplineCurve;
|
@@ -11,8 +11,11 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepGeom_BSplineCurve.ixx>
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepGeom_BSplineCurve.hxx>
|
||||
#include <StepGeom_CartesianPoint.hxx>
|
||||
#include <TCollection_HAsciiString.hxx>
|
||||
|
||||
StepGeom_BSplineCurve::StepGeom_BSplineCurve () {}
|
||||
|
||||
|
101
src/StepGeom/StepGeom_BSplineCurve.hxx
Normal file
101
src/StepGeom/StepGeom_BSplineCurve.hxx
Normal file
@@ -0,0 +1,101 @@
|
||||
// Created on: 1995-12-01
|
||||
// Created by: EXPRESS->CDL V0.2 Translator
|
||||
// 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 _StepGeom_BSplineCurve_HeaderFile
|
||||
#define _StepGeom_BSplineCurve_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <Standard_Integer.hxx>
|
||||
#include <StepGeom_HArray1OfCartesianPoint.hxx>
|
||||
#include <StepGeom_BSplineCurveForm.hxx>
|
||||
#include <StepData_Logical.hxx>
|
||||
#include <StepGeom_BoundedCurve.hxx>
|
||||
class TCollection_HAsciiString;
|
||||
class StepGeom_CartesianPoint;
|
||||
|
||||
|
||||
class StepGeom_BSplineCurve;
|
||||
DEFINE_STANDARD_HANDLE(StepGeom_BSplineCurve, StepGeom_BoundedCurve)
|
||||
|
||||
|
||||
class StepGeom_BSplineCurve : public StepGeom_BoundedCurve
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
|
||||
//! Returns a BSplineCurve
|
||||
Standard_EXPORT StepGeom_BSplineCurve();
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName) Standard_OVERRIDE;
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName, const Standard_Integer aDegree, const Handle(StepGeom_HArray1OfCartesianPoint)& aControlPointsList, const StepGeom_BSplineCurveForm aCurveForm, const StepData_Logical aClosedCurve, const StepData_Logical aSelfIntersect);
|
||||
|
||||
Standard_EXPORT void SetDegree (const Standard_Integer aDegree);
|
||||
|
||||
Standard_EXPORT Standard_Integer Degree() const;
|
||||
|
||||
Standard_EXPORT void SetControlPointsList (const Handle(StepGeom_HArray1OfCartesianPoint)& aControlPointsList);
|
||||
|
||||
Standard_EXPORT Handle(StepGeom_HArray1OfCartesianPoint) ControlPointsList() const;
|
||||
|
||||
Standard_EXPORT Handle(StepGeom_CartesianPoint) ControlPointsListValue (const Standard_Integer num) const;
|
||||
|
||||
Standard_EXPORT Standard_Integer NbControlPointsList() const;
|
||||
|
||||
Standard_EXPORT void SetCurveForm (const StepGeom_BSplineCurveForm aCurveForm);
|
||||
|
||||
Standard_EXPORT StepGeom_BSplineCurveForm CurveForm() const;
|
||||
|
||||
Standard_EXPORT void SetClosedCurve (const StepData_Logical aClosedCurve);
|
||||
|
||||
Standard_EXPORT StepData_Logical ClosedCurve() const;
|
||||
|
||||
Standard_EXPORT void SetSelfIntersect (const StepData_Logical aSelfIntersect);
|
||||
|
||||
Standard_EXPORT StepData_Logical SelfIntersect() const;
|
||||
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepGeom_BSplineCurve,StepGeom_BoundedCurve)
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Standard_Integer degree;
|
||||
Handle(StepGeom_HArray1OfCartesianPoint) controlPointsList;
|
||||
StepGeom_BSplineCurveForm curveForm;
|
||||
StepData_Logical closedCurve;
|
||||
StepData_Logical selfIntersect;
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepGeom_BSplineCurve_HeaderFile
|
31
src/StepGeom/StepGeom_BSplineCurveForm.hxx
Normal file
31
src/StepGeom/StepGeom_BSplineCurveForm.hxx
Normal file
@@ -0,0 +1,31 @@
|
||||
// Created on: 1995-12-01
|
||||
// Created by: EXPRESS->CDL V0.2 Translator
|
||||
// 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 _StepGeom_BSplineCurveForm_HeaderFile
|
||||
#define _StepGeom_BSplineCurveForm_HeaderFile
|
||||
|
||||
|
||||
enum StepGeom_BSplineCurveForm
|
||||
{
|
||||
StepGeom_bscfPolylineForm,
|
||||
StepGeom_bscfCircularArc,
|
||||
StepGeom_bscfEllipticArc,
|
||||
StepGeom_bscfParabolicArc,
|
||||
StepGeom_bscfHyperbolicArc,
|
||||
StepGeom_bscfUnspecified
|
||||
};
|
||||
|
||||
#endif // _StepGeom_BSplineCurveForm_HeaderFile
|
@@ -1,76 +0,0 @@
|
||||
-- Created on: 1995-12-01
|
||||
-- Created by: EXPRESS->CDL V0.2 Translator
|
||||
-- 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 BSplineCurveWithKnots from StepGeom
|
||||
|
||||
inherits BSplineCurve from StepGeom
|
||||
|
||||
uses
|
||||
|
||||
HArray1OfInteger from TColStd,
|
||||
HArray1OfReal from TColStd,
|
||||
KnotType from StepGeom,
|
||||
Integer from Standard,
|
||||
Real from Standard,
|
||||
HAsciiString from TCollection,
|
||||
HArray1OfCartesianPoint from StepGeom,
|
||||
BSplineCurveForm from StepGeom,
|
||||
Logical from StepData
|
||||
is
|
||||
|
||||
Create returns BSplineCurveWithKnots;
|
||||
---Purpose: Returns a BSplineCurveWithKnots
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection;
|
||||
aDegree : Integer from Standard;
|
||||
aControlPointsList : HArray1OfCartesianPoint from StepGeom;
|
||||
aCurveForm : BSplineCurveForm from StepGeom;
|
||||
aClosedCurve : Logical from StepData;
|
||||
aSelfIntersect : Logical from StepData) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection;
|
||||
aDegree : Integer from Standard;
|
||||
aControlPointsList : HArray1OfCartesianPoint from StepGeom;
|
||||
aCurveForm : BSplineCurveForm from StepGeom;
|
||||
aClosedCurve : Logical from StepData;
|
||||
aSelfIntersect : Logical from StepData;
|
||||
aKnotMultiplicities : HArray1OfInteger from TColStd;
|
||||
aKnots : HArray1OfReal from TColStd;
|
||||
aKnotSpec : KnotType from StepGeom) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetKnotMultiplicities(me : mutable; aKnotMultiplicities : HArray1OfInteger);
|
||||
KnotMultiplicities (me) returns HArray1OfInteger;
|
||||
KnotMultiplicitiesValue (me; num : Integer) returns Integer;
|
||||
NbKnotMultiplicities (me) returns Integer;
|
||||
SetKnots(me : mutable; aKnots : HArray1OfReal);
|
||||
Knots (me) returns HArray1OfReal;
|
||||
KnotsValue (me; num : Integer) returns Real;
|
||||
NbKnots (me) returns Integer;
|
||||
SetKnotSpec(me : mutable; aKnotSpec : KnotType);
|
||||
KnotSpec (me) returns KnotType;
|
||||
|
||||
fields
|
||||
|
||||
knotMultiplicities : HArray1OfInteger from TColStd;
|
||||
knots : HArray1OfReal from TColStd;
|
||||
knotSpec : KnotType from StepGeom; -- an Enumeration
|
||||
|
||||
end BSplineCurveWithKnots;
|
@@ -11,8 +11,10 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepGeom_BSplineCurveWithKnots.ixx>
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepGeom_BSplineCurveWithKnots.hxx>
|
||||
#include <TCollection_HAsciiString.hxx>
|
||||
|
||||
StepGeom_BSplineCurveWithKnots::StepGeom_BSplineCurveWithKnots () {}
|
||||
|
||||
|
98
src/StepGeom/StepGeom_BSplineCurveWithKnots.hxx
Normal file
98
src/StepGeom/StepGeom_BSplineCurveWithKnots.hxx
Normal file
@@ -0,0 +1,98 @@
|
||||
// Created on: 1995-12-01
|
||||
// Created by: EXPRESS->CDL V0.2 Translator
|
||||
// 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 _StepGeom_BSplineCurveWithKnots_HeaderFile
|
||||
#define _StepGeom_BSplineCurveWithKnots_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <TColStd_HArray1OfInteger.hxx>
|
||||
#include <TColStd_HArray1OfReal.hxx>
|
||||
#include <StepGeom_KnotType.hxx>
|
||||
#include <StepGeom_BSplineCurve.hxx>
|
||||
#include <Standard_Integer.hxx>
|
||||
#include <StepGeom_HArray1OfCartesianPoint.hxx>
|
||||
#include <StepGeom_BSplineCurveForm.hxx>
|
||||
#include <StepData_Logical.hxx>
|
||||
#include <Standard_Real.hxx>
|
||||
class TCollection_HAsciiString;
|
||||
|
||||
|
||||
class StepGeom_BSplineCurveWithKnots;
|
||||
DEFINE_STANDARD_HANDLE(StepGeom_BSplineCurveWithKnots, StepGeom_BSplineCurve)
|
||||
|
||||
|
||||
class StepGeom_BSplineCurveWithKnots : public StepGeom_BSplineCurve
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
|
||||
//! Returns a BSplineCurveWithKnots
|
||||
Standard_EXPORT StepGeom_BSplineCurveWithKnots();
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName, const Standard_Integer aDegree, const Handle(StepGeom_HArray1OfCartesianPoint)& aControlPointsList, const StepGeom_BSplineCurveForm aCurveForm, const StepData_Logical aClosedCurve, const StepData_Logical aSelfIntersect) Standard_OVERRIDE;
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName, const Standard_Integer aDegree, const Handle(StepGeom_HArray1OfCartesianPoint)& aControlPointsList, const StepGeom_BSplineCurveForm aCurveForm, const StepData_Logical aClosedCurve, const StepData_Logical aSelfIntersect, const Handle(TColStd_HArray1OfInteger)& aKnotMultiplicities, const Handle(TColStd_HArray1OfReal)& aKnots, const StepGeom_KnotType aKnotSpec);
|
||||
|
||||
Standard_EXPORT void SetKnotMultiplicities (const Handle(TColStd_HArray1OfInteger)& aKnotMultiplicities);
|
||||
|
||||
Standard_EXPORT Handle(TColStd_HArray1OfInteger) KnotMultiplicities() const;
|
||||
|
||||
Standard_EXPORT Standard_Integer KnotMultiplicitiesValue (const Standard_Integer num) const;
|
||||
|
||||
Standard_EXPORT Standard_Integer NbKnotMultiplicities() const;
|
||||
|
||||
Standard_EXPORT void SetKnots (const Handle(TColStd_HArray1OfReal)& aKnots);
|
||||
|
||||
Standard_EXPORT Handle(TColStd_HArray1OfReal) Knots() const;
|
||||
|
||||
Standard_EXPORT Standard_Real KnotsValue (const Standard_Integer num) const;
|
||||
|
||||
Standard_EXPORT Standard_Integer NbKnots() const;
|
||||
|
||||
Standard_EXPORT void SetKnotSpec (const StepGeom_KnotType aKnotSpec);
|
||||
|
||||
Standard_EXPORT StepGeom_KnotType KnotSpec() const;
|
||||
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepGeom_BSplineCurveWithKnots,StepGeom_BSplineCurve)
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Handle(TColStd_HArray1OfInteger) knotMultiplicities;
|
||||
Handle(TColStd_HArray1OfReal) knots;
|
||||
StepGeom_KnotType knotSpec;
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepGeom_BSplineCurveWithKnots_HeaderFile
|
@@ -1,105 +0,0 @@
|
||||
-- Created on: 1995-12-01
|
||||
-- Created by: EXPRESS->CDL V0.2 Translator
|
||||
-- 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 BSplineCurveWithKnotsAndRationalBSplineCurve from StepGeom
|
||||
|
||||
inherits BSplineCurve from StepGeom
|
||||
|
||||
|
||||
--- This classe is an implementation of EXPRESS
|
||||
-- ANDOR Subtype Declaration.
|
||||
uses
|
||||
|
||||
BSplineCurveWithKnots from StepGeom,
|
||||
RationalBSplineCurve from StepGeom,
|
||||
HAsciiString from TCollection,
|
||||
Integer from Standard,
|
||||
HArray1OfCartesianPoint from StepGeom,
|
||||
BSplineCurveForm from StepGeom,
|
||||
Logical from StepData,
|
||||
HArray1OfInteger from TColStd,
|
||||
HArray1OfReal from TColStd,
|
||||
KnotType from StepGeom,
|
||||
Real from Standard
|
||||
is
|
||||
|
||||
Create returns BSplineCurveWithKnotsAndRationalBSplineCurve;
|
||||
---Purpose: Returns a BSplineCurveWithKnotsAndRationalBSplineCurve
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection;
|
||||
aDegree : Integer from Standard;
|
||||
aControlPointsList : HArray1OfCartesianPoint from StepGeom;
|
||||
aCurveForm : BSplineCurveForm from StepGeom;
|
||||
aClosedCurve : Logical from StepData;
|
||||
aSelfIntersect : Logical from StepData) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection;
|
||||
aDegree : Integer from Standard;
|
||||
aControlPointsList : HArray1OfCartesianPoint from StepGeom;
|
||||
aCurveForm : BSplineCurveForm from StepGeom;
|
||||
aClosedCurve : Logical from StepData;
|
||||
aSelfIntersect : Logical from StepData;
|
||||
aBSplineCurveWithKnots : BSplineCurveWithKnots from StepGeom;
|
||||
aRationalBSplineCurve : RationalBSplineCurve from StepGeom) is virtual;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection;
|
||||
aDegree : Integer from Standard;
|
||||
aControlPointsList : HArray1OfCartesianPoint from StepGeom;
|
||||
aCurveForm : BSplineCurveForm from StepGeom;
|
||||
aClosedCurve : Logical from StepData;
|
||||
aSelfIntersect : Logical from StepData;
|
||||
aKnotMultiplicities : HArray1OfInteger from TColStd;
|
||||
aKnots : HArray1OfReal from TColStd;
|
||||
aKnotSpec : KnotType from StepGeom;
|
||||
aWeightsData : HArray1OfReal from TColStd) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetBSplineCurveWithKnots(me : mutable; aBSplineCurveWithKnots : BSplineCurveWithKnots);
|
||||
BSplineCurveWithKnots (me) returns BSplineCurveWithKnots;
|
||||
SetRationalBSplineCurve(me : mutable; aRationalBSplineCurve : RationalBSplineCurve);
|
||||
RationalBSplineCurve (me) returns RationalBSplineCurve;
|
||||
|
||||
-- Specific Methods for ANDOR Field Data Access --
|
||||
|
||||
SetKnotMultiplicities(me : mutable; aKnotMultiplicities : HArray1OfInteger);
|
||||
KnotMultiplicities (me) returns HArray1OfInteger;
|
||||
KnotMultiplicitiesValue (me; num : Integer) returns Integer;
|
||||
NbKnotMultiplicities (me) returns Integer;
|
||||
SetKnots(me : mutable; aKnots : HArray1OfReal);
|
||||
Knots (me) returns HArray1OfReal;
|
||||
KnotsValue (me; num : Integer) returns Real;
|
||||
NbKnots (me) returns Integer;
|
||||
SetKnotSpec(me : mutable; aKnotSpec : KnotType);
|
||||
KnotSpec (me) returns KnotType;
|
||||
|
||||
-- Specific Methods for ANDOR Field Data Access --
|
||||
|
||||
SetWeightsData(me : mutable; aWeightsData : HArray1OfReal);
|
||||
WeightsData (me) returns HArray1OfReal;
|
||||
WeightsDataValue (me; num : Integer) returns Real;
|
||||
NbWeightsData (me) returns Integer;
|
||||
|
||||
fields
|
||||
|
||||
bSplineCurveWithKnots : BSplineCurveWithKnots from StepGeom;
|
||||
rationalBSplineCurve : RationalBSplineCurve from StepGeom;
|
||||
|
||||
end BSplineCurveWithKnotsAndRationalBSplineCurve;
|
@@ -11,12 +11,12 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve.ixx>
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepGeom_BSplineCurveWithKnots.hxx>
|
||||
|
||||
#include <StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve.hxx>
|
||||
#include <StepGeom_RationalBSplineCurve.hxx>
|
||||
|
||||
#include <TCollection_HAsciiString.hxx>
|
||||
|
||||
StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve::StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve () {}
|
||||
|
||||
|
@@ -0,0 +1,117 @@
|
||||
// Created on: 1995-12-01
|
||||
// Created by: EXPRESS->CDL V0.2 Translator
|
||||
// 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 _StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve_HeaderFile
|
||||
#define _StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <StepGeom_BSplineCurve.hxx>
|
||||
#include <Standard_Integer.hxx>
|
||||
#include <StepGeom_HArray1OfCartesianPoint.hxx>
|
||||
#include <StepGeom_BSplineCurveForm.hxx>
|
||||
#include <StepData_Logical.hxx>
|
||||
#include <TColStd_HArray1OfInteger.hxx>
|
||||
#include <TColStd_HArray1OfReal.hxx>
|
||||
#include <StepGeom_KnotType.hxx>
|
||||
#include <Standard_Real.hxx>
|
||||
class StepGeom_BSplineCurveWithKnots;
|
||||
class StepGeom_RationalBSplineCurve;
|
||||
class TCollection_HAsciiString;
|
||||
|
||||
|
||||
class StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve;
|
||||
DEFINE_STANDARD_HANDLE(StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve, StepGeom_BSplineCurve)
|
||||
|
||||
|
||||
class StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve : public StepGeom_BSplineCurve
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
|
||||
//! Returns a BSplineCurveWithKnotsAndRationalBSplineCurve
|
||||
Standard_EXPORT StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve();
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName, const Standard_Integer aDegree, const Handle(StepGeom_HArray1OfCartesianPoint)& aControlPointsList, const StepGeom_BSplineCurveForm aCurveForm, const StepData_Logical aClosedCurve, const StepData_Logical aSelfIntersect) Standard_OVERRIDE;
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName, const Standard_Integer aDegree, const Handle(StepGeom_HArray1OfCartesianPoint)& aControlPointsList, const StepGeom_BSplineCurveForm aCurveForm, const StepData_Logical aClosedCurve, const StepData_Logical aSelfIntersect, const Handle(StepGeom_BSplineCurveWithKnots)& aBSplineCurveWithKnots, const Handle(StepGeom_RationalBSplineCurve)& aRationalBSplineCurve);
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName, const Standard_Integer aDegree, const Handle(StepGeom_HArray1OfCartesianPoint)& aControlPointsList, const StepGeom_BSplineCurveForm aCurveForm, const StepData_Logical aClosedCurve, const StepData_Logical aSelfIntersect, const Handle(TColStd_HArray1OfInteger)& aKnotMultiplicities, const Handle(TColStd_HArray1OfReal)& aKnots, const StepGeom_KnotType aKnotSpec, const Handle(TColStd_HArray1OfReal)& aWeightsData);
|
||||
|
||||
Standard_EXPORT void SetBSplineCurveWithKnots (const Handle(StepGeom_BSplineCurveWithKnots)& aBSplineCurveWithKnots);
|
||||
|
||||
Standard_EXPORT Handle(StepGeom_BSplineCurveWithKnots) BSplineCurveWithKnots() const;
|
||||
|
||||
Standard_EXPORT void SetRationalBSplineCurve (const Handle(StepGeom_RationalBSplineCurve)& aRationalBSplineCurve);
|
||||
|
||||
Standard_EXPORT Handle(StepGeom_RationalBSplineCurve) RationalBSplineCurve() const;
|
||||
|
||||
Standard_EXPORT void SetKnotMultiplicities (const Handle(TColStd_HArray1OfInteger)& aKnotMultiplicities);
|
||||
|
||||
Standard_EXPORT Handle(TColStd_HArray1OfInteger) KnotMultiplicities() const;
|
||||
|
||||
Standard_EXPORT Standard_Integer KnotMultiplicitiesValue (const Standard_Integer num) const;
|
||||
|
||||
Standard_EXPORT Standard_Integer NbKnotMultiplicities() const;
|
||||
|
||||
Standard_EXPORT void SetKnots (const Handle(TColStd_HArray1OfReal)& aKnots);
|
||||
|
||||
Standard_EXPORT Handle(TColStd_HArray1OfReal) Knots() const;
|
||||
|
||||
Standard_EXPORT Standard_Real KnotsValue (const Standard_Integer num) const;
|
||||
|
||||
Standard_EXPORT Standard_Integer NbKnots() const;
|
||||
|
||||
Standard_EXPORT void SetKnotSpec (const StepGeom_KnotType aKnotSpec);
|
||||
|
||||
Standard_EXPORT StepGeom_KnotType KnotSpec() const;
|
||||
|
||||
Standard_EXPORT void SetWeightsData (const Handle(TColStd_HArray1OfReal)& aWeightsData);
|
||||
|
||||
Standard_EXPORT Handle(TColStd_HArray1OfReal) WeightsData() const;
|
||||
|
||||
Standard_EXPORT Standard_Real WeightsDataValue (const Standard_Integer num) const;
|
||||
|
||||
Standard_EXPORT Standard_Integer NbWeightsData() const;
|
||||
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve,StepGeom_BSplineCurve)
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Handle(StepGeom_BSplineCurveWithKnots) bSplineCurveWithKnots;
|
||||
Handle(StepGeom_RationalBSplineCurve) rationalBSplineCurve;
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve_HeaderFile
|
@@ -1,83 +0,0 @@
|
||||
-- Created on: 1995-12-01
|
||||
-- Created by: EXPRESS->CDL V0.2 Translator
|
||||
-- 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 BSplineSurface from StepGeom
|
||||
|
||||
inherits BoundedSurface from StepGeom
|
||||
|
||||
|
||||
-- N.B : EXPRESS Complexe SUBTYPE Declaration :
|
||||
|
||||
-- ANDOR ( ONEOF ( b_spline_surface_with_knots uniform_surface quasi_uniform_surface bezier_surface ) rational_b_spline_surface )
|
||||
|
||||
uses
|
||||
|
||||
Integer from Standard,
|
||||
HArray2OfCartesianPoint from StepGeom,
|
||||
BSplineSurfaceForm from StepGeom,
|
||||
Logical from StepData,
|
||||
CartesianPoint from StepGeom,
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns BSplineSurface;
|
||||
---Purpose: Returns a BSplineSurface
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection;
|
||||
aUDegree : Integer from Standard;
|
||||
aVDegree : Integer from Standard;
|
||||
aControlPointsList : HArray2OfCartesianPoint from StepGeom;
|
||||
aSurfaceForm : BSplineSurfaceForm from StepGeom;
|
||||
aUClosed : Logical from StepData;
|
||||
aVClosed : Logical from StepData;
|
||||
aSelfIntersect : Logical from StepData) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetUDegree(me : mutable; aUDegree : Integer);
|
||||
UDegree (me) returns Integer;
|
||||
SetVDegree(me : mutable; aVDegree : Integer);
|
||||
VDegree (me) returns Integer;
|
||||
SetControlPointsList(me : mutable; aControlPointsList : HArray2OfCartesianPoint);
|
||||
ControlPointsList (me) returns HArray2OfCartesianPoint;
|
||||
ControlPointsListValue (me; num1 : Integer; num2 : Integer) returns CartesianPoint;
|
||||
NbControlPointsListI (me) returns Integer;
|
||||
NbControlPointsListJ (me) returns Integer;
|
||||
SetSurfaceForm(me : mutable; aSurfaceForm : BSplineSurfaceForm);
|
||||
SurfaceForm (me) returns BSplineSurfaceForm;
|
||||
SetUClosed(me : mutable; aUClosed : Logical);
|
||||
UClosed (me) returns Logical;
|
||||
SetVClosed(me : mutable; aVClosed : Logical);
|
||||
VClosed (me) returns Logical;
|
||||
SetSelfIntersect(me : mutable; aSelfIntersect : Logical);
|
||||
SelfIntersect (me) returns Logical;
|
||||
|
||||
fields
|
||||
|
||||
uDegree : Integer from Standard;
|
||||
vDegree : Integer from Standard;
|
||||
controlPointsList : HArray2OfCartesianPoint from StepGeom;
|
||||
surfaceForm : BSplineSurfaceForm from StepGeom; -- an Enumeration
|
||||
uClosed : Logical from StepData;
|
||||
vClosed : Logical from StepData;
|
||||
selfIntersect : Logical from StepData;
|
||||
|
||||
end BSplineSurface;
|
@@ -11,8 +11,11 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepGeom_BSplineSurface.ixx>
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepGeom_BSplineSurface.hxx>
|
||||
#include <StepGeom_CartesianPoint.hxx>
|
||||
#include <TCollection_HAsciiString.hxx>
|
||||
|
||||
StepGeom_BSplineSurface::StepGeom_BSplineSurface () {}
|
||||
|
||||
|
113
src/StepGeom/StepGeom_BSplineSurface.hxx
Normal file
113
src/StepGeom/StepGeom_BSplineSurface.hxx
Normal file
@@ -0,0 +1,113 @@
|
||||
// Created on: 1995-12-01
|
||||
// Created by: EXPRESS->CDL V0.2 Translator
|
||||
// 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 _StepGeom_BSplineSurface_HeaderFile
|
||||
#define _StepGeom_BSplineSurface_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <Standard_Integer.hxx>
|
||||
#include <StepGeom_HArray2OfCartesianPoint.hxx>
|
||||
#include <StepGeom_BSplineSurfaceForm.hxx>
|
||||
#include <StepData_Logical.hxx>
|
||||
#include <StepGeom_BoundedSurface.hxx>
|
||||
class TCollection_HAsciiString;
|
||||
class StepGeom_CartesianPoint;
|
||||
|
||||
|
||||
class StepGeom_BSplineSurface;
|
||||
DEFINE_STANDARD_HANDLE(StepGeom_BSplineSurface, StepGeom_BoundedSurface)
|
||||
|
||||
|
||||
class StepGeom_BSplineSurface : public StepGeom_BoundedSurface
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
|
||||
//! Returns a BSplineSurface
|
||||
Standard_EXPORT StepGeom_BSplineSurface();
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName) Standard_OVERRIDE;
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName, const Standard_Integer aUDegree, const Standard_Integer aVDegree, const Handle(StepGeom_HArray2OfCartesianPoint)& aControlPointsList, const StepGeom_BSplineSurfaceForm aSurfaceForm, const StepData_Logical aUClosed, const StepData_Logical aVClosed, const StepData_Logical aSelfIntersect);
|
||||
|
||||
Standard_EXPORT void SetUDegree (const Standard_Integer aUDegree);
|
||||
|
||||
Standard_EXPORT Standard_Integer UDegree() const;
|
||||
|
||||
Standard_EXPORT void SetVDegree (const Standard_Integer aVDegree);
|
||||
|
||||
Standard_EXPORT Standard_Integer VDegree() const;
|
||||
|
||||
Standard_EXPORT void SetControlPointsList (const Handle(StepGeom_HArray2OfCartesianPoint)& aControlPointsList);
|
||||
|
||||
Standard_EXPORT Handle(StepGeom_HArray2OfCartesianPoint) ControlPointsList() const;
|
||||
|
||||
Standard_EXPORT Handle(StepGeom_CartesianPoint) ControlPointsListValue (const Standard_Integer num1, const Standard_Integer num2) const;
|
||||
|
||||
Standard_EXPORT Standard_Integer NbControlPointsListI() const;
|
||||
|
||||
Standard_EXPORT Standard_Integer NbControlPointsListJ() const;
|
||||
|
||||
Standard_EXPORT void SetSurfaceForm (const StepGeom_BSplineSurfaceForm aSurfaceForm);
|
||||
|
||||
Standard_EXPORT StepGeom_BSplineSurfaceForm SurfaceForm() const;
|
||||
|
||||
Standard_EXPORT void SetUClosed (const StepData_Logical aUClosed);
|
||||
|
||||
Standard_EXPORT StepData_Logical UClosed() const;
|
||||
|
||||
Standard_EXPORT void SetVClosed (const StepData_Logical aVClosed);
|
||||
|
||||
Standard_EXPORT StepData_Logical VClosed() const;
|
||||
|
||||
Standard_EXPORT void SetSelfIntersect (const StepData_Logical aSelfIntersect);
|
||||
|
||||
Standard_EXPORT StepData_Logical SelfIntersect() const;
|
||||
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepGeom_BSplineSurface,StepGeom_BoundedSurface)
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Standard_Integer uDegree;
|
||||
Standard_Integer vDegree;
|
||||
Handle(StepGeom_HArray2OfCartesianPoint) controlPointsList;
|
||||
StepGeom_BSplineSurfaceForm surfaceForm;
|
||||
StepData_Logical uClosed;
|
||||
StepData_Logical vClosed;
|
||||
StepData_Logical selfIntersect;
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepGeom_BSplineSurface_HeaderFile
|
36
src/StepGeom/StepGeom_BSplineSurfaceForm.hxx
Normal file
36
src/StepGeom/StepGeom_BSplineSurfaceForm.hxx
Normal file
@@ -0,0 +1,36 @@
|
||||
// Created on: 1995-12-01
|
||||
// Created by: EXPRESS->CDL V0.2 Translator
|
||||
// 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 _StepGeom_BSplineSurfaceForm_HeaderFile
|
||||
#define _StepGeom_BSplineSurfaceForm_HeaderFile
|
||||
|
||||
|
||||
enum StepGeom_BSplineSurfaceForm
|
||||
{
|
||||
StepGeom_bssfPlaneSurf,
|
||||
StepGeom_bssfCylindricalSurf,
|
||||
StepGeom_bssfConicalSurf,
|
||||
StepGeom_bssfSphericalSurf,
|
||||
StepGeom_bssfToroidalSurf,
|
||||
StepGeom_bssfSurfOfRevolution,
|
||||
StepGeom_bssfRuledSurf,
|
||||
StepGeom_bssfGeneralisedCone,
|
||||
StepGeom_bssfQuadricSurf,
|
||||
StepGeom_bssfSurfOfLinearExtrusion,
|
||||
StepGeom_bssfUnspecified
|
||||
};
|
||||
|
||||
#endif // _StepGeom_BSplineSurfaceForm_HeaderFile
|
@@ -1,92 +0,0 @@
|
||||
-- Created on: 1995-12-01
|
||||
-- Created by: EXPRESS->CDL V0.2 Translator
|
||||
-- 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 BSplineSurfaceWithKnots from StepGeom
|
||||
|
||||
inherits BSplineSurface from StepGeom
|
||||
|
||||
uses
|
||||
|
||||
HArray1OfInteger from TColStd,
|
||||
HArray1OfReal from TColStd,
|
||||
KnotType from StepGeom,
|
||||
Integer from Standard,
|
||||
Real from Standard,
|
||||
HAsciiString from TCollection,
|
||||
HArray2OfCartesianPoint from StepGeom,
|
||||
BSplineSurfaceForm from StepGeom,
|
||||
Logical from StepData
|
||||
is
|
||||
|
||||
Create returns BSplineSurfaceWithKnots;
|
||||
---Purpose: Returns a BSplineSurfaceWithKnots
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection;
|
||||
aUDegree : Integer from Standard;
|
||||
aVDegree : Integer from Standard;
|
||||
aControlPointsList : HArray2OfCartesianPoint from StepGeom;
|
||||
aSurfaceForm : BSplineSurfaceForm from StepGeom;
|
||||
aUClosed : Logical from StepData;
|
||||
aVClosed : Logical from StepData;
|
||||
aSelfIntersect : Logical from StepData) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection;
|
||||
aUDegree : Integer from Standard;
|
||||
aVDegree : Integer from Standard;
|
||||
aControlPointsList : HArray2OfCartesianPoint from StepGeom;
|
||||
aSurfaceForm : BSplineSurfaceForm from StepGeom;
|
||||
aUClosed : Logical from StepData;
|
||||
aVClosed : Logical from StepData;
|
||||
aSelfIntersect : Logical from StepData;
|
||||
aUMultiplicities : HArray1OfInteger from TColStd;
|
||||
aVMultiplicities : HArray1OfInteger from TColStd;
|
||||
aUKnots : HArray1OfReal from TColStd;
|
||||
aVKnots : HArray1OfReal from TColStd;
|
||||
aKnotSpec : KnotType from StepGeom) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetUMultiplicities(me : mutable; aUMultiplicities : HArray1OfInteger);
|
||||
UMultiplicities (me) returns HArray1OfInteger;
|
||||
UMultiplicitiesValue (me; num : Integer) returns Integer;
|
||||
NbUMultiplicities (me) returns Integer;
|
||||
SetVMultiplicities(me : mutable; aVMultiplicities : HArray1OfInteger);
|
||||
VMultiplicities (me) returns HArray1OfInteger;
|
||||
VMultiplicitiesValue (me; num : Integer) returns Integer;
|
||||
NbVMultiplicities (me) returns Integer;
|
||||
SetUKnots(me : mutable; aUKnots : HArray1OfReal);
|
||||
UKnots (me) returns HArray1OfReal;
|
||||
UKnotsValue (me; num : Integer) returns Real;
|
||||
NbUKnots (me) returns Integer;
|
||||
SetVKnots(me : mutable; aVKnots : HArray1OfReal);
|
||||
VKnots (me) returns HArray1OfReal;
|
||||
VKnotsValue (me; num : Integer) returns Real;
|
||||
NbVKnots (me) returns Integer;
|
||||
SetKnotSpec(me : mutable; aKnotSpec : KnotType);
|
||||
KnotSpec (me) returns KnotType;
|
||||
|
||||
fields
|
||||
|
||||
uMultiplicities : HArray1OfInteger from TColStd;
|
||||
vMultiplicities : HArray1OfInteger from TColStd;
|
||||
uKnots : HArray1OfReal from TColStd;
|
||||
vKnots : HArray1OfReal from TColStd;
|
||||
knotSpec : KnotType from StepGeom; -- an Enumeration
|
||||
|
||||
end BSplineSurfaceWithKnots;
|
@@ -11,8 +11,10 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepGeom_BSplineSurfaceWithKnots.ixx>
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepGeom_BSplineSurfaceWithKnots.hxx>
|
||||
#include <TCollection_HAsciiString.hxx>
|
||||
|
||||
StepGeom_BSplineSurfaceWithKnots::StepGeom_BSplineSurfaceWithKnots () {}
|
||||
|
||||
|
116
src/StepGeom/StepGeom_BSplineSurfaceWithKnots.hxx
Normal file
116
src/StepGeom/StepGeom_BSplineSurfaceWithKnots.hxx
Normal file
@@ -0,0 +1,116 @@
|
||||
// Created on: 1995-12-01
|
||||
// Created by: EXPRESS->CDL V0.2 Translator
|
||||
// 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 _StepGeom_BSplineSurfaceWithKnots_HeaderFile
|
||||
#define _StepGeom_BSplineSurfaceWithKnots_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <TColStd_HArray1OfInteger.hxx>
|
||||
#include <TColStd_HArray1OfReal.hxx>
|
||||
#include <StepGeom_KnotType.hxx>
|
||||
#include <StepGeom_BSplineSurface.hxx>
|
||||
#include <Standard_Integer.hxx>
|
||||
#include <StepGeom_HArray2OfCartesianPoint.hxx>
|
||||
#include <StepGeom_BSplineSurfaceForm.hxx>
|
||||
#include <StepData_Logical.hxx>
|
||||
#include <Standard_Real.hxx>
|
||||
class TCollection_HAsciiString;
|
||||
|
||||
|
||||
class StepGeom_BSplineSurfaceWithKnots;
|
||||
DEFINE_STANDARD_HANDLE(StepGeom_BSplineSurfaceWithKnots, StepGeom_BSplineSurface)
|
||||
|
||||
|
||||
class StepGeom_BSplineSurfaceWithKnots : public StepGeom_BSplineSurface
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
|
||||
//! Returns a BSplineSurfaceWithKnots
|
||||
Standard_EXPORT StepGeom_BSplineSurfaceWithKnots();
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName, const Standard_Integer aUDegree, const Standard_Integer aVDegree, const Handle(StepGeom_HArray2OfCartesianPoint)& aControlPointsList, const StepGeom_BSplineSurfaceForm aSurfaceForm, const StepData_Logical aUClosed, const StepData_Logical aVClosed, const StepData_Logical aSelfIntersect) Standard_OVERRIDE;
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName, const Standard_Integer aUDegree, const Standard_Integer aVDegree, const Handle(StepGeom_HArray2OfCartesianPoint)& aControlPointsList, const StepGeom_BSplineSurfaceForm aSurfaceForm, const StepData_Logical aUClosed, const StepData_Logical aVClosed, const StepData_Logical aSelfIntersect, const Handle(TColStd_HArray1OfInteger)& aUMultiplicities, const Handle(TColStd_HArray1OfInteger)& aVMultiplicities, const Handle(TColStd_HArray1OfReal)& aUKnots, const Handle(TColStd_HArray1OfReal)& aVKnots, const StepGeom_KnotType aKnotSpec);
|
||||
|
||||
Standard_EXPORT void SetUMultiplicities (const Handle(TColStd_HArray1OfInteger)& aUMultiplicities);
|
||||
|
||||
Standard_EXPORT Handle(TColStd_HArray1OfInteger) UMultiplicities() const;
|
||||
|
||||
Standard_EXPORT Standard_Integer UMultiplicitiesValue (const Standard_Integer num) const;
|
||||
|
||||
Standard_EXPORT Standard_Integer NbUMultiplicities() const;
|
||||
|
||||
Standard_EXPORT void SetVMultiplicities (const Handle(TColStd_HArray1OfInteger)& aVMultiplicities);
|
||||
|
||||
Standard_EXPORT Handle(TColStd_HArray1OfInteger) VMultiplicities() const;
|
||||
|
||||
Standard_EXPORT Standard_Integer VMultiplicitiesValue (const Standard_Integer num) const;
|
||||
|
||||
Standard_EXPORT Standard_Integer NbVMultiplicities() const;
|
||||
|
||||
Standard_EXPORT void SetUKnots (const Handle(TColStd_HArray1OfReal)& aUKnots);
|
||||
|
||||
Standard_EXPORT Handle(TColStd_HArray1OfReal) UKnots() const;
|
||||
|
||||
Standard_EXPORT Standard_Real UKnotsValue (const Standard_Integer num) const;
|
||||
|
||||
Standard_EXPORT Standard_Integer NbUKnots() const;
|
||||
|
||||
Standard_EXPORT void SetVKnots (const Handle(TColStd_HArray1OfReal)& aVKnots);
|
||||
|
||||
Standard_EXPORT Handle(TColStd_HArray1OfReal) VKnots() const;
|
||||
|
||||
Standard_EXPORT Standard_Real VKnotsValue (const Standard_Integer num) const;
|
||||
|
||||
Standard_EXPORT Standard_Integer NbVKnots() const;
|
||||
|
||||
Standard_EXPORT void SetKnotSpec (const StepGeom_KnotType aKnotSpec);
|
||||
|
||||
Standard_EXPORT StepGeom_KnotType KnotSpec() const;
|
||||
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepGeom_BSplineSurfaceWithKnots,StepGeom_BSplineSurface)
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Handle(TColStd_HArray1OfInteger) uMultiplicities;
|
||||
Handle(TColStd_HArray1OfInteger) vMultiplicities;
|
||||
Handle(TColStd_HArray1OfReal) uKnots;
|
||||
Handle(TColStd_HArray1OfReal) vKnots;
|
||||
StepGeom_KnotType knotSpec;
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepGeom_BSplineSurfaceWithKnots_HeaderFile
|
@@ -1,122 +0,0 @@
|
||||
-- Created on: 1995-12-01
|
||||
-- Created by: EXPRESS->CDL V0.2 Translator
|
||||
-- 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 BSplineSurfaceWithKnotsAndRationalBSplineSurface from StepGeom
|
||||
|
||||
inherits BSplineSurface from StepGeom
|
||||
|
||||
|
||||
--- This classe is an implementation of EXPRESS
|
||||
-- ANDOR Subtype Declaration.
|
||||
uses
|
||||
|
||||
BSplineSurfaceWithKnots from StepGeom,
|
||||
RationalBSplineSurface from StepGeom,
|
||||
HAsciiString from TCollection,
|
||||
Integer from Standard,
|
||||
HArray2OfCartesianPoint from StepGeom,
|
||||
BSplineSurfaceForm from StepGeom,
|
||||
Logical from StepData,
|
||||
HArray1OfInteger from TColStd,
|
||||
HArray1OfReal from TColStd,
|
||||
HArray2OfReal from TColStd,
|
||||
KnotType from StepGeom
|
||||
is
|
||||
|
||||
Create returns BSplineSurfaceWithKnotsAndRationalBSplineSurface;
|
||||
---Purpose: Returns a BSplineSurfaceWithKnotsAndRationalBSplineSurface
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection;
|
||||
aUDegree : Integer from Standard;
|
||||
aVDegree : Integer from Standard;
|
||||
aControlPointsList : HArray2OfCartesianPoint from StepGeom;
|
||||
aSurfaceForm : BSplineSurfaceForm from StepGeom;
|
||||
aUClosed : Logical from StepData;
|
||||
aVClosed : Logical from StepData;
|
||||
aSelfIntersect : Logical from StepData) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection;
|
||||
aUDegree : Integer from Standard;
|
||||
aVDegree : Integer from Standard;
|
||||
aControlPointsList : HArray2OfCartesianPoint from StepGeom;
|
||||
aSurfaceForm : BSplineSurfaceForm from StepGeom;
|
||||
aUClosed : Logical from StepData;
|
||||
aVClosed : Logical from StepData;
|
||||
aSelfIntersect : Logical from StepData;
|
||||
aBSplineSurfaceWithKnots : BSplineSurfaceWithKnots from StepGeom;
|
||||
aRationalBSplineSurface : RationalBSplineSurface from StepGeom) is virtual;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection;
|
||||
aUDegree : Integer from Standard;
|
||||
aVDegree : Integer from Standard;
|
||||
aControlPointsList : HArray2OfCartesianPoint from StepGeom;
|
||||
aSurfaceForm : BSplineSurfaceForm from StepGeom;
|
||||
aUClosed : Logical from StepData;
|
||||
aVClosed : Logical from StepData;
|
||||
aSelfIntersect : Logical from StepData;
|
||||
aUMultiplicities : HArray1OfInteger from TColStd;
|
||||
aVMultiplicities : HArray1OfInteger from TColStd;
|
||||
aUKnots : HArray1OfReal from TColStd;
|
||||
aVKnots : HArray1OfReal from TColStd;
|
||||
aKnotSpec : KnotType from StepGeom;
|
||||
aWeightsData : HArray2OfReal from TColStd) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetBSplineSurfaceWithKnots(me : mutable; aBSplineSurfaceWithKnots : BSplineSurfaceWithKnots);
|
||||
BSplineSurfaceWithKnots (me) returns BSplineSurfaceWithKnots;
|
||||
SetRationalBSplineSurface(me : mutable; aRationalBSplineSurface : RationalBSplineSurface);
|
||||
RationalBSplineSurface (me) returns RationalBSplineSurface;
|
||||
|
||||
-- Specific Methods for ANDOR Field Data Access --
|
||||
|
||||
SetUMultiplicities(me : mutable; aUMultiplicities : HArray1OfInteger);
|
||||
UMultiplicities (me) returns HArray1OfInteger;
|
||||
UMultiplicitiesValue (me; num : Integer) returns Integer;
|
||||
NbUMultiplicities (me) returns Integer;
|
||||
SetVMultiplicities(me : mutable; aVMultiplicities : HArray1OfInteger);
|
||||
VMultiplicities (me) returns HArray1OfInteger;
|
||||
VMultiplicitiesValue (me; num : Integer) returns Integer;
|
||||
NbVMultiplicities (me) returns Integer;
|
||||
SetUKnots(me : mutable; aUKnots : HArray1OfReal);
|
||||
UKnots (me) returns HArray1OfReal;
|
||||
UKnotsValue (me; num : Integer) returns Real;
|
||||
NbUKnots (me) returns Integer;
|
||||
SetVKnots(me : mutable; aVKnots : HArray1OfReal);
|
||||
VKnots (me) returns HArray1OfReal;
|
||||
VKnotsValue (me; num : Integer) returns Real;
|
||||
NbVKnots (me) returns Integer;
|
||||
SetKnotSpec(me : mutable; aKnotSpec : KnotType);
|
||||
KnotSpec (me) returns KnotType;
|
||||
|
||||
-- Specific Methods for ANDOR Field Data Access --
|
||||
|
||||
SetWeightsData(me : mutable; aWeightsData : HArray2OfReal);
|
||||
WeightsData (me) returns HArray2OfReal;
|
||||
WeightsDataValue (me; num1 : Integer; num2 : Integer) returns Real;
|
||||
NbWeightsDataI (me) returns Integer;
|
||||
NbWeightsDataJ (me) returns Integer;
|
||||
|
||||
fields
|
||||
|
||||
bSplineSurfaceWithKnots : BSplineSurfaceWithKnots from StepGeom;
|
||||
rationalBSplineSurface : RationalBSplineSurface from StepGeom;
|
||||
|
||||
end BSplineSurfaceWithKnotsAndRationalBSplineSurface;
|
@@ -11,12 +11,12 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface.ixx>
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepGeom_BSplineSurfaceWithKnots.hxx>
|
||||
|
||||
#include <StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface.hxx>
|
||||
#include <StepGeom_RationalBSplineSurface.hxx>
|
||||
|
||||
#include <TCollection_HAsciiString.hxx>
|
||||
|
||||
StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface::StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface () {}
|
||||
|
||||
|
@@ -0,0 +1,136 @@
|
||||
// Created on: 1995-12-01
|
||||
// Created by: EXPRESS->CDL V0.2 Translator
|
||||
// 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 _StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface_HeaderFile
|
||||
#define _StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <StepGeom_BSplineSurface.hxx>
|
||||
#include <Standard_Integer.hxx>
|
||||
#include <StepGeom_HArray2OfCartesianPoint.hxx>
|
||||
#include <StepGeom_BSplineSurfaceForm.hxx>
|
||||
#include <StepData_Logical.hxx>
|
||||
#include <TColStd_HArray1OfInteger.hxx>
|
||||
#include <TColStd_HArray1OfReal.hxx>
|
||||
#include <StepGeom_KnotType.hxx>
|
||||
#include <TColStd_HArray2OfReal.hxx>
|
||||
#include <Standard_Real.hxx>
|
||||
class StepGeom_BSplineSurfaceWithKnots;
|
||||
class StepGeom_RationalBSplineSurface;
|
||||
class TCollection_HAsciiString;
|
||||
|
||||
|
||||
class StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface;
|
||||
DEFINE_STANDARD_HANDLE(StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface, StepGeom_BSplineSurface)
|
||||
|
||||
|
||||
class StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface : public StepGeom_BSplineSurface
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
|
||||
//! Returns a BSplineSurfaceWithKnotsAndRationalBSplineSurface
|
||||
Standard_EXPORT StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface();
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName, const Standard_Integer aUDegree, const Standard_Integer aVDegree, const Handle(StepGeom_HArray2OfCartesianPoint)& aControlPointsList, const StepGeom_BSplineSurfaceForm aSurfaceForm, const StepData_Logical aUClosed, const StepData_Logical aVClosed, const StepData_Logical aSelfIntersect) Standard_OVERRIDE;
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName, const Standard_Integer aUDegree, const Standard_Integer aVDegree, const Handle(StepGeom_HArray2OfCartesianPoint)& aControlPointsList, const StepGeom_BSplineSurfaceForm aSurfaceForm, const StepData_Logical aUClosed, const StepData_Logical aVClosed, const StepData_Logical aSelfIntersect, const Handle(StepGeom_BSplineSurfaceWithKnots)& aBSplineSurfaceWithKnots, const Handle(StepGeom_RationalBSplineSurface)& aRationalBSplineSurface);
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName, const Standard_Integer aUDegree, const Standard_Integer aVDegree, const Handle(StepGeom_HArray2OfCartesianPoint)& aControlPointsList, const StepGeom_BSplineSurfaceForm aSurfaceForm, const StepData_Logical aUClosed, const StepData_Logical aVClosed, const StepData_Logical aSelfIntersect, const Handle(TColStd_HArray1OfInteger)& aUMultiplicities, const Handle(TColStd_HArray1OfInteger)& aVMultiplicities, const Handle(TColStd_HArray1OfReal)& aUKnots, const Handle(TColStd_HArray1OfReal)& aVKnots, const StepGeom_KnotType aKnotSpec, const Handle(TColStd_HArray2OfReal)& aWeightsData);
|
||||
|
||||
Standard_EXPORT void SetBSplineSurfaceWithKnots (const Handle(StepGeom_BSplineSurfaceWithKnots)& aBSplineSurfaceWithKnots);
|
||||
|
||||
Standard_EXPORT Handle(StepGeom_BSplineSurfaceWithKnots) BSplineSurfaceWithKnots() const;
|
||||
|
||||
Standard_EXPORT void SetRationalBSplineSurface (const Handle(StepGeom_RationalBSplineSurface)& aRationalBSplineSurface);
|
||||
|
||||
Standard_EXPORT Handle(StepGeom_RationalBSplineSurface) RationalBSplineSurface() const;
|
||||
|
||||
Standard_EXPORT void SetUMultiplicities (const Handle(TColStd_HArray1OfInteger)& aUMultiplicities);
|
||||
|
||||
Standard_EXPORT Handle(TColStd_HArray1OfInteger) UMultiplicities() const;
|
||||
|
||||
Standard_EXPORT Standard_Integer UMultiplicitiesValue (const Standard_Integer num) const;
|
||||
|
||||
Standard_EXPORT Standard_Integer NbUMultiplicities() const;
|
||||
|
||||
Standard_EXPORT void SetVMultiplicities (const Handle(TColStd_HArray1OfInteger)& aVMultiplicities);
|
||||
|
||||
Standard_EXPORT Handle(TColStd_HArray1OfInteger) VMultiplicities() const;
|
||||
|
||||
Standard_EXPORT Standard_Integer VMultiplicitiesValue (const Standard_Integer num) const;
|
||||
|
||||
Standard_EXPORT Standard_Integer NbVMultiplicities() const;
|
||||
|
||||
Standard_EXPORT void SetUKnots (const Handle(TColStd_HArray1OfReal)& aUKnots);
|
||||
|
||||
Standard_EXPORT Handle(TColStd_HArray1OfReal) UKnots() const;
|
||||
|
||||
Standard_EXPORT Standard_Real UKnotsValue (const Standard_Integer num) const;
|
||||
|
||||
Standard_EXPORT Standard_Integer NbUKnots() const;
|
||||
|
||||
Standard_EXPORT void SetVKnots (const Handle(TColStd_HArray1OfReal)& aVKnots);
|
||||
|
||||
Standard_EXPORT Handle(TColStd_HArray1OfReal) VKnots() const;
|
||||
|
||||
Standard_EXPORT Standard_Real VKnotsValue (const Standard_Integer num) const;
|
||||
|
||||
Standard_EXPORT Standard_Integer NbVKnots() const;
|
||||
|
||||
Standard_EXPORT void SetKnotSpec (const StepGeom_KnotType aKnotSpec);
|
||||
|
||||
Standard_EXPORT StepGeom_KnotType KnotSpec() const;
|
||||
|
||||
Standard_EXPORT void SetWeightsData (const Handle(TColStd_HArray2OfReal)& aWeightsData);
|
||||
|
||||
Standard_EXPORT Handle(TColStd_HArray2OfReal) WeightsData() const;
|
||||
|
||||
Standard_EXPORT Standard_Real WeightsDataValue (const Standard_Integer num1, const Standard_Integer num2) const;
|
||||
|
||||
Standard_EXPORT Standard_Integer NbWeightsDataI() const;
|
||||
|
||||
Standard_EXPORT Standard_Integer NbWeightsDataJ() const;
|
||||
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface,StepGeom_BSplineSurface)
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Handle(StepGeom_BSplineSurfaceWithKnots) bSplineSurfaceWithKnots;
|
||||
Handle(StepGeom_RationalBSplineSurface) rationalBSplineSurface;
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface_HeaderFile
|
@@ -1,34 +0,0 @@
|
||||
-- Created on: 1995-12-01
|
||||
-- Created by: EXPRESS->CDL V0.2 Translator
|
||||
-- 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 BezierCurve from StepGeom
|
||||
|
||||
inherits BSplineCurve from StepGeom
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection,
|
||||
Integer from Standard,
|
||||
HArray1OfCartesianPoint from StepGeom,
|
||||
BSplineCurveForm from StepGeom,
|
||||
Logical from StepData
|
||||
is
|
||||
|
||||
Create returns BezierCurve;
|
||||
---Purpose: Returns a BezierCurve
|
||||
|
||||
|
||||
end BezierCurve;
|
@@ -11,8 +11,9 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepGeom_BezierCurve.ixx>
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepGeom_BezierCurve.hxx>
|
||||
|
||||
StepGeom_BezierCurve::StepGeom_BezierCurve () {}
|
||||
|
||||
|
62
src/StepGeom/StepGeom_BezierCurve.hxx
Normal file
62
src/StepGeom/StepGeom_BezierCurve.hxx
Normal file
@@ -0,0 +1,62 @@
|
||||
// Created on: 1995-12-01
|
||||
// Created by: EXPRESS->CDL V0.2 Translator
|
||||
// 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 _StepGeom_BezierCurve_HeaderFile
|
||||
#define _StepGeom_BezierCurve_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <StepGeom_BSplineCurve.hxx>
|
||||
|
||||
|
||||
class StepGeom_BezierCurve;
|
||||
DEFINE_STANDARD_HANDLE(StepGeom_BezierCurve, StepGeom_BSplineCurve)
|
||||
|
||||
|
||||
class StepGeom_BezierCurve : public StepGeom_BSplineCurve
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
|
||||
//! Returns a BezierCurve
|
||||
Standard_EXPORT StepGeom_BezierCurve();
|
||||
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepGeom_BezierCurve,StepGeom_BSplineCurve)
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepGeom_BezierCurve_HeaderFile
|
@@ -1,90 +0,0 @@
|
||||
-- Created on: 1995-12-01
|
||||
-- Created by: EXPRESS->CDL V0.2 Translator
|
||||
-- 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 BezierCurveAndRationalBSplineCurve from StepGeom
|
||||
|
||||
inherits BSplineCurve from StepGeom
|
||||
|
||||
|
||||
--- This classe is an implementation of EXPRESS
|
||||
-- ANDOR Subtype Declaration.
|
||||
uses
|
||||
|
||||
BezierCurve from StepGeom,
|
||||
RationalBSplineCurve from StepGeom,
|
||||
HAsciiString from TCollection,
|
||||
Integer from Standard,
|
||||
HArray1OfCartesianPoint from StepGeom,
|
||||
BSplineCurveForm from StepGeom,
|
||||
Logical from StepData,
|
||||
HArray1OfReal from TColStd,
|
||||
Real from Standard
|
||||
is
|
||||
|
||||
Create returns BezierCurveAndRationalBSplineCurve;
|
||||
---Purpose: Returns a BezierCurveAndRationalBSplineCurve
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection;
|
||||
aDegree : Integer from Standard;
|
||||
aControlPointsList : HArray1OfCartesianPoint from StepGeom;
|
||||
aCurveForm : BSplineCurveForm from StepGeom;
|
||||
aClosedCurve : Logical from StepData;
|
||||
aSelfIntersect : Logical from StepData) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection;
|
||||
aDegree : Integer from Standard;
|
||||
aControlPointsList : HArray1OfCartesianPoint from StepGeom;
|
||||
aCurveForm : BSplineCurveForm from StepGeom;
|
||||
aClosedCurve : Logical from StepData;
|
||||
aSelfIntersect : Logical from StepData;
|
||||
aBezierCurve : BezierCurve from StepGeom;
|
||||
aRationalBSplineCurve : RationalBSplineCurve from StepGeom) is virtual;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection;
|
||||
aDegree : Integer from Standard;
|
||||
aControlPointsList : HArray1OfCartesianPoint from StepGeom;
|
||||
aCurveForm : BSplineCurveForm from StepGeom;
|
||||
aClosedCurve : Logical from StepData;
|
||||
aSelfIntersect : Logical from StepData;
|
||||
aWeightsData : HArray1OfReal from TColStd) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetBezierCurve(me : mutable; aBezierCurve : BezierCurve);
|
||||
BezierCurve (me) returns BezierCurve;
|
||||
SetRationalBSplineCurve(me : mutable; aRationalBSplineCurve : RationalBSplineCurve);
|
||||
RationalBSplineCurve (me) returns RationalBSplineCurve;
|
||||
|
||||
-- Specific Methods for ANDOR Field Data Access --
|
||||
|
||||
|
||||
-- Specific Methods for ANDOR Field Data Access --
|
||||
|
||||
SetWeightsData(me : mutable; aWeightsData : HArray1OfReal);
|
||||
WeightsData (me) returns HArray1OfReal;
|
||||
WeightsDataValue (me; num : Integer) returns Real;
|
||||
NbWeightsData (me) returns Integer;
|
||||
|
||||
fields
|
||||
|
||||
bezierCurve : BezierCurve from StepGeom;
|
||||
rationalBSplineCurve : RationalBSplineCurve from StepGeom;
|
||||
|
||||
end BezierCurveAndRationalBSplineCurve;
|
@@ -11,12 +11,12 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepGeom_BezierCurveAndRationalBSplineCurve.ixx>
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepGeom_BezierCurve.hxx>
|
||||
|
||||
#include <StepGeom_BezierCurveAndRationalBSplineCurve.hxx>
|
||||
#include <StepGeom_RationalBSplineCurve.hxx>
|
||||
|
||||
#include <TCollection_HAsciiString.hxx>
|
||||
|
||||
StepGeom_BezierCurveAndRationalBSplineCurve::StepGeom_BezierCurveAndRationalBSplineCurve () {}
|
||||
|
||||
|
95
src/StepGeom/StepGeom_BezierCurveAndRationalBSplineCurve.hxx
Normal file
95
src/StepGeom/StepGeom_BezierCurveAndRationalBSplineCurve.hxx
Normal file
@@ -0,0 +1,95 @@
|
||||
// Created on: 1995-12-01
|
||||
// Created by: EXPRESS->CDL V0.2 Translator
|
||||
// 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 _StepGeom_BezierCurveAndRationalBSplineCurve_HeaderFile
|
||||
#define _StepGeom_BezierCurveAndRationalBSplineCurve_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <StepGeom_BSplineCurve.hxx>
|
||||
#include <Standard_Integer.hxx>
|
||||
#include <StepGeom_HArray1OfCartesianPoint.hxx>
|
||||
#include <StepGeom_BSplineCurveForm.hxx>
|
||||
#include <StepData_Logical.hxx>
|
||||
#include <TColStd_HArray1OfReal.hxx>
|
||||
#include <Standard_Real.hxx>
|
||||
class StepGeom_BezierCurve;
|
||||
class StepGeom_RationalBSplineCurve;
|
||||
class TCollection_HAsciiString;
|
||||
|
||||
|
||||
class StepGeom_BezierCurveAndRationalBSplineCurve;
|
||||
DEFINE_STANDARD_HANDLE(StepGeom_BezierCurveAndRationalBSplineCurve, StepGeom_BSplineCurve)
|
||||
|
||||
|
||||
class StepGeom_BezierCurveAndRationalBSplineCurve : public StepGeom_BSplineCurve
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
|
||||
//! Returns a BezierCurveAndRationalBSplineCurve
|
||||
Standard_EXPORT StepGeom_BezierCurveAndRationalBSplineCurve();
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName, const Standard_Integer aDegree, const Handle(StepGeom_HArray1OfCartesianPoint)& aControlPointsList, const StepGeom_BSplineCurveForm aCurveForm, const StepData_Logical aClosedCurve, const StepData_Logical aSelfIntersect) Standard_OVERRIDE;
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName, const Standard_Integer aDegree, const Handle(StepGeom_HArray1OfCartesianPoint)& aControlPointsList, const StepGeom_BSplineCurveForm aCurveForm, const StepData_Logical aClosedCurve, const StepData_Logical aSelfIntersect, const Handle(StepGeom_BezierCurve)& aBezierCurve, const Handle(StepGeom_RationalBSplineCurve)& aRationalBSplineCurve);
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName, const Standard_Integer aDegree, const Handle(StepGeom_HArray1OfCartesianPoint)& aControlPointsList, const StepGeom_BSplineCurveForm aCurveForm, const StepData_Logical aClosedCurve, const StepData_Logical aSelfIntersect, const Handle(TColStd_HArray1OfReal)& aWeightsData);
|
||||
|
||||
Standard_EXPORT void SetBezierCurve (const Handle(StepGeom_BezierCurve)& aBezierCurve);
|
||||
|
||||
Standard_EXPORT Handle(StepGeom_BezierCurve) BezierCurve() const;
|
||||
|
||||
Standard_EXPORT void SetRationalBSplineCurve (const Handle(StepGeom_RationalBSplineCurve)& aRationalBSplineCurve);
|
||||
|
||||
Standard_EXPORT Handle(StepGeom_RationalBSplineCurve) RationalBSplineCurve() const;
|
||||
|
||||
Standard_EXPORT void SetWeightsData (const Handle(TColStd_HArray1OfReal)& aWeightsData);
|
||||
|
||||
Standard_EXPORT Handle(TColStd_HArray1OfReal) WeightsData() const;
|
||||
|
||||
Standard_EXPORT Standard_Real WeightsDataValue (const Standard_Integer num) const;
|
||||
|
||||
Standard_EXPORT Standard_Integer NbWeightsData() const;
|
||||
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepGeom_BezierCurveAndRationalBSplineCurve,StepGeom_BSplineCurve)
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Handle(StepGeom_BezierCurve) bezierCurve;
|
||||
Handle(StepGeom_RationalBSplineCurve) rationalBSplineCurve;
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepGeom_BezierCurveAndRationalBSplineCurve_HeaderFile
|
@@ -1,34 +0,0 @@
|
||||
-- Created on: 1995-12-01
|
||||
-- Created by: EXPRESS->CDL V0.2 Translator
|
||||
-- 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 BezierSurface from StepGeom
|
||||
|
||||
inherits BSplineSurface from StepGeom
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection,
|
||||
Integer from Standard,
|
||||
HArray2OfCartesianPoint from StepGeom,
|
||||
BSplineSurfaceForm from StepGeom,
|
||||
Logical from StepData
|
||||
is
|
||||
|
||||
Create returns BezierSurface;
|
||||
---Purpose: Returns a BezierSurface
|
||||
|
||||
|
||||
end BezierSurface;
|
@@ -11,8 +11,9 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepGeom_BezierSurface.ixx>
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepGeom_BezierSurface.hxx>
|
||||
|
||||
StepGeom_BezierSurface::StepGeom_BezierSurface () {}
|
||||
|
||||
|
62
src/StepGeom/StepGeom_BezierSurface.hxx
Normal file
62
src/StepGeom/StepGeom_BezierSurface.hxx
Normal file
@@ -0,0 +1,62 @@
|
||||
// Created on: 1995-12-01
|
||||
// Created by: EXPRESS->CDL V0.2 Translator
|
||||
// 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 _StepGeom_BezierSurface_HeaderFile
|
||||
#define _StepGeom_BezierSurface_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <StepGeom_BSplineSurface.hxx>
|
||||
|
||||
|
||||
class StepGeom_BezierSurface;
|
||||
DEFINE_STANDARD_HANDLE(StepGeom_BezierSurface, StepGeom_BSplineSurface)
|
||||
|
||||
|
||||
class StepGeom_BezierSurface : public StepGeom_BSplineSurface
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
|
||||
//! Returns a BezierSurface
|
||||
Standard_EXPORT StepGeom_BezierSurface();
|
||||
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepGeom_BezierSurface,StepGeom_BSplineSurface)
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepGeom_BezierSurface_HeaderFile
|
@@ -1,97 +0,0 @@
|
||||
-- Created on: 1995-12-01
|
||||
-- Created by: EXPRESS->CDL V0.2 Translator
|
||||
-- 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 BezierSurfaceAndRationalBSplineSurface from StepGeom
|
||||
|
||||
inherits BSplineSurface from StepGeom
|
||||
|
||||
|
||||
--- This classe is an implementation of EXPRESS
|
||||
-- ANDOR Subtype Declaration.
|
||||
uses
|
||||
|
||||
BezierSurface from StepGeom,
|
||||
RationalBSplineSurface from StepGeom,
|
||||
HAsciiString from TCollection,
|
||||
Integer from Standard,
|
||||
HArray2OfCartesianPoint from StepGeom,
|
||||
BSplineSurfaceForm from StepGeom,
|
||||
Logical from StepData,
|
||||
HArray2OfReal from TColStd,
|
||||
Real from Standard
|
||||
is
|
||||
|
||||
Create returns BezierSurfaceAndRationalBSplineSurface;
|
||||
---Purpose: Returns a BezierSurfaceAndRationalBSplineSurface
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection;
|
||||
aUDegree : Integer from Standard;
|
||||
aVDegree : Integer from Standard;
|
||||
aControlPointsList : HArray2OfCartesianPoint from StepGeom;
|
||||
aSurfaceForm : BSplineSurfaceForm from StepGeom;
|
||||
aUClosed : Logical from StepData;
|
||||
aVClosed : Logical from StepData;
|
||||
aSelfIntersect : Logical from StepData) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection;
|
||||
aUDegree : Integer from Standard;
|
||||
aVDegree : Integer from Standard;
|
||||
aControlPointsList : HArray2OfCartesianPoint from StepGeom;
|
||||
aSurfaceForm : BSplineSurfaceForm from StepGeom;
|
||||
aUClosed : Logical from StepData;
|
||||
aVClosed : Logical from StepData;
|
||||
aSelfIntersect : Logical from StepData;
|
||||
aBezierSurface : BezierSurface from StepGeom;
|
||||
aRationalBSplineSurface : RationalBSplineSurface from StepGeom) is virtual;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection;
|
||||
aUDegree : Integer from Standard;
|
||||
aVDegree : Integer from Standard;
|
||||
aControlPointsList : HArray2OfCartesianPoint from StepGeom;
|
||||
aSurfaceForm : BSplineSurfaceForm from StepGeom;
|
||||
aUClosed : Logical from StepData;
|
||||
aVClosed : Logical from StepData;
|
||||
aSelfIntersect : Logical from StepData;
|
||||
aWeightsData : HArray2OfReal from TColStd) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetBezierSurface(me : mutable; aBezierSurface : BezierSurface);
|
||||
BezierSurface (me) returns BezierSurface;
|
||||
SetRationalBSplineSurface(me : mutable; aRationalBSplineSurface : RationalBSplineSurface);
|
||||
RationalBSplineSurface (me) returns RationalBSplineSurface;
|
||||
|
||||
-- Specific Methods for ANDOR Field Data Access --
|
||||
|
||||
|
||||
-- Specific Methods for ANDOR Field Data Access --
|
||||
|
||||
SetWeightsData(me : mutable; aWeightsData : HArray2OfReal);
|
||||
WeightsData (me) returns HArray2OfReal;
|
||||
WeightsDataValue (me; num1 : Integer; num2 : Integer) returns Real;
|
||||
NbWeightsDataI (me) returns Integer;
|
||||
NbWeightsDataJ (me) returns Integer;
|
||||
|
||||
fields
|
||||
|
||||
bezierSurface : BezierSurface from StepGeom;
|
||||
rationalBSplineSurface : RationalBSplineSurface from StepGeom;
|
||||
|
||||
end BezierSurfaceAndRationalBSplineSurface;
|
@@ -11,12 +11,12 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepGeom_BezierSurfaceAndRationalBSplineSurface.ixx>
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepGeom_BezierSurface.hxx>
|
||||
|
||||
#include <StepGeom_BezierSurfaceAndRationalBSplineSurface.hxx>
|
||||
#include <StepGeom_RationalBSplineSurface.hxx>
|
||||
|
||||
#include <TCollection_HAsciiString.hxx>
|
||||
|
||||
StepGeom_BezierSurfaceAndRationalBSplineSurface::StepGeom_BezierSurfaceAndRationalBSplineSurface () {}
|
||||
|
||||
|
@@ -0,0 +1,97 @@
|
||||
// Created on: 1995-12-01
|
||||
// Created by: EXPRESS->CDL V0.2 Translator
|
||||
// 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 _StepGeom_BezierSurfaceAndRationalBSplineSurface_HeaderFile
|
||||
#define _StepGeom_BezierSurfaceAndRationalBSplineSurface_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <StepGeom_BSplineSurface.hxx>
|
||||
#include <Standard_Integer.hxx>
|
||||
#include <StepGeom_HArray2OfCartesianPoint.hxx>
|
||||
#include <StepGeom_BSplineSurfaceForm.hxx>
|
||||
#include <StepData_Logical.hxx>
|
||||
#include <TColStd_HArray2OfReal.hxx>
|
||||
#include <Standard_Real.hxx>
|
||||
class StepGeom_BezierSurface;
|
||||
class StepGeom_RationalBSplineSurface;
|
||||
class TCollection_HAsciiString;
|
||||
|
||||
|
||||
class StepGeom_BezierSurfaceAndRationalBSplineSurface;
|
||||
DEFINE_STANDARD_HANDLE(StepGeom_BezierSurfaceAndRationalBSplineSurface, StepGeom_BSplineSurface)
|
||||
|
||||
|
||||
class StepGeom_BezierSurfaceAndRationalBSplineSurface : public StepGeom_BSplineSurface
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
|
||||
//! Returns a BezierSurfaceAndRationalBSplineSurface
|
||||
Standard_EXPORT StepGeom_BezierSurfaceAndRationalBSplineSurface();
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName, const Standard_Integer aUDegree, const Standard_Integer aVDegree, const Handle(StepGeom_HArray2OfCartesianPoint)& aControlPointsList, const StepGeom_BSplineSurfaceForm aSurfaceForm, const StepData_Logical aUClosed, const StepData_Logical aVClosed, const StepData_Logical aSelfIntersect) Standard_OVERRIDE;
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName, const Standard_Integer aUDegree, const Standard_Integer aVDegree, const Handle(StepGeom_HArray2OfCartesianPoint)& aControlPointsList, const StepGeom_BSplineSurfaceForm aSurfaceForm, const StepData_Logical aUClosed, const StepData_Logical aVClosed, const StepData_Logical aSelfIntersect, const Handle(StepGeom_BezierSurface)& aBezierSurface, const Handle(StepGeom_RationalBSplineSurface)& aRationalBSplineSurface);
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName, const Standard_Integer aUDegree, const Standard_Integer aVDegree, const Handle(StepGeom_HArray2OfCartesianPoint)& aControlPointsList, const StepGeom_BSplineSurfaceForm aSurfaceForm, const StepData_Logical aUClosed, const StepData_Logical aVClosed, const StepData_Logical aSelfIntersect, const Handle(TColStd_HArray2OfReal)& aWeightsData);
|
||||
|
||||
Standard_EXPORT void SetBezierSurface (const Handle(StepGeom_BezierSurface)& aBezierSurface);
|
||||
|
||||
Standard_EXPORT Handle(StepGeom_BezierSurface) BezierSurface() const;
|
||||
|
||||
Standard_EXPORT void SetRationalBSplineSurface (const Handle(StepGeom_RationalBSplineSurface)& aRationalBSplineSurface);
|
||||
|
||||
Standard_EXPORT Handle(StepGeom_RationalBSplineSurface) RationalBSplineSurface() const;
|
||||
|
||||
Standard_EXPORT void SetWeightsData (const Handle(TColStd_HArray2OfReal)& aWeightsData);
|
||||
|
||||
Standard_EXPORT Handle(TColStd_HArray2OfReal) WeightsData() const;
|
||||
|
||||
Standard_EXPORT Standard_Real WeightsDataValue (const Standard_Integer num1, const Standard_Integer num2) const;
|
||||
|
||||
Standard_EXPORT Standard_Integer NbWeightsDataI() const;
|
||||
|
||||
Standard_EXPORT Standard_Integer NbWeightsDataJ() const;
|
||||
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepGeom_BezierSurfaceAndRationalBSplineSurface,StepGeom_BSplineSurface)
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Handle(StepGeom_BezierSurface) bezierSurface;
|
||||
Handle(StepGeom_RationalBSplineSurface) rationalBSplineSurface;
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepGeom_BezierSurfaceAndRationalBSplineSurface_HeaderFile
|
@@ -1,32 +0,0 @@
|
||||
-- Created on: 1995-12-01
|
||||
-- Created by: EXPRESS->CDL V0.2 Translator
|
||||
-- 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 BoundaryCurve from StepGeom
|
||||
|
||||
inherits CompositeCurveOnSurface from StepGeom
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection,
|
||||
HArray1OfCompositeCurveSegment from StepGeom,
|
||||
Logical from StepData
|
||||
is
|
||||
|
||||
Create returns BoundaryCurve;
|
||||
---Purpose: Returns a BoundaryCurve
|
||||
|
||||
|
||||
end BoundaryCurve;
|
@@ -11,8 +11,9 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepGeom_BoundaryCurve.ixx>
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepGeom_BoundaryCurve.hxx>
|
||||
|
||||
StepGeom_BoundaryCurve::StepGeom_BoundaryCurve () {}
|
||||
|
||||
|
62
src/StepGeom/StepGeom_BoundaryCurve.hxx
Normal file
62
src/StepGeom/StepGeom_BoundaryCurve.hxx
Normal file
@@ -0,0 +1,62 @@
|
||||
// Created on: 1995-12-01
|
||||
// Created by: EXPRESS->CDL V0.2 Translator
|
||||
// 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 _StepGeom_BoundaryCurve_HeaderFile
|
||||
#define _StepGeom_BoundaryCurve_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <StepGeom_CompositeCurveOnSurface.hxx>
|
||||
|
||||
|
||||
class StepGeom_BoundaryCurve;
|
||||
DEFINE_STANDARD_HANDLE(StepGeom_BoundaryCurve, StepGeom_CompositeCurveOnSurface)
|
||||
|
||||
|
||||
class StepGeom_BoundaryCurve : public StepGeom_CompositeCurveOnSurface
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
|
||||
//! Returns a BoundaryCurve
|
||||
Standard_EXPORT StepGeom_BoundaryCurve();
|
||||
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepGeom_BoundaryCurve,StepGeom_CompositeCurveOnSurface)
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepGeom_BoundaryCurve_HeaderFile
|
@@ -1,30 +0,0 @@
|
||||
-- Created on: 1995-12-01
|
||||
-- Created by: EXPRESS->CDL V0.2 Translator
|
||||
-- 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 BoundedCurve from StepGeom
|
||||
|
||||
inherits Curve from StepGeom
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns BoundedCurve;
|
||||
---Purpose: Returns a BoundedCurve
|
||||
|
||||
|
||||
end BoundedCurve;
|
@@ -11,8 +11,9 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepGeom_BoundedCurve.ixx>
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepGeom_BoundedCurve.hxx>
|
||||
|
||||
StepGeom_BoundedCurve::StepGeom_BoundedCurve () {}
|
||||
|
||||
|
62
src/StepGeom/StepGeom_BoundedCurve.hxx
Normal file
62
src/StepGeom/StepGeom_BoundedCurve.hxx
Normal file
@@ -0,0 +1,62 @@
|
||||
// Created on: 1995-12-01
|
||||
// Created by: EXPRESS->CDL V0.2 Translator
|
||||
// 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 _StepGeom_BoundedCurve_HeaderFile
|
||||
#define _StepGeom_BoundedCurve_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <StepGeom_Curve.hxx>
|
||||
|
||||
|
||||
class StepGeom_BoundedCurve;
|
||||
DEFINE_STANDARD_HANDLE(StepGeom_BoundedCurve, StepGeom_Curve)
|
||||
|
||||
|
||||
class StepGeom_BoundedCurve : public StepGeom_Curve
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
|
||||
//! Returns a BoundedCurve
|
||||
Standard_EXPORT StepGeom_BoundedCurve();
|
||||
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepGeom_BoundedCurve,StepGeom_Curve)
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepGeom_BoundedCurve_HeaderFile
|
@@ -1,30 +0,0 @@
|
||||
-- Created on: 1995-12-01
|
||||
-- Created by: EXPRESS->CDL V0.2 Translator
|
||||
-- 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 BoundedSurface from StepGeom
|
||||
|
||||
inherits Surface from StepGeom
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns BoundedSurface;
|
||||
---Purpose: Returns a BoundedSurface
|
||||
|
||||
|
||||
end BoundedSurface;
|
@@ -11,8 +11,9 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepGeom_BoundedSurface.ixx>
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepGeom_BoundedSurface.hxx>
|
||||
|
||||
StepGeom_BoundedSurface::StepGeom_BoundedSurface () {}
|
||||
|
||||
|
62
src/StepGeom/StepGeom_BoundedSurface.hxx
Normal file
62
src/StepGeom/StepGeom_BoundedSurface.hxx
Normal file
@@ -0,0 +1,62 @@
|
||||
// Created on: 1995-12-01
|
||||
// Created by: EXPRESS->CDL V0.2 Translator
|
||||
// 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 _StepGeom_BoundedSurface_HeaderFile
|
||||
#define _StepGeom_BoundedSurface_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <StepGeom_Surface.hxx>
|
||||
|
||||
|
||||
class StepGeom_BoundedSurface;
|
||||
DEFINE_STANDARD_HANDLE(StepGeom_BoundedSurface, StepGeom_Surface)
|
||||
|
||||
|
||||
class StepGeom_BoundedSurface : public StepGeom_Surface
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
|
||||
//! Returns a BoundedSurface
|
||||
Standard_EXPORT StepGeom_BoundedSurface();
|
||||
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepGeom_BoundedSurface,StepGeom_Surface)
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepGeom_BoundedSurface_HeaderFile
|
@@ -1,60 +0,0 @@
|
||||
-- Created on: 1995-12-01
|
||||
-- Created by: EXPRESS->CDL V0.2 Translator
|
||||
-- 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 CartesianPoint from StepGeom
|
||||
|
||||
inherits Point from StepGeom
|
||||
|
||||
uses
|
||||
|
||||
HArray1OfReal from TColStd,
|
||||
Real from Standard,
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns CartesianPoint;
|
||||
---Purpose: Returns a CartesianPoint
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection;
|
||||
aCoordinates : HArray1OfReal from TColStd) is virtual;
|
||||
|
||||
Init2D (me : mutable;
|
||||
aName : HAsciiString from TCollection;
|
||||
X,Y : Real);
|
||||
|
||||
Init3D (me : mutable;
|
||||
aName : HAsciiString from TCollection;
|
||||
X,Y,Z : Real);
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetCoordinates(me : mutable; aCoordinates : HArray1OfReal);
|
||||
Coordinates (me) returns HArray1OfReal;
|
||||
CoordinatesValue (me; num : Integer) returns Real;
|
||||
NbCoordinates (me) returns Integer;
|
||||
|
||||
fields
|
||||
|
||||
nbcoord : Integer; -- optimised formula
|
||||
coords : Real[3];
|
||||
-- coordinates : HArray1OfReal from TColStd;
|
||||
|
||||
end CartesianPoint;
|
@@ -11,8 +11,10 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepGeom_CartesianPoint.ixx>
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepGeom_CartesianPoint.hxx>
|
||||
#include <TCollection_HAsciiString.hxx>
|
||||
|
||||
StepGeom_CartesianPoint::StepGeom_CartesianPoint () {}
|
||||
|
||||
|
84
src/StepGeom/StepGeom_CartesianPoint.hxx
Normal file
84
src/StepGeom/StepGeom_CartesianPoint.hxx
Normal file
@@ -0,0 +1,84 @@
|
||||
// Created on: 1995-12-01
|
||||
// Created by: EXPRESS->CDL V0.2 Translator
|
||||
// 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 _StepGeom_CartesianPoint_HeaderFile
|
||||
#define _StepGeom_CartesianPoint_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <Standard_Integer.hxx>
|
||||
#include <Standard_Real.hxx>
|
||||
#include <StepGeom_Point.hxx>
|
||||
#include <TColStd_HArray1OfReal.hxx>
|
||||
class TCollection_HAsciiString;
|
||||
|
||||
|
||||
class StepGeom_CartesianPoint;
|
||||
DEFINE_STANDARD_HANDLE(StepGeom_CartesianPoint, StepGeom_Point)
|
||||
|
||||
|
||||
class StepGeom_CartesianPoint : public StepGeom_Point
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
|
||||
//! Returns a CartesianPoint
|
||||
Standard_EXPORT StepGeom_CartesianPoint();
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName) Standard_OVERRIDE;
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName, const Handle(TColStd_HArray1OfReal)& aCoordinates);
|
||||
|
||||
Standard_EXPORT void Init2D (const Handle(TCollection_HAsciiString)& aName, const Standard_Real X, const Standard_Real Y);
|
||||
|
||||
Standard_EXPORT void Init3D (const Handle(TCollection_HAsciiString)& aName, const Standard_Real X, const Standard_Real Y, const Standard_Real Z);
|
||||
|
||||
Standard_EXPORT void SetCoordinates (const Handle(TColStd_HArray1OfReal)& aCoordinates);
|
||||
|
||||
Standard_EXPORT Handle(TColStd_HArray1OfReal) Coordinates() const;
|
||||
|
||||
Standard_EXPORT Standard_Real CoordinatesValue (const Standard_Integer num) const;
|
||||
|
||||
Standard_EXPORT Standard_Integer NbCoordinates() const;
|
||||
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepGeom_CartesianPoint,StepGeom_Point)
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Standard_Integer nbcoord;
|
||||
Standard_Real coords[3];
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepGeom_CartesianPoint_HeaderFile
|
@@ -1,77 +0,0 @@
|
||||
-- Created on: 1995-12-01
|
||||
-- Created by: EXPRESS->CDL V0.2 Translator
|
||||
-- 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 CartesianTransformationOperator from StepGeom
|
||||
|
||||
inherits GeometricRepresentationItem from StepGeom
|
||||
-- WARNING : Multiple EXPRESS inheritance
|
||||
-- Not yet automaticly managed
|
||||
-- inherits FunctionallyDefinedTransformation from StepGeom
|
||||
|
||||
uses
|
||||
|
||||
Direction from StepGeom,
|
||||
CartesianPoint from StepGeom,
|
||||
Real from Standard,
|
||||
Boolean from Standard,
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns CartesianTransformationOperator;
|
||||
---Purpose: Returns a CartesianTransformationOperator
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection;
|
||||
hasAaxis1 : Boolean from Standard;
|
||||
aAxis1 : Direction from StepGeom;
|
||||
hasAaxis2 : Boolean from Standard;
|
||||
aAxis2 : Direction from StepGeom;
|
||||
aLocalOrigin : CartesianPoint from StepGeom;
|
||||
hasAscale : Boolean from Standard;
|
||||
aScale : Real from Standard) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetAxis1(me : mutable; aAxis1 : Direction);
|
||||
UnSetAxis1 (me:mutable);
|
||||
Axis1 (me) returns Direction;
|
||||
HasAxis1 (me) returns Boolean;
|
||||
SetAxis2(me : mutable; aAxis2 : Direction);
|
||||
UnSetAxis2 (me:mutable);
|
||||
Axis2 (me) returns Direction;
|
||||
HasAxis2 (me) returns Boolean;
|
||||
SetLocalOrigin(me : mutable; aLocalOrigin : CartesianPoint);
|
||||
LocalOrigin (me) returns CartesianPoint;
|
||||
SetScale(me : mutable; aScale : Real);
|
||||
UnSetScale (me:mutable);
|
||||
Scale (me) returns Real;
|
||||
HasScale (me) returns Boolean;
|
||||
|
||||
fields
|
||||
|
||||
axis1 : Direction from StepGeom; -- OPTIONAL can be NULL
|
||||
axis2 : Direction from StepGeom; -- OPTIONAL can be NULL
|
||||
localOrigin : CartesianPoint from StepGeom;
|
||||
scale : Real from Standard; -- OPTIONAL can be NULL
|
||||
hasAxis1 : Boolean from Standard;
|
||||
hasAxis2 : Boolean from Standard;
|
||||
hasScale : Boolean from Standard;
|
||||
|
||||
end CartesianTransformationOperator;
|
@@ -11,8 +11,12 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepGeom_CartesianTransformationOperator.ixx>
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepGeom_CartesianPoint.hxx>
|
||||
#include <StepGeom_CartesianTransformationOperator.hxx>
|
||||
#include <StepGeom_Direction.hxx>
|
||||
#include <TCollection_HAsciiString.hxx>
|
||||
|
||||
StepGeom_CartesianTransformationOperator::StepGeom_CartesianTransformationOperator () {}
|
||||
|
||||
|
106
src/StepGeom/StepGeom_CartesianTransformationOperator.hxx
Normal file
106
src/StepGeom/StepGeom_CartesianTransformationOperator.hxx
Normal file
@@ -0,0 +1,106 @@
|
||||
// Created on: 1995-12-01
|
||||
// Created by: EXPRESS->CDL V0.2 Translator
|
||||
// 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 _StepGeom_CartesianTransformationOperator_HeaderFile
|
||||
#define _StepGeom_CartesianTransformationOperator_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <Standard_Real.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <StepGeom_GeometricRepresentationItem.hxx>
|
||||
class StepGeom_Direction;
|
||||
class StepGeom_CartesianPoint;
|
||||
class TCollection_HAsciiString;
|
||||
|
||||
|
||||
class StepGeom_CartesianTransformationOperator;
|
||||
DEFINE_STANDARD_HANDLE(StepGeom_CartesianTransformationOperator, StepGeom_GeometricRepresentationItem)
|
||||
|
||||
|
||||
class StepGeom_CartesianTransformationOperator : public StepGeom_GeometricRepresentationItem
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
|
||||
//! Returns a CartesianTransformationOperator
|
||||
Standard_EXPORT StepGeom_CartesianTransformationOperator();
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName) Standard_OVERRIDE;
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName, const Standard_Boolean hasAaxis1, const Handle(StepGeom_Direction)& aAxis1, const Standard_Boolean hasAaxis2, const Handle(StepGeom_Direction)& aAxis2, const Handle(StepGeom_CartesianPoint)& aLocalOrigin, const Standard_Boolean hasAscale, const Standard_Real aScale);
|
||||
|
||||
Standard_EXPORT void SetAxis1 (const Handle(StepGeom_Direction)& aAxis1);
|
||||
|
||||
Standard_EXPORT void UnSetAxis1();
|
||||
|
||||
Standard_EXPORT Handle(StepGeom_Direction) Axis1() const;
|
||||
|
||||
Standard_EXPORT Standard_Boolean HasAxis1() const;
|
||||
|
||||
Standard_EXPORT void SetAxis2 (const Handle(StepGeom_Direction)& aAxis2);
|
||||
|
||||
Standard_EXPORT void UnSetAxis2();
|
||||
|
||||
Standard_EXPORT Handle(StepGeom_Direction) Axis2() const;
|
||||
|
||||
Standard_EXPORT Standard_Boolean HasAxis2() const;
|
||||
|
||||
Standard_EXPORT void SetLocalOrigin (const Handle(StepGeom_CartesianPoint)& aLocalOrigin);
|
||||
|
||||
Standard_EXPORT Handle(StepGeom_CartesianPoint) LocalOrigin() const;
|
||||
|
||||
Standard_EXPORT void SetScale (const Standard_Real aScale);
|
||||
|
||||
Standard_EXPORT void UnSetScale();
|
||||
|
||||
Standard_EXPORT Standard_Real Scale() const;
|
||||
|
||||
Standard_EXPORT Standard_Boolean HasScale() const;
|
||||
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepGeom_CartesianTransformationOperator,StepGeom_GeometricRepresentationItem)
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Handle(StepGeom_Direction) axis1;
|
||||
Handle(StepGeom_Direction) axis2;
|
||||
Handle(StepGeom_CartesianPoint) localOrigin;
|
||||
Standard_Real scale;
|
||||
Standard_Boolean hasAxis1;
|
||||
Standard_Boolean hasAxis2;
|
||||
Standard_Boolean hasScale;
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepGeom_CartesianTransformationOperator_HeaderFile
|
@@ -1,29 +0,0 @@
|
||||
-- Created on: 1997-03-26
|
||||
-- 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.
|
||||
|
||||
class CartesianTransformationOperator2d from StepGeom
|
||||
|
||||
inherits CartesianTransformationOperator from StepGeom
|
||||
|
||||
---Purpose : Added from StepGeom Rev2 to Rev4
|
||||
|
||||
uses Boolean
|
||||
|
||||
is
|
||||
|
||||
Create returns CartesianTransformationOperator2d from StepGeom;
|
||||
|
||||
end CartesianTransformationOperator2d;
|
@@ -11,6 +11,8 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepGeom_CartesianTransformationOperator2d.ixx>
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepGeom_CartesianTransformationOperator2d.hxx>
|
||||
|
||||
StepGeom_CartesianTransformationOperator2d::StepGeom_CartesianTransformationOperator2d () { }
|
||||
|
61
src/StepGeom/StepGeom_CartesianTransformationOperator2d.hxx
Normal file
61
src/StepGeom/StepGeom_CartesianTransformationOperator2d.hxx
Normal file
@@ -0,0 +1,61 @@
|
||||
// Created on: 1997-03-26
|
||||
// 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.
|
||||
|
||||
#ifndef _StepGeom_CartesianTransformationOperator2d_HeaderFile
|
||||
#define _StepGeom_CartesianTransformationOperator2d_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <StepGeom_CartesianTransformationOperator.hxx>
|
||||
|
||||
|
||||
class StepGeom_CartesianTransformationOperator2d;
|
||||
DEFINE_STANDARD_HANDLE(StepGeom_CartesianTransformationOperator2d, StepGeom_CartesianTransformationOperator)
|
||||
|
||||
//! Added from StepGeom Rev2 to Rev4
|
||||
class StepGeom_CartesianTransformationOperator2d : public StepGeom_CartesianTransformationOperator
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
|
||||
Standard_EXPORT StepGeom_CartesianTransformationOperator2d();
|
||||
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepGeom_CartesianTransformationOperator2d,StepGeom_CartesianTransformationOperator)
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepGeom_CartesianTransformationOperator2d_HeaderFile
|
@@ -1,68 +0,0 @@
|
||||
-- Created on: 1995-12-01
|
||||
-- Created by: EXPRESS->CDL V0.2 Translator
|
||||
-- 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 CartesianTransformationOperator3d from StepGeom
|
||||
|
||||
inherits CartesianTransformationOperator from StepGeom
|
||||
|
||||
uses
|
||||
|
||||
Direction from StepGeom,
|
||||
Boolean from Standard,
|
||||
HAsciiString from TCollection,
|
||||
CartesianPoint from StepGeom,
|
||||
Real from Standard
|
||||
is
|
||||
|
||||
Create returns CartesianTransformationOperator3d;
|
||||
---Purpose: Returns a CartesianTransformationOperator3d
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection;
|
||||
hasAaxis1 : Boolean from Standard;
|
||||
aAxis1 : Direction from StepGeom;
|
||||
hasAaxis2 : Boolean from Standard;
|
||||
aAxis2 : Direction from StepGeom;
|
||||
aLocalOrigin : CartesianPoint from StepGeom;
|
||||
hasAscale : Boolean from Standard;
|
||||
aScale : Real from Standard) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection;
|
||||
hasAaxis1 : Boolean from Standard;
|
||||
aAxis1 : Direction from StepGeom;
|
||||
hasAaxis2 : Boolean from Standard;
|
||||
aAxis2 : Direction from StepGeom;
|
||||
aLocalOrigin : CartesianPoint from StepGeom;
|
||||
hasAscale : Boolean from Standard;
|
||||
aScale : Real from Standard;
|
||||
hasAaxis3 : Boolean from Standard;
|
||||
aAxis3 : Direction from StepGeom) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetAxis3(me : mutable; aAxis3 : Direction);
|
||||
UnSetAxis3 (me:mutable);
|
||||
Axis3 (me) returns Direction;
|
||||
HasAxis3 (me) returns Boolean;
|
||||
|
||||
fields
|
||||
|
||||
axis3 : Direction from StepGeom; -- OPTIONAL can be NULL
|
||||
hasAxis3 : Boolean from Standard;
|
||||
|
||||
end CartesianTransformationOperator3d;
|
@@ -11,8 +11,12 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepGeom_CartesianTransformationOperator3d.ixx>
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepGeom_CartesianPoint.hxx>
|
||||
#include <StepGeom_CartesianTransformationOperator3d.hxx>
|
||||
#include <StepGeom_Direction.hxx>
|
||||
#include <TCollection_HAsciiString.hxx>
|
||||
|
||||
StepGeom_CartesianTransformationOperator3d::StepGeom_CartesianTransformationOperator3d () {}
|
||||
|
||||
|
81
src/StepGeom/StepGeom_CartesianTransformationOperator3d.hxx
Normal file
81
src/StepGeom/StepGeom_CartesianTransformationOperator3d.hxx
Normal file
@@ -0,0 +1,81 @@
|
||||
// Created on: 1995-12-01
|
||||
// Created by: EXPRESS->CDL V0.2 Translator
|
||||
// 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 _StepGeom_CartesianTransformationOperator3d_HeaderFile
|
||||
#define _StepGeom_CartesianTransformationOperator3d_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <StepGeom_CartesianTransformationOperator.hxx>
|
||||
#include <Standard_Real.hxx>
|
||||
class StepGeom_Direction;
|
||||
class TCollection_HAsciiString;
|
||||
class StepGeom_CartesianPoint;
|
||||
|
||||
|
||||
class StepGeom_CartesianTransformationOperator3d;
|
||||
DEFINE_STANDARD_HANDLE(StepGeom_CartesianTransformationOperator3d, StepGeom_CartesianTransformationOperator)
|
||||
|
||||
|
||||
class StepGeom_CartesianTransformationOperator3d : public StepGeom_CartesianTransformationOperator
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
|
||||
//! Returns a CartesianTransformationOperator3d
|
||||
Standard_EXPORT StepGeom_CartesianTransformationOperator3d();
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName, const Standard_Boolean hasAaxis1, const Handle(StepGeom_Direction)& aAxis1, const Standard_Boolean hasAaxis2, const Handle(StepGeom_Direction)& aAxis2, const Handle(StepGeom_CartesianPoint)& aLocalOrigin, const Standard_Boolean hasAscale, const Standard_Real aScale) Standard_OVERRIDE;
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName, const Standard_Boolean hasAaxis1, const Handle(StepGeom_Direction)& aAxis1, const Standard_Boolean hasAaxis2, const Handle(StepGeom_Direction)& aAxis2, const Handle(StepGeom_CartesianPoint)& aLocalOrigin, const Standard_Boolean hasAscale, const Standard_Real aScale, const Standard_Boolean hasAaxis3, const Handle(StepGeom_Direction)& aAxis3);
|
||||
|
||||
Standard_EXPORT void SetAxis3 (const Handle(StepGeom_Direction)& aAxis3);
|
||||
|
||||
Standard_EXPORT void UnSetAxis3();
|
||||
|
||||
Standard_EXPORT Handle(StepGeom_Direction) Axis3() const;
|
||||
|
||||
Standard_EXPORT Standard_Boolean HasAxis3() const;
|
||||
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepGeom_CartesianTransformationOperator3d,StepGeom_CartesianTransformationOperator)
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Handle(StepGeom_Direction) axis3;
|
||||
Standard_Boolean hasAxis3;
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepGeom_CartesianTransformationOperator3d_HeaderFile
|
@@ -1,50 +0,0 @@
|
||||
-- Created on: 1995-12-01
|
||||
-- Created by: EXPRESS->CDL V0.2 Translator
|
||||
-- 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 Circle from StepGeom
|
||||
|
||||
inherits Conic from StepGeom
|
||||
|
||||
uses
|
||||
|
||||
Real from Standard,
|
||||
HAsciiString from TCollection,
|
||||
Axis2Placement from StepGeom
|
||||
is
|
||||
|
||||
Create returns Circle;
|
||||
---Purpose: Returns a Circle
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection;
|
||||
aPosition : Axis2Placement from StepGeom) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection;
|
||||
aPosition : Axis2Placement from StepGeom;
|
||||
aRadius : Real from Standard) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetRadius(me : mutable; aRadius : Real);
|
||||
Radius (me) returns Real;
|
||||
|
||||
fields
|
||||
|
||||
radius : Real from Standard;
|
||||
|
||||
end Circle;
|
@@ -11,8 +11,11 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepGeom_Circle.ixx>
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepGeom_Axis2Placement.hxx>
|
||||
#include <StepGeom_Circle.hxx>
|
||||
#include <TCollection_HAsciiString.hxx>
|
||||
|
||||
StepGeom_Circle::StepGeom_Circle () {}
|
||||
|
||||
|
74
src/StepGeom/StepGeom_Circle.hxx
Normal file
74
src/StepGeom/StepGeom_Circle.hxx
Normal file
@@ -0,0 +1,74 @@
|
||||
// Created on: 1995-12-01
|
||||
// Created by: EXPRESS->CDL V0.2 Translator
|
||||
// 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 _StepGeom_Circle_HeaderFile
|
||||
#define _StepGeom_Circle_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <Standard_Real.hxx>
|
||||
#include <StepGeom_Conic.hxx>
|
||||
class TCollection_HAsciiString;
|
||||
class StepGeom_Axis2Placement;
|
||||
|
||||
|
||||
class StepGeom_Circle;
|
||||
DEFINE_STANDARD_HANDLE(StepGeom_Circle, StepGeom_Conic)
|
||||
|
||||
|
||||
class StepGeom_Circle : public StepGeom_Conic
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
|
||||
//! Returns a Circle
|
||||
Standard_EXPORT StepGeom_Circle();
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName, const StepGeom_Axis2Placement& aPosition) Standard_OVERRIDE;
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName, const StepGeom_Axis2Placement& aPosition, const Standard_Real aRadius);
|
||||
|
||||
Standard_EXPORT void SetRadius (const Standard_Real aRadius);
|
||||
|
||||
Standard_EXPORT Standard_Real Radius() const;
|
||||
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepGeom_Circle,StepGeom_Conic)
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Standard_Real radius;
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepGeom_Circle_HeaderFile
|
@@ -1,55 +0,0 @@
|
||||
-- Created on: 1995-12-01
|
||||
-- Created by: EXPRESS->CDL V0.2 Translator
|
||||
-- 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 CompositeCurve from StepGeom
|
||||
|
||||
inherits BoundedCurve from StepGeom
|
||||
|
||||
uses
|
||||
|
||||
HArray1OfCompositeCurveSegment from StepGeom,
|
||||
Logical from StepData,
|
||||
CompositeCurveSegment from StepGeom,
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns CompositeCurve;
|
||||
---Purpose: Returns a CompositeCurve
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection;
|
||||
aSegments : HArray1OfCompositeCurveSegment from StepGeom;
|
||||
aSelfIntersect : Logical from StepData) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetSegments(me : mutable; aSegments : HArray1OfCompositeCurveSegment);
|
||||
Segments (me) returns HArray1OfCompositeCurveSegment;
|
||||
SegmentsValue (me; num : Integer) returns CompositeCurveSegment;
|
||||
NbSegments (me) returns Integer;
|
||||
SetSelfIntersect(me : mutable; aSelfIntersect : Logical);
|
||||
SelfIntersect (me) returns Logical;
|
||||
|
||||
fields
|
||||
|
||||
segments : HArray1OfCompositeCurveSegment from StepGeom;
|
||||
selfIntersect : Logical from StepData;
|
||||
|
||||
end CompositeCurve;
|
@@ -11,8 +11,11 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepGeom_CompositeCurve.ixx>
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepGeom_CompositeCurve.hxx>
|
||||
#include <StepGeom_CompositeCurveSegment.hxx>
|
||||
#include <TCollection_HAsciiString.hxx>
|
||||
|
||||
StepGeom_CompositeCurve::StepGeom_CompositeCurve () {}
|
||||
|
||||
|
85
src/StepGeom/StepGeom_CompositeCurve.hxx
Normal file
85
src/StepGeom/StepGeom_CompositeCurve.hxx
Normal file
@@ -0,0 +1,85 @@
|
||||
// Created on: 1995-12-01
|
||||
// Created by: EXPRESS->CDL V0.2 Translator
|
||||
// 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 _StepGeom_CompositeCurve_HeaderFile
|
||||
#define _StepGeom_CompositeCurve_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <StepGeom_HArray1OfCompositeCurveSegment.hxx>
|
||||
#include <StepData_Logical.hxx>
|
||||
#include <StepGeom_BoundedCurve.hxx>
|
||||
#include <Standard_Integer.hxx>
|
||||
class TCollection_HAsciiString;
|
||||
class StepGeom_CompositeCurveSegment;
|
||||
|
||||
|
||||
class StepGeom_CompositeCurve;
|
||||
DEFINE_STANDARD_HANDLE(StepGeom_CompositeCurve, StepGeom_BoundedCurve)
|
||||
|
||||
|
||||
class StepGeom_CompositeCurve : public StepGeom_BoundedCurve
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
|
||||
//! Returns a CompositeCurve
|
||||
Standard_EXPORT StepGeom_CompositeCurve();
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName) Standard_OVERRIDE;
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName, const Handle(StepGeom_HArray1OfCompositeCurveSegment)& aSegments, const StepData_Logical aSelfIntersect);
|
||||
|
||||
Standard_EXPORT void SetSegments (const Handle(StepGeom_HArray1OfCompositeCurveSegment)& aSegments);
|
||||
|
||||
Standard_EXPORT Handle(StepGeom_HArray1OfCompositeCurveSegment) Segments() const;
|
||||
|
||||
Standard_EXPORT Handle(StepGeom_CompositeCurveSegment) SegmentsValue (const Standard_Integer num) const;
|
||||
|
||||
Standard_EXPORT Standard_Integer NbSegments() const;
|
||||
|
||||
Standard_EXPORT void SetSelfIntersect (const StepData_Logical aSelfIntersect);
|
||||
|
||||
Standard_EXPORT StepData_Logical SelfIntersect() const;
|
||||
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepGeom_CompositeCurve,StepGeom_BoundedCurve)
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Handle(StepGeom_HArray1OfCompositeCurveSegment) segments;
|
||||
StepData_Logical selfIntersect;
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepGeom_CompositeCurve_HeaderFile
|
@@ -1,32 +0,0 @@
|
||||
-- Created on: 1995-12-01
|
||||
-- Created by: EXPRESS->CDL V0.2 Translator
|
||||
-- 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 CompositeCurveOnSurface from StepGeom
|
||||
|
||||
inherits CompositeCurve from StepGeom
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection,
|
||||
HArray1OfCompositeCurveSegment from StepGeom,
|
||||
Logical from StepData
|
||||
is
|
||||
|
||||
Create returns CompositeCurveOnSurface;
|
||||
---Purpose: Returns a CompositeCurveOnSurface
|
||||
|
||||
|
||||
end CompositeCurveOnSurface;
|
@@ -11,8 +11,9 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepGeom_CompositeCurveOnSurface.ixx>
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepGeom_CompositeCurveOnSurface.hxx>
|
||||
|
||||
StepGeom_CompositeCurveOnSurface::StepGeom_CompositeCurveOnSurface () {}
|
||||
|
||||
|
62
src/StepGeom/StepGeom_CompositeCurveOnSurface.hxx
Normal file
62
src/StepGeom/StepGeom_CompositeCurveOnSurface.hxx
Normal file
@@ -0,0 +1,62 @@
|
||||
// Created on: 1995-12-01
|
||||
// Created by: EXPRESS->CDL V0.2 Translator
|
||||
// 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 _StepGeom_CompositeCurveOnSurface_HeaderFile
|
||||
#define _StepGeom_CompositeCurveOnSurface_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <StepGeom_CompositeCurve.hxx>
|
||||
|
||||
|
||||
class StepGeom_CompositeCurveOnSurface;
|
||||
DEFINE_STANDARD_HANDLE(StepGeom_CompositeCurveOnSurface, StepGeom_CompositeCurve)
|
||||
|
||||
|
||||
class StepGeom_CompositeCurveOnSurface : public StepGeom_CompositeCurve
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
|
||||
//! Returns a CompositeCurveOnSurface
|
||||
Standard_EXPORT StepGeom_CompositeCurveOnSurface();
|
||||
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepGeom_CompositeCurveOnSurface,StepGeom_CompositeCurve)
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepGeom_CompositeCurveOnSurface_HeaderFile
|
@@ -1,51 +0,0 @@
|
||||
-- Created on: 1995-12-01
|
||||
-- Created by: EXPRESS->CDL V0.2 Translator
|
||||
-- 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 CompositeCurveSegment from StepGeom
|
||||
|
||||
inherits TShared from MMgt
|
||||
|
||||
uses
|
||||
|
||||
TransitionCode from StepGeom,
|
||||
Boolean from Standard,
|
||||
Curve from StepGeom
|
||||
is
|
||||
|
||||
Create returns CompositeCurveSegment;
|
||||
---Purpose: Returns a CompositeCurveSegment
|
||||
|
||||
Init (me : mutable;
|
||||
aTransition : TransitionCode from StepGeom;
|
||||
aSameSense : Boolean from Standard;
|
||||
aParentCurve : Curve from StepGeom) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetTransition(me : mutable; aTransition : TransitionCode);
|
||||
Transition (me) returns TransitionCode;
|
||||
SetSameSense(me : mutable; aSameSense : Boolean);
|
||||
SameSense (me) returns Boolean;
|
||||
SetParentCurve(me : mutable; aParentCurve : Curve);
|
||||
ParentCurve (me) returns Curve;
|
||||
|
||||
fields
|
||||
|
||||
transition : TransitionCode from StepGeom; -- an Enumeration
|
||||
sameSense : Boolean from Standard;
|
||||
parentCurve : Curve from StepGeom;
|
||||
|
||||
end CompositeCurveSegment;
|
@@ -11,8 +11,10 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepGeom_CompositeCurveSegment.ixx>
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepGeom_CompositeCurveSegment.hxx>
|
||||
#include <StepGeom_Curve.hxx>
|
||||
|
||||
StepGeom_CompositeCurveSegment::StepGeom_CompositeCurveSegment () {}
|
||||
|
||||
|
82
src/StepGeom/StepGeom_CompositeCurveSegment.hxx
Normal file
82
src/StepGeom/StepGeom_CompositeCurveSegment.hxx
Normal file
@@ -0,0 +1,82 @@
|
||||
// Created on: 1995-12-01
|
||||
// Created by: EXPRESS->CDL V0.2 Translator
|
||||
// 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 _StepGeom_CompositeCurveSegment_HeaderFile
|
||||
#define _StepGeom_CompositeCurveSegment_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <StepGeom_TransitionCode.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
class StepGeom_Curve;
|
||||
|
||||
|
||||
class StepGeom_CompositeCurveSegment;
|
||||
DEFINE_STANDARD_HANDLE(StepGeom_CompositeCurveSegment, MMgt_TShared)
|
||||
|
||||
|
||||
class StepGeom_CompositeCurveSegment : public MMgt_TShared
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
|
||||
//! Returns a CompositeCurveSegment
|
||||
Standard_EXPORT StepGeom_CompositeCurveSegment();
|
||||
|
||||
Standard_EXPORT virtual void Init (const StepGeom_TransitionCode aTransition, const Standard_Boolean aSameSense, const Handle(StepGeom_Curve)& aParentCurve);
|
||||
|
||||
Standard_EXPORT void SetTransition (const StepGeom_TransitionCode aTransition);
|
||||
|
||||
Standard_EXPORT StepGeom_TransitionCode Transition() const;
|
||||
|
||||
Standard_EXPORT void SetSameSense (const Standard_Boolean aSameSense);
|
||||
|
||||
Standard_EXPORT Standard_Boolean SameSense() const;
|
||||
|
||||
Standard_EXPORT void SetParentCurve (const Handle(StepGeom_Curve)& aParentCurve);
|
||||
|
||||
Standard_EXPORT Handle(StepGeom_Curve) ParentCurve() const;
|
||||
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepGeom_CompositeCurveSegment,MMgt_TShared)
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
StepGeom_TransitionCode transition;
|
||||
Standard_Boolean sameSense;
|
||||
Handle(StepGeom_Curve) parentCurve;
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepGeom_CompositeCurveSegment_HeaderFile
|
@@ -1,47 +0,0 @@
|
||||
-- Created on: 1995-12-01
|
||||
-- Created by: EXPRESS->CDL V0.2 Translator
|
||||
-- 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 Conic from StepGeom
|
||||
|
||||
inherits Curve from StepGeom
|
||||
|
||||
uses
|
||||
|
||||
Axis2Placement from StepGeom,
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns Conic;
|
||||
---Purpose: Returns a Conic
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection;
|
||||
aPosition : Axis2Placement from StepGeom) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetPosition(me : mutable; aPosition : Axis2Placement);
|
||||
Position (me) returns Axis2Placement;
|
||||
|
||||
fields
|
||||
|
||||
position : Axis2Placement from StepGeom; -- a SelectType
|
||||
|
||||
end Conic;
|
@@ -11,8 +11,11 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepGeom_Conic.ixx>
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepGeom_Axis2Placement.hxx>
|
||||
#include <StepGeom_Conic.hxx>
|
||||
#include <TCollection_HAsciiString.hxx>
|
||||
|
||||
StepGeom_Conic::StepGeom_Conic () {}
|
||||
|
||||
|
74
src/StepGeom/StepGeom_Conic.hxx
Normal file
74
src/StepGeom/StepGeom_Conic.hxx
Normal file
@@ -0,0 +1,74 @@
|
||||
// Created on: 1995-12-01
|
||||
// Created by: EXPRESS->CDL V0.2 Translator
|
||||
// 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 _StepGeom_Conic_HeaderFile
|
||||
#define _StepGeom_Conic_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <StepGeom_Axis2Placement.hxx>
|
||||
#include <StepGeom_Curve.hxx>
|
||||
class TCollection_HAsciiString;
|
||||
class StepGeom_Axis2Placement;
|
||||
|
||||
|
||||
class StepGeom_Conic;
|
||||
DEFINE_STANDARD_HANDLE(StepGeom_Conic, StepGeom_Curve)
|
||||
|
||||
|
||||
class StepGeom_Conic : public StepGeom_Curve
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
|
||||
//! Returns a Conic
|
||||
Standard_EXPORT StepGeom_Conic();
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName) Standard_OVERRIDE;
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName, const StepGeom_Axis2Placement& aPosition);
|
||||
|
||||
Standard_EXPORT void SetPosition (const StepGeom_Axis2Placement& aPosition);
|
||||
|
||||
Standard_EXPORT StepGeom_Axis2Placement Position() const;
|
||||
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepGeom_Conic,StepGeom_Curve)
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
StepGeom_Axis2Placement position;
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepGeom_Conic_HeaderFile
|
@@ -1,54 +0,0 @@
|
||||
-- Created on: 1995-12-01
|
||||
-- Created by: EXPRESS->CDL V0.2 Translator
|
||||
-- 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 ConicalSurface from StepGeom
|
||||
|
||||
inherits ElementarySurface from StepGeom
|
||||
|
||||
uses
|
||||
|
||||
Real from Standard,
|
||||
HAsciiString from TCollection,
|
||||
Axis2Placement3d from StepGeom
|
||||
is
|
||||
|
||||
Create returns ConicalSurface;
|
||||
---Purpose: Returns a ConicalSurface
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection;
|
||||
aPosition : Axis2Placement3d from StepGeom) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection;
|
||||
aPosition : Axis2Placement3d from StepGeom;
|
||||
aRadius : Real from Standard;
|
||||
aSemiAngle : Real from Standard) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetRadius(me : mutable; aRadius : Real);
|
||||
Radius (me) returns Real;
|
||||
SetSemiAngle(me : mutable; aSemiAngle : Real);
|
||||
SemiAngle (me) returns Real;
|
||||
|
||||
fields
|
||||
|
||||
radius : Real from Standard;
|
||||
semiAngle : Real from Standard;
|
||||
|
||||
end ConicalSurface;
|
@@ -11,8 +11,11 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepGeom_ConicalSurface.ixx>
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepGeom_Axis2Placement3d.hxx>
|
||||
#include <StepGeom_ConicalSurface.hxx>
|
||||
#include <TCollection_HAsciiString.hxx>
|
||||
|
||||
StepGeom_ConicalSurface::StepGeom_ConicalSurface () {}
|
||||
|
||||
|
79
src/StepGeom/StepGeom_ConicalSurface.hxx
Normal file
79
src/StepGeom/StepGeom_ConicalSurface.hxx
Normal file
@@ -0,0 +1,79 @@
|
||||
// Created on: 1995-12-01
|
||||
// Created by: EXPRESS->CDL V0.2 Translator
|
||||
// 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 _StepGeom_ConicalSurface_HeaderFile
|
||||
#define _StepGeom_ConicalSurface_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <Standard_Real.hxx>
|
||||
#include <StepGeom_ElementarySurface.hxx>
|
||||
class TCollection_HAsciiString;
|
||||
class StepGeom_Axis2Placement3d;
|
||||
|
||||
|
||||
class StepGeom_ConicalSurface;
|
||||
DEFINE_STANDARD_HANDLE(StepGeom_ConicalSurface, StepGeom_ElementarySurface)
|
||||
|
||||
|
||||
class StepGeom_ConicalSurface : public StepGeom_ElementarySurface
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
|
||||
//! Returns a ConicalSurface
|
||||
Standard_EXPORT StepGeom_ConicalSurface();
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName, const Handle(StepGeom_Axis2Placement3d)& aPosition) Standard_OVERRIDE;
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName, const Handle(StepGeom_Axis2Placement3d)& aPosition, const Standard_Real aRadius, const Standard_Real aSemiAngle);
|
||||
|
||||
Standard_EXPORT void SetRadius (const Standard_Real aRadius);
|
||||
|
||||
Standard_EXPORT Standard_Real Radius() const;
|
||||
|
||||
Standard_EXPORT void SetSemiAngle (const Standard_Real aSemiAngle);
|
||||
|
||||
Standard_EXPORT Standard_Real SemiAngle() const;
|
||||
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepGeom_ConicalSurface,StepGeom_ElementarySurface)
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Standard_Real radius;
|
||||
Standard_Real semiAngle;
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepGeom_ConicalSurface_HeaderFile
|
@@ -1,30 +0,0 @@
|
||||
-- Created on: 1995-12-01
|
||||
-- Created by: EXPRESS->CDL V0.2 Translator
|
||||
-- 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 Curve from StepGeom
|
||||
|
||||
inherits GeometricRepresentationItem from StepGeom
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns Curve;
|
||||
---Purpose: Returns a Curve
|
||||
|
||||
|
||||
end Curve;
|
@@ -11,8 +11,9 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepGeom_Curve.ixx>
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepGeom_Curve.hxx>
|
||||
|
||||
StepGeom_Curve::StepGeom_Curve () {}
|
||||
|
||||
|
62
src/StepGeom/StepGeom_Curve.hxx
Normal file
62
src/StepGeom/StepGeom_Curve.hxx
Normal file
@@ -0,0 +1,62 @@
|
||||
// Created on: 1995-12-01
|
||||
// Created by: EXPRESS->CDL V0.2 Translator
|
||||
// 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 _StepGeom_Curve_HeaderFile
|
||||
#define _StepGeom_Curve_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <StepGeom_GeometricRepresentationItem.hxx>
|
||||
|
||||
|
||||
class StepGeom_Curve;
|
||||
DEFINE_STANDARD_HANDLE(StepGeom_Curve, StepGeom_GeometricRepresentationItem)
|
||||
|
||||
|
||||
class StepGeom_Curve : public StepGeom_GeometricRepresentationItem
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
|
||||
//! Returns a Curve
|
||||
Standard_EXPORT StepGeom_Curve();
|
||||
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepGeom_Curve,StepGeom_GeometricRepresentationItem)
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepGeom_Curve_HeaderFile
|
@@ -1,59 +0,0 @@
|
||||
-- Created on: 1999-11-26
|
||||
-- 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.
|
||||
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
|
||||
class CurveBoundedSurface from StepGeom
|
||||
inherits BoundedSurface from StepGeom
|
||||
|
||||
---Purpose: Representation of STEP entity CurveBoundedSurface
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection,
|
||||
Surface from StepGeom,
|
||||
HArray1OfSurfaceBoundary from StepGeom
|
||||
|
||||
is
|
||||
Create returns CurveBoundedSurface from StepGeom;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aRepresentationItem_Name: HAsciiString from TCollection;
|
||||
aBasisSurface: Surface from StepGeom;
|
||||
aBoundaries: HArray1OfSurfaceBoundary from StepGeom;
|
||||
aImplicitOuter: Boolean);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
BasisSurface (me) returns Surface from StepGeom;
|
||||
---Purpose: Returns field BasisSurface
|
||||
SetBasisSurface (me: mutable; BasisSurface: Surface from StepGeom);
|
||||
---Purpose: Set field BasisSurface
|
||||
|
||||
Boundaries (me) returns HArray1OfSurfaceBoundary from StepGeom;
|
||||
---Purpose: Returns field Boundaries
|
||||
SetBoundaries (me: mutable; Boundaries: HArray1OfSurfaceBoundary from StepGeom);
|
||||
---Purpose: Set field Boundaries
|
||||
|
||||
ImplicitOuter (me) returns Boolean;
|
||||
---Purpose: Returns field ImplicitOuter
|
||||
SetImplicitOuter (me: mutable; ImplicitOuter: Boolean);
|
||||
---Purpose: Set field ImplicitOuter
|
||||
|
||||
fields
|
||||
theBasisSurface: Surface from StepGeom;
|
||||
theBoundaries: HArray1OfSurfaceBoundary from StepGeom;
|
||||
theImplicitOuter: Boolean;
|
||||
|
||||
end CurveBoundedSurface;
|
@@ -16,13 +16,15 @@
|
||||
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
|
||||
#include <StepGeom_CurveBoundedSurface.ixx>
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepGeom_CurveBoundedSurface.hxx>
|
||||
#include <StepGeom_Surface.hxx>
|
||||
#include <TCollection_HAsciiString.hxx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepGeom_CurveBoundedSurface
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepGeom_CurveBoundedSurface::StepGeom_CurveBoundedSurface ()
|
||||
{
|
||||
}
|
||||
|
90
src/StepGeom/StepGeom_CurveBoundedSurface.hxx
Normal file
90
src/StepGeom/StepGeom_CurveBoundedSurface.hxx
Normal file
@@ -0,0 +1,90 @@
|
||||
// Created on: 1999-11-26
|
||||
// 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 _StepGeom_CurveBoundedSurface_HeaderFile
|
||||
#define _StepGeom_CurveBoundedSurface_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <StepGeom_HArray1OfSurfaceBoundary.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <StepGeom_BoundedSurface.hxx>
|
||||
class StepGeom_Surface;
|
||||
class TCollection_HAsciiString;
|
||||
|
||||
|
||||
class StepGeom_CurveBoundedSurface;
|
||||
DEFINE_STANDARD_HANDLE(StepGeom_CurveBoundedSurface, StepGeom_BoundedSurface)
|
||||
|
||||
//! Representation of STEP entity CurveBoundedSurface
|
||||
class StepGeom_CurveBoundedSurface : public StepGeom_BoundedSurface
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
|
||||
//! Empty constructor
|
||||
Standard_EXPORT StepGeom_CurveBoundedSurface();
|
||||
|
||||
//! Initialize all fields (own and inherited)
|
||||
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aRepresentationItem_Name, const Handle(StepGeom_Surface)& aBasisSurface, const Handle(StepGeom_HArray1OfSurfaceBoundary)& aBoundaries, const Standard_Boolean aImplicitOuter);
|
||||
|
||||
//! Returns field BasisSurface
|
||||
Standard_EXPORT Handle(StepGeom_Surface) BasisSurface() const;
|
||||
|
||||
//! Set field BasisSurface
|
||||
Standard_EXPORT void SetBasisSurface (const Handle(StepGeom_Surface)& BasisSurface);
|
||||
|
||||
//! Returns field Boundaries
|
||||
Standard_EXPORT Handle(StepGeom_HArray1OfSurfaceBoundary) Boundaries() const;
|
||||
|
||||
//! Set field Boundaries
|
||||
Standard_EXPORT void SetBoundaries (const Handle(StepGeom_HArray1OfSurfaceBoundary)& Boundaries);
|
||||
|
||||
//! Returns field ImplicitOuter
|
||||
Standard_EXPORT Standard_Boolean ImplicitOuter() const;
|
||||
|
||||
//! Set field ImplicitOuter
|
||||
Standard_EXPORT void SetImplicitOuter (const Standard_Boolean ImplicitOuter);
|
||||
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepGeom_CurveBoundedSurface,StepGeom_BoundedSurface)
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Handle(StepGeom_Surface) theBasisSurface;
|
||||
Handle(StepGeom_HArray1OfSurfaceBoundary) theBoundaries;
|
||||
Standard_Boolean theImplicitOuter;
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepGeom_CurveBoundedSurface_HeaderFile
|
@@ -1,50 +0,0 @@
|
||||
-- Created on: 1995-12-01
|
||||
-- Created by: EXPRESS->CDL V0.2 Translator
|
||||
-- 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 CurveOnSurface from StepGeom inherits SelectType from StepData
|
||||
|
||||
-- <CurveOnSurface> is an EXPRESS Select Type construct translation.
|
||||
-- it gathers : Pcurve, SurfaceCurve, CompositeCurveOnSurface
|
||||
|
||||
uses
|
||||
|
||||
Pcurve,
|
||||
SurfaceCurve,
|
||||
CompositeCurveOnSurface
|
||||
is
|
||||
|
||||
Create returns CurveOnSurface;
|
||||
---Purpose : Returns a CurveOnSurface SelectType
|
||||
|
||||
CaseNum (me; ent : Transient) returns Integer;
|
||||
---Purpose: Recognizes a CurveOnSurface Kind Entity that is :
|
||||
-- 1 -> Pcurve
|
||||
-- 2 -> SurfaceCurve
|
||||
-- 3 -> CompositeCurveOnSurface
|
||||
-- 0 else
|
||||
|
||||
Pcurve (me) returns any Pcurve;
|
||||
---Purpose : returns Value as a Pcurve (Null if another type)
|
||||
|
||||
SurfaceCurve (me) returns any SurfaceCurve;
|
||||
---Purpose : returns Value as a SurfaceCurve (Null if another type)
|
||||
|
||||
CompositeCurveOnSurface (me) returns any CompositeCurveOnSurface;
|
||||
---Purpose : returns Value as a CompositeCurveOnSurface (Null if another type)
|
||||
|
||||
|
||||
end CurveOnSurface;
|
||||
|
@@ -11,11 +11,13 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepGeom_CurveOnSurface.ixx>
|
||||
|
||||
#include <Interface_Macros.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <StepGeom_CompositeCurveOnSurface.hxx>
|
||||
#include <StepGeom_CurveOnSurface.hxx>
|
||||
#include <StepGeom_Pcurve.hxx>
|
||||
#include <StepGeom_SurfaceCurve.hxx>
|
||||
#include <StepGeom_CompositeCurveOnSurface.hxx>
|
||||
|
||||
StepGeom_CurveOnSurface::StepGeom_CurveOnSurface () { }
|
||||
|
||||
|
82
src/StepGeom/StepGeom_CurveOnSurface.hxx
Normal file
82
src/StepGeom/StepGeom_CurveOnSurface.hxx
Normal file
@@ -0,0 +1,82 @@
|
||||
// Created on: 1995-12-01
|
||||
// Created by: EXPRESS->CDL V0.2 Translator
|
||||
// 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 _StepGeom_CurveOnSurface_HeaderFile
|
||||
#define _StepGeom_CurveOnSurface_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_DefineAlloc.hxx>
|
||||
#include <Standard_Handle.hxx>
|
||||
|
||||
#include <StepData_SelectType.hxx>
|
||||
#include <Standard_Integer.hxx>
|
||||
class Standard_Transient;
|
||||
class StepGeom_Pcurve;
|
||||
class StepGeom_SurfaceCurve;
|
||||
class StepGeom_CompositeCurveOnSurface;
|
||||
|
||||
|
||||
|
||||
class StepGeom_CurveOnSurface : public StepData_SelectType
|
||||
{
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
//! Returns a CurveOnSurface SelectType
|
||||
Standard_EXPORT StepGeom_CurveOnSurface();
|
||||
|
||||
//! Recognizes a CurveOnSurface Kind Entity that is :
|
||||
//! 1 -> Pcurve
|
||||
//! 2 -> SurfaceCurve
|
||||
//! 3 -> CompositeCurveOnSurface
|
||||
//! 0 else
|
||||
Standard_EXPORT Standard_Integer CaseNum (const Handle(Standard_Transient)& ent) const;
|
||||
|
||||
//! returns Value as a Pcurve (Null if another type)
|
||||
Standard_EXPORT Handle(StepGeom_Pcurve) Pcurve() const;
|
||||
|
||||
//! returns Value as a SurfaceCurve (Null if another type)
|
||||
Standard_EXPORT Handle(StepGeom_SurfaceCurve) SurfaceCurve() const;
|
||||
|
||||
//! returns Value as a CompositeCurveOnSurface (Null if another type)
|
||||
Standard_EXPORT Handle(StepGeom_CompositeCurveOnSurface) CompositeCurveOnSurface() const;
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepGeom_CurveOnSurface_HeaderFile
|
@@ -1,51 +0,0 @@
|
||||
-- Created on: 1995-12-01
|
||||
-- Created by: EXPRESS->CDL V0.2 Translator
|
||||
-- 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 CurveReplica from StepGeom
|
||||
|
||||
inherits Curve from StepGeom
|
||||
|
||||
uses
|
||||
|
||||
CartesianTransformationOperator from StepGeom,
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns CurveReplica;
|
||||
---Purpose: Returns a CurveReplica
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection;
|
||||
aParentCurve : Curve from StepGeom;
|
||||
aTransformation : CartesianTransformationOperator from StepGeom) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetParentCurve(me : mutable; aParentCurve : Curve);
|
||||
ParentCurve (me) returns Curve;
|
||||
SetTransformation(me : mutable; aTransformation : CartesianTransformationOperator);
|
||||
Transformation (me) returns CartesianTransformationOperator;
|
||||
|
||||
fields
|
||||
|
||||
parentCurve : Curve from StepGeom;
|
||||
transformation : CartesianTransformationOperator from StepGeom;
|
||||
|
||||
end CurveReplica;
|
@@ -11,8 +11,12 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepGeom_CurveReplica.ixx>
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepGeom_CartesianTransformationOperator.hxx>
|
||||
#include <StepGeom_Curve.hxx>
|
||||
#include <StepGeom_CurveReplica.hxx>
|
||||
#include <TCollection_HAsciiString.hxx>
|
||||
|
||||
StepGeom_CurveReplica::StepGeom_CurveReplica () {}
|
||||
|
||||
|
79
src/StepGeom/StepGeom_CurveReplica.hxx
Normal file
79
src/StepGeom/StepGeom_CurveReplica.hxx
Normal file
@@ -0,0 +1,79 @@
|
||||
// Created on: 1995-12-01
|
||||
// Created by: EXPRESS->CDL V0.2 Translator
|
||||
// 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 _StepGeom_CurveReplica_HeaderFile
|
||||
#define _StepGeom_CurveReplica_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <StepGeom_Curve.hxx>
|
||||
class StepGeom_Curve;
|
||||
class StepGeom_CartesianTransformationOperator;
|
||||
class TCollection_HAsciiString;
|
||||
|
||||
|
||||
class StepGeom_CurveReplica;
|
||||
DEFINE_STANDARD_HANDLE(StepGeom_CurveReplica, StepGeom_Curve)
|
||||
|
||||
|
||||
class StepGeom_CurveReplica : public StepGeom_Curve
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
|
||||
//! Returns a CurveReplica
|
||||
Standard_EXPORT StepGeom_CurveReplica();
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName) Standard_OVERRIDE;
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName, const Handle(StepGeom_Curve)& aParentCurve, const Handle(StepGeom_CartesianTransformationOperator)& aTransformation);
|
||||
|
||||
Standard_EXPORT void SetParentCurve (const Handle(StepGeom_Curve)& aParentCurve);
|
||||
|
||||
Standard_EXPORT Handle(StepGeom_Curve) ParentCurve() const;
|
||||
|
||||
Standard_EXPORT void SetTransformation (const Handle(StepGeom_CartesianTransformationOperator)& aTransformation);
|
||||
|
||||
Standard_EXPORT Handle(StepGeom_CartesianTransformationOperator) Transformation() const;
|
||||
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepGeom_CurveReplica,StepGeom_Curve)
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Handle(StepGeom_Curve) parentCurve;
|
||||
Handle(StepGeom_CartesianTransformationOperator) transformation;
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepGeom_CurveReplica_HeaderFile
|
@@ -1,50 +0,0 @@
|
||||
-- Created on: 1995-12-01
|
||||
-- Created by: EXPRESS->CDL V0.2 Translator
|
||||
-- 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 CylindricalSurface from StepGeom
|
||||
|
||||
inherits ElementarySurface from StepGeom
|
||||
|
||||
uses
|
||||
|
||||
Real from Standard,
|
||||
HAsciiString from TCollection,
|
||||
Axis2Placement3d from StepGeom
|
||||
is
|
||||
|
||||
Create returns CylindricalSurface;
|
||||
---Purpose: Returns a CylindricalSurface
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection;
|
||||
aPosition : Axis2Placement3d from StepGeom) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection;
|
||||
aPosition : Axis2Placement3d from StepGeom;
|
||||
aRadius : Real from Standard) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetRadius(me : mutable; aRadius : Real);
|
||||
Radius (me) returns Real;
|
||||
|
||||
fields
|
||||
|
||||
radius : Real from Standard;
|
||||
|
||||
end CylindricalSurface;
|
@@ -11,8 +11,11 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepGeom_CylindricalSurface.ixx>
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepGeom_Axis2Placement3d.hxx>
|
||||
#include <StepGeom_CylindricalSurface.hxx>
|
||||
#include <TCollection_HAsciiString.hxx>
|
||||
|
||||
StepGeom_CylindricalSurface::StepGeom_CylindricalSurface () {}
|
||||
|
||||
|
74
src/StepGeom/StepGeom_CylindricalSurface.hxx
Normal file
74
src/StepGeom/StepGeom_CylindricalSurface.hxx
Normal file
@@ -0,0 +1,74 @@
|
||||
// Created on: 1995-12-01
|
||||
// Created by: EXPRESS->CDL V0.2 Translator
|
||||
// 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 _StepGeom_CylindricalSurface_HeaderFile
|
||||
#define _StepGeom_CylindricalSurface_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <Standard_Real.hxx>
|
||||
#include <StepGeom_ElementarySurface.hxx>
|
||||
class TCollection_HAsciiString;
|
||||
class StepGeom_Axis2Placement3d;
|
||||
|
||||
|
||||
class StepGeom_CylindricalSurface;
|
||||
DEFINE_STANDARD_HANDLE(StepGeom_CylindricalSurface, StepGeom_ElementarySurface)
|
||||
|
||||
|
||||
class StepGeom_CylindricalSurface : public StepGeom_ElementarySurface
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
|
||||
//! Returns a CylindricalSurface
|
||||
Standard_EXPORT StepGeom_CylindricalSurface();
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName, const Handle(StepGeom_Axis2Placement3d)& aPosition) Standard_OVERRIDE;
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName, const Handle(StepGeom_Axis2Placement3d)& aPosition, const Standard_Real aRadius);
|
||||
|
||||
Standard_EXPORT void SetRadius (const Standard_Real aRadius);
|
||||
|
||||
Standard_EXPORT Standard_Real Radius() const;
|
||||
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepGeom_CylindricalSurface,StepGeom_ElementarySurface)
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Standard_Real radius;
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepGeom_CylindricalSurface_HeaderFile
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user