mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
Integration of OCCT 6.5.0 from SVN
This commit is contained in:
247
src/StepShape/StepShape.cdl
Executable file
247
src/StepShape/StepShape.cdl
Executable file
@@ -0,0 +1,247 @@
|
||||
-- File: StepShape.cdl
|
||||
-- Created: Fri Dec 1 11:11:09 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
|
||||
|
||||
package StepShape
|
||||
|
||||
---Purpose: Collects definitions of STEP topological entities
|
||||
-- from Part 42 of ISO10303 (topology_schema)
|
||||
|
||||
uses
|
||||
|
||||
|
||||
TCollection, TColStd, StepData, Interface, MMgt,
|
||||
StepBasic, StepRepr, StepGeom
|
||||
|
||||
is
|
||||
|
||||
|
||||
|
||||
enumeration BooleanOperator is
|
||||
|
||||
boDifference,
|
||||
boIntersection,
|
||||
boUnion
|
||||
end;
|
||||
|
||||
|
||||
class BooleanOperand; -- Select Type for
|
||||
|
||||
-- SolidModel
|
||||
-- HalfSpaceSolid
|
||||
-- CsgPrimitive
|
||||
-- BooleanResult
|
||||
|
||||
|
||||
class CsgPrimitive; -- Select Type for
|
||||
|
||||
-- Sphere
|
||||
-- Block
|
||||
-- RightAngularWedge
|
||||
-- Torus
|
||||
-- RightCircularCone
|
||||
-- RightCircularCylinder
|
||||
|
||||
|
||||
class CsgSelect; -- Select Type for
|
||||
|
||||
-- BooleanResult
|
||||
-- CsgPrimitive
|
||||
|
||||
class GeometricSetSelect; -- Select Type for
|
||||
|
||||
-- Point
|
||||
-- Curve
|
||||
-- Surface
|
||||
|
||||
|
||||
class ReversibleTopologyItem; -- Select Type for
|
||||
|
||||
-- Edge
|
||||
-- Path
|
||||
-- Face
|
||||
-- FaceBound
|
||||
-- ClosedShell
|
||||
-- OpenShell
|
||||
|
||||
|
||||
class Shell; -- Select Type for
|
||||
|
||||
-- OpenShell
|
||||
-- ClosedShell
|
||||
|
||||
|
||||
class SurfaceModel; -- Select Type for
|
||||
|
||||
-- ShellBasedSurfaceModel
|
||||
-- FaceBasedSurfaceModel
|
||||
|
||||
|
||||
--class Protocol;
|
||||
|
||||
|
||||
class BoxDomain;
|
||||
--class PropertyDefinitionRepresentation;
|
||||
class ShapeDefinitionRepresentation;
|
||||
--class Representation;
|
||||
class ShapeRepresentation;
|
||||
class AdvancedBrepShapeRepresentation;
|
||||
class CsgShapeRepresentation;
|
||||
class FacetedBrepShapeRepresentation;
|
||||
class GeometricallyBoundedSurfaceShapeRepresentation;
|
||||
class GeometricallyBoundedWireframeShapeRepresentation;
|
||||
class ManifoldSurfaceShapeRepresentation;
|
||||
class NonManifoldSurfaceShapeRepresentation;
|
||||
class TransitionalShapeRepresentation;
|
||||
class CompoundShapeRepresentation;
|
||||
class EdgeBasedWireframeShapeRepresentation;
|
||||
class ConnectedFaceShapeRepresentation;
|
||||
--class RepresentationItem;
|
||||
-- class GeometricRepresentationItem;
|
||||
class Block;
|
||||
class BooleanResult;
|
||||
class GeometricSet;
|
||||
class GeometricCurveSet;
|
||||
class HalfSpaceSolid;
|
||||
class BoxedHalfSpace;
|
||||
class ConnectedEdgeSet;
|
||||
-- Removed from Rev2 to Rev4 : class OneDirectionRepeatFactor;
|
||||
-- Removed from Rev2 to Rev4 : class TwoDirectionRepeatFactor;
|
||||
class RightAngularWedge;
|
||||
class RightCircularCone;
|
||||
class RightCircularCylinder;
|
||||
class ShellBasedSurfaceModel;
|
||||
class EdgeBasedWireframeModel;
|
||||
class FaceBasedSurfaceModel;
|
||||
class SolidModel;
|
||||
class CsgSolid;
|
||||
class ManifoldSolidBrep;
|
||||
class BrepWithVoids;
|
||||
class FacetedBrep;
|
||||
class FacetedBrepAndBrepWithVoids;
|
||||
-- Added by FMA (oublie ANDOR dans SCHEMA)
|
||||
class SolidReplica;
|
||||
class SweptAreaSolid;
|
||||
class ExtrudedAreaSolid;
|
||||
class RevolvedAreaSolid;
|
||||
|
||||
--Added from CC2 to DIS
|
||||
|
||||
class SweptFaceSolid;
|
||||
class ExtrudedFaceSolid;
|
||||
class RevolvedFaceSolid;
|
||||
class Sphere;
|
||||
class Torus;
|
||||
class DefinitionalRepresentationAndShapeRepresentation; -- abv CAX-IF TRJ4 k1_geo-ac
|
||||
class TopologicalRepresentationItem;
|
||||
class ConnectedFaceSet;
|
||||
class ClosedShell;
|
||||
class OrientedClosedShell;
|
||||
class OpenShell;
|
||||
class OrientedOpenShell;
|
||||
class ConnectedFaceSubSet;-- Added from AP214 DIS to IS 4.01.2002
|
||||
class Edge;
|
||||
class EdgeCurve;
|
||||
class OrientedEdge;
|
||||
class Subedge;-- Added from AP214 DIS to IS 4.01.2002
|
||||
class SeamEdge;-- Added from AP214 DIS to IS 4.01.2002
|
||||
class Face;
|
||||
class FaceSurface;
|
||||
class AdvancedFace;
|
||||
class OrientedFace;
|
||||
class Subface;-- Added from AP214 DIS to IS 4.01.2002
|
||||
class FaceBound;
|
||||
class FaceOuterBound;
|
||||
class Loop;
|
||||
class EdgeLoop;
|
||||
class PolyLoop;
|
||||
class VertexLoop;
|
||||
class Path;
|
||||
class OrientedPath;
|
||||
class Vertex;
|
||||
class VertexPoint;
|
||||
class LoopAndPath;
|
||||
|
||||
-- Added from AP214 CC1 to CC2
|
||||
|
||||
--- added for TR12J (GD&T)
|
||||
class ShapeRepresentationWithParameters; -- inherits ShapeRepresentation
|
||||
|
||||
|
||||
class ContextDependentShapeRepresentation;
|
||||
|
||||
class Array1OfOrientedClosedShell instantiates Array1 from TCollection (OrientedClosedShell);
|
||||
class HArray1OfOrientedClosedShell instantiates HArray1 from TCollection (OrientedClosedShell,Array1OfOrientedClosedShell from StepShape);
|
||||
|
||||
class Array1OfEdge instantiates Array1 from TCollection (Edge);
|
||||
class HArray1OfEdge instantiates HArray1 from TCollection (Edge,Array1OfEdge from StepShape);
|
||||
|
||||
class Array1OfFace instantiates Array1 from TCollection (Face);
|
||||
class HArray1OfFace instantiates HArray1 from TCollection (Face,Array1OfFace from StepShape);
|
||||
|
||||
class Array1OfFaceBound instantiates Array1 from TCollection (FaceBound);
|
||||
class HArray1OfFaceBound instantiates HArray1 from TCollection (FaceBound,Array1OfFaceBound from StepShape);
|
||||
|
||||
class Array1OfConnectedEdgeSet instantiates Array1 from TCollection (ConnectedEdgeSet);
|
||||
class HArray1OfConnectedEdgeSet instantiates HArray1 from TCollection (ConnectedEdgeSet,Array1OfConnectedEdgeSet from StepShape);
|
||||
|
||||
class Array1OfConnectedFaceSet instantiates Array1 from TCollection (ConnectedFaceSet);
|
||||
class HArray1OfConnectedFaceSet instantiates HArray1 from TCollection (ConnectedFaceSet,Array1OfConnectedFaceSet from StepShape);
|
||||
|
||||
class Array1OfGeometricSetSelect instantiates Array1 from TCollection (GeometricSetSelect);
|
||||
class HArray1OfGeometricSetSelect instantiates HArray1 from TCollection (GeometricSetSelect,Array1OfGeometricSetSelect from StepShape);
|
||||
|
||||
class Array1OfOrientedEdge instantiates Array1 from TCollection (OrientedEdge);
|
||||
class HArray1OfOrientedEdge instantiates HArray1 from TCollection (OrientedEdge,Array1OfOrientedEdge from StepShape);
|
||||
|
||||
class Array1OfShell instantiates Array1 from TCollection (Shell);
|
||||
class HArray1OfShell instantiates HArray1 from TCollection (Shell,Array1OfShell from StepShape);
|
||||
|
||||
-- ABV 18 Apr 00: for dimensions and tolerances (Part 47)
|
||||
enumeration AngleRelator is
|
||||
Equal,
|
||||
Large,
|
||||
Small
|
||||
end;
|
||||
class DimensionalCharacteristic;
|
||||
class AngularLocation;
|
||||
class AngularSize;
|
||||
class DimensionalCharacteristicRepresentation;
|
||||
class DimensionalLocation;
|
||||
class DirectedDimensionalLocation;
|
||||
class DimensionalLocationWithPath;
|
||||
class DimensionalSize;
|
||||
class DimensionalSizeWithPath;
|
||||
class ShapeDimensionRepresentation;
|
||||
|
||||
-- CKY 24 Apr 2001 : for dimensions and tolerances , continued (TR7J)
|
||||
class LimitsAndFits;
|
||||
class ToleranceValue;
|
||||
class MeasureQualification;
|
||||
class PlusMinusTolerance;
|
||||
class PrecisionQualifier;
|
||||
class TypeQualifier;
|
||||
|
||||
class ValueQualifier;
|
||||
class ToleranceMethodDefinition;
|
||||
|
||||
class QualifiedRepresentationItem;
|
||||
class MeasureRepresentationItemAndQualifiedRepresentationItem;
|
||||
|
||||
class Array1OfValueQualifier instantiates Array1 from TCollection (ValueQualifier);
|
||||
class HArray1OfValueQualifier instantiates HArray1 from TCollection
|
||||
(ValueQualifier,Array1OfValueQualifier);
|
||||
|
||||
--added for AP209
|
||||
|
||||
class PointRepresentation;
|
||||
|
||||
-- Protocol returns Protocol from StepShape;
|
||||
---Purpose : creates a Protocol
|
||||
|
||||
end StepShape;
|
||||
|
22
src/StepShape/StepShape_AdvancedBrepShapeRepresentation.cdl
Executable file
22
src/StepShape/StepShape_AdvancedBrepShapeRepresentation.cdl
Executable file
@@ -0,0 +1,22 @@
|
||||
-- File: AdvancedBrepShapeRepresentation.cdl
|
||||
-- Created: Fri Dec 1 11:11:12 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class AdvancedBrepShapeRepresentation from StepShape
|
||||
|
||||
inherits ShapeRepresentation from StepShape
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection,
|
||||
HArray1OfRepresentationItem from StepRepr,
|
||||
RepresentationContext from StepRepr
|
||||
is
|
||||
|
||||
Create returns mutable AdvancedBrepShapeRepresentation;
|
||||
---Purpose: Returns a AdvancedBrepShapeRepresentation
|
||||
|
||||
|
||||
end AdvancedBrepShapeRepresentation;
|
5
src/StepShape/StepShape_AdvancedBrepShapeRepresentation.cxx
Executable file
5
src/StepShape/StepShape_AdvancedBrepShapeRepresentation.cxx
Executable file
@@ -0,0 +1,5 @@
|
||||
#include <StepShape_AdvancedBrepShapeRepresentation.ixx>
|
||||
|
||||
|
||||
StepShape_AdvancedBrepShapeRepresentation::StepShape_AdvancedBrepShapeRepresentation () {}
|
||||
|
23
src/StepShape/StepShape_AdvancedFace.cdl
Executable file
23
src/StepShape/StepShape_AdvancedFace.cdl
Executable file
@@ -0,0 +1,23 @@
|
||||
-- File: AdvancedFace.cdl
|
||||
-- Created: Fri Dec 1 11:11:12 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class AdvancedFace from StepShape
|
||||
|
||||
inherits FaceSurface from StepShape
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection,
|
||||
HArray1OfFaceBound from StepShape,
|
||||
Surface from StepGeom,
|
||||
Boolean from Standard
|
||||
is
|
||||
|
||||
Create returns mutable AdvancedFace;
|
||||
---Purpose: Returns a AdvancedFace
|
||||
|
||||
|
||||
end AdvancedFace;
|
5
src/StepShape/StepShape_AdvancedFace.cxx
Executable file
5
src/StepShape/StepShape_AdvancedFace.cxx
Executable file
@@ -0,0 +1,5 @@
|
||||
#include <StepShape_AdvancedFace.ixx>
|
||||
|
||||
|
||||
StepShape_AdvancedFace::StepShape_AdvancedFace () {}
|
||||
|
37
src/StepShape/StepShape_AngularLocation.cdl
Executable file
37
src/StepShape/StepShape_AngularLocation.cdl
Executable file
@@ -0,0 +1,37 @@
|
||||
-- File: StepShape_AngularLocation.cdl
|
||||
-- Created: Tue Apr 18 16:42:57 2000
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class AngularLocation from StepShape
|
||||
inherits DimensionalLocation from StepShape
|
||||
|
||||
---Purpose: Representation of STEP entity AngularLocation
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection,
|
||||
ShapeAspect from StepRepr,
|
||||
AngleRelator from StepShape
|
||||
|
||||
is
|
||||
Create returns AngularLocation from StepShape;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aShapeAspectRelationship_Name: HAsciiString from TCollection;
|
||||
hasShapeAspectRelationship_Description: Boolean;
|
||||
aShapeAspectRelationship_Description: HAsciiString from TCollection;
|
||||
aShapeAspectRelationship_RelatingShapeAspect: ShapeAspect from StepRepr;
|
||||
aShapeAspectRelationship_RelatedShapeAspect: ShapeAspect from StepRepr;
|
||||
aAngleSelection: AngleRelator from StepShape);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
AngleSelection (me) returns AngleRelator from StepShape;
|
||||
---Purpose: Returns field AngleSelection
|
||||
SetAngleSelection (me: mutable; AngleSelection: AngleRelator from StepShape);
|
||||
---Purpose: Set field AngleSelection
|
||||
|
||||
fields
|
||||
theAngleSelection: AngleRelator from StepShape;
|
||||
|
||||
end AngularLocation;
|
57
src/StepShape/StepShape_AngularLocation.cxx
Executable file
57
src/StepShape/StepShape_AngularLocation.cxx
Executable file
@@ -0,0 +1,57 @@
|
||||
// File: StepShape_AngularLocation.cxx
|
||||
// Created: Tue Apr 18 16:42:57 2000
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepShape_AngularLocation.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepShape_AngularLocation
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepShape_AngularLocation::StepShape_AngularLocation ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepShape_AngularLocation::Init (const Handle(TCollection_HAsciiString) &aShapeAspectRelationship_Name,
|
||||
const Standard_Boolean hasShapeAspectRelationship_Description,
|
||||
const Handle(TCollection_HAsciiString) &aShapeAspectRelationship_Description,
|
||||
const Handle(StepRepr_ShapeAspect) &aShapeAspectRelationship_RelatingShapeAspect,
|
||||
const Handle(StepRepr_ShapeAspect) &aShapeAspectRelationship_RelatedShapeAspect,
|
||||
const StepShape_AngleRelator aAngleSelection)
|
||||
{
|
||||
StepShape_DimensionalLocation::Init(aShapeAspectRelationship_Name,
|
||||
hasShapeAspectRelationship_Description,
|
||||
aShapeAspectRelationship_Description,
|
||||
aShapeAspectRelationship_RelatingShapeAspect,
|
||||
aShapeAspectRelationship_RelatedShapeAspect);
|
||||
|
||||
theAngleSelection = aAngleSelection;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : AngleSelection
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepShape_AngleRelator StepShape_AngularLocation::AngleSelection () const
|
||||
{
|
||||
return theAngleSelection;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetAngleSelection
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepShape_AngularLocation::SetAngleSelection (const StepShape_AngleRelator aAngleSelection)
|
||||
{
|
||||
theAngleSelection = aAngleSelection;
|
||||
}
|
34
src/StepShape/StepShape_AngularSize.cdl
Executable file
34
src/StepShape/StepShape_AngularSize.cdl
Executable file
@@ -0,0 +1,34 @@
|
||||
-- File: StepShape_AngularSize.cdl
|
||||
-- Created: Tue Apr 18 16:42:57 2000
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class AngularSize from StepShape
|
||||
inherits DimensionalSize from StepShape
|
||||
|
||||
---Purpose: Representation of STEP entity AngularSize
|
||||
|
||||
uses
|
||||
ShapeAspect from StepRepr,
|
||||
HAsciiString from TCollection,
|
||||
AngleRelator from StepShape
|
||||
|
||||
is
|
||||
Create returns AngularSize from StepShape;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aDimensionalSize_AppliesTo: ShapeAspect from StepRepr;
|
||||
aDimensionalSize_Name: HAsciiString from TCollection;
|
||||
aAngleSelection: AngleRelator from StepShape);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
AngleSelection (me) returns AngleRelator from StepShape;
|
||||
---Purpose: Returns field AngleSelection
|
||||
SetAngleSelection (me: mutable; AngleSelection: AngleRelator from StepShape);
|
||||
---Purpose: Set field AngleSelection
|
||||
|
||||
fields
|
||||
theAngleSelection: AngleRelator from StepShape;
|
||||
|
||||
end AngularSize;
|
51
src/StepShape/StepShape_AngularSize.cxx
Executable file
51
src/StepShape/StepShape_AngularSize.cxx
Executable file
@@ -0,0 +1,51 @@
|
||||
// File: StepShape_AngularSize.cxx
|
||||
// Created: Tue Apr 18 16:42:57 2000
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepShape_AngularSize.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepShape_AngularSize
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepShape_AngularSize::StepShape_AngularSize ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepShape_AngularSize::Init (const Handle(StepRepr_ShapeAspect) &aDimensionalSize_AppliesTo,
|
||||
const Handle(TCollection_HAsciiString) &aDimensionalSize_Name,
|
||||
const StepShape_AngleRelator aAngleSelection)
|
||||
{
|
||||
StepShape_DimensionalSize::Init(aDimensionalSize_AppliesTo,
|
||||
aDimensionalSize_Name);
|
||||
|
||||
theAngleSelection = aAngleSelection;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : AngleSelection
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepShape_AngleRelator StepShape_AngularSize::AngleSelection () const
|
||||
{
|
||||
return theAngleSelection;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetAngleSelection
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepShape_AngularSize::SetAngleSelection (const StepShape_AngleRelator aAngleSelection)
|
||||
{
|
||||
theAngleSelection = aAngleSelection;
|
||||
}
|
50
src/StepShape/StepShape_Block.cdl
Executable file
50
src/StepShape/StepShape_Block.cdl
Executable file
@@ -0,0 +1,50 @@
|
||||
-- File: Block.cdl
|
||||
-- Created: Fri Dec 1 11:11:15 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class Block from StepShape
|
||||
|
||||
inherits GeometricRepresentationItem from StepGeom
|
||||
|
||||
uses
|
||||
|
||||
Axis2Placement3d from StepGeom,
|
||||
Real from Standard,
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns mutable Block;
|
||||
---Purpose: Returns a Block
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aPosition : mutable Axis2Placement3d from StepGeom;
|
||||
aX : Real from Standard;
|
||||
aY : Real from Standard;
|
||||
aZ : Real from Standard) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetPosition(me : mutable; aPosition : mutable Axis2Placement3d);
|
||||
Position (me) returns mutable Axis2Placement3d;
|
||||
SetX(me : mutable; aX : Real);
|
||||
X (me) returns Real;
|
||||
SetY(me : mutable; aY : Real);
|
||||
Y (me) returns Real;
|
||||
SetZ(me : mutable; aZ : Real);
|
||||
Z (me) returns Real;
|
||||
|
||||
fields
|
||||
|
||||
position : Axis2Placement3d from StepGeom;
|
||||
x : Real from Standard;
|
||||
y : Real from Standard;
|
||||
z : Real from Standard;
|
||||
|
||||
end Block;
|
68
src/StepShape/StepShape_Block.cxx
Executable file
68
src/StepShape/StepShape_Block.cxx
Executable file
@@ -0,0 +1,68 @@
|
||||
#include <StepShape_Block.ixx>
|
||||
|
||||
|
||||
StepShape_Block::StepShape_Block () {}
|
||||
|
||||
void StepShape_Block::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName)
|
||||
{
|
||||
|
||||
StepRepr_RepresentationItem::Init(aName);
|
||||
}
|
||||
|
||||
void StepShape_Block::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepGeom_Axis2Placement3d)& aPosition,
|
||||
const Standard_Real aX,
|
||||
const Standard_Real aY,
|
||||
const Standard_Real aZ)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
position = aPosition;
|
||||
x = aX;
|
||||
y = aY;
|
||||
z = aZ;
|
||||
// --- classe inherited fields ---
|
||||
StepRepr_RepresentationItem::Init(aName);
|
||||
}
|
||||
|
||||
|
||||
void StepShape_Block::SetPosition(const Handle(StepGeom_Axis2Placement3d)& aPosition)
|
||||
{
|
||||
position = aPosition;
|
||||
}
|
||||
|
||||
Handle(StepGeom_Axis2Placement3d) StepShape_Block::Position() const
|
||||
{
|
||||
return position;
|
||||
}
|
||||
|
||||
void StepShape_Block::SetX(const Standard_Real aX)
|
||||
{
|
||||
x = aX;
|
||||
}
|
||||
|
||||
Standard_Real StepShape_Block::X() const
|
||||
{
|
||||
return x;
|
||||
}
|
||||
|
||||
void StepShape_Block::SetY(const Standard_Real aY)
|
||||
{
|
||||
y = aY;
|
||||
}
|
||||
|
||||
Standard_Real StepShape_Block::Y() const
|
||||
{
|
||||
return y;
|
||||
}
|
||||
|
||||
void StepShape_Block::SetZ(const Standard_Real aZ)
|
||||
{
|
||||
z = aZ;
|
||||
}
|
||||
|
||||
Standard_Real StepShape_Block::Z() const
|
||||
{
|
||||
return z;
|
||||
}
|
72
src/StepShape/StepShape_BooleanOperand.cdl
Executable file
72
src/StepShape/StepShape_BooleanOperand.cdl
Executable file
@@ -0,0 +1,72 @@
|
||||
-- File: BooleanOperand.cdl
|
||||
-- Created: Fri Dec 1 11:11:10 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
|
||||
class BooleanOperand from StepShape
|
||||
|
||||
-- inherits SelectType from StepData
|
||||
|
||||
-- <BooleanOperand> is an EXPRESS Select Type construct translation.
|
||||
-- it gathers : SolidModel, HalfSpaceSolid, CsgPrimitive, BooleanResult
|
||||
|
||||
uses
|
||||
|
||||
SolidModel,
|
||||
HalfSpaceSolid,
|
||||
CsgPrimitive,
|
||||
BooleanResult
|
||||
is
|
||||
|
||||
Create returns BooleanOperand;
|
||||
---Purpose : Returns a BooleanOperand SelectType
|
||||
|
||||
SetTypeOfContent(me : in out; aTypeOfContent : Integer);
|
||||
|
||||
TypeOfContent(me) returns Integer;
|
||||
-- 1 : SolidModel,
|
||||
-- 2 : HalfSpaceSolid,
|
||||
-- 3 : CsgPrimitive,
|
||||
-- 4 : BooleanResult
|
||||
|
||||
SolidModel (me) returns any SolidModel;
|
||||
---Purpose : returns Value as a SolidModel (Null if another
|
||||
-- type)
|
||||
|
||||
SetSolidModel(me : in out;
|
||||
aSolidModel : SolidModel from StepShape);
|
||||
|
||||
HalfSpaceSolid (me) returns any HalfSpaceSolid;
|
||||
---Purpose : returns Value as a HalfSpaceSolid (Null if
|
||||
-- another type)
|
||||
|
||||
SetHalfSpaceSolid(me : in out;
|
||||
aHalfSpaceSolid : HalfSpaceSolid from StepShape);
|
||||
|
||||
CsgPrimitive (me) returns CsgPrimitive;
|
||||
---Purpose : returns Value as a CsgPrimitive (Null if another
|
||||
-- type)
|
||||
-- CsgPrimitive is another Select Type
|
||||
|
||||
SetCsgPrimitive(me : in out;
|
||||
aCsgPrimitive : CsgPrimitive from StepShape);
|
||||
|
||||
BooleanResult (me) returns any BooleanResult;
|
||||
---Purpose : returns Value as a BooleanResult (Null if another
|
||||
-- type)
|
||||
|
||||
SetBooleanResult(me:in out;
|
||||
aBooleanResult : BooleanResult from StepShape);
|
||||
|
||||
fields
|
||||
|
||||
theSolidModel : SolidModel from StepShape;
|
||||
theHalfSpaceSolid : HalfSpaceSolid from StepShape;
|
||||
theCsgPrimitive : CsgPrimitive from StepShape; -- Select Type
|
||||
theBooleanResult : BooleanResult from StepShape;
|
||||
theTypeOfContent : Integer from Standard;
|
||||
|
||||
end BooleanOperand;
|
||||
|
59
src/StepShape/StepShape_BooleanOperand.cxx
Executable file
59
src/StepShape/StepShape_BooleanOperand.cxx
Executable file
@@ -0,0 +1,59 @@
|
||||
|
||||
#include <StepShape_BooleanOperand.ixx>
|
||||
#include <Interface_Macros.hxx>
|
||||
|
||||
StepShape_BooleanOperand::StepShape_BooleanOperand () { }
|
||||
|
||||
Handle(StepShape_SolidModel) StepShape_BooleanOperand::SolidModel () const
|
||||
{
|
||||
return theSolidModel;
|
||||
}
|
||||
|
||||
void StepShape_BooleanOperand::SetSolidModel
|
||||
(const Handle(StepShape_SolidModel)& aSolidModel)
|
||||
{
|
||||
theSolidModel = aSolidModel;
|
||||
}
|
||||
|
||||
Handle(StepShape_HalfSpaceSolid) StepShape_BooleanOperand::HalfSpaceSolid () const
|
||||
{
|
||||
return theHalfSpaceSolid;
|
||||
}
|
||||
|
||||
void StepShape_BooleanOperand::SetHalfSpaceSolid
|
||||
(const Handle(StepShape_HalfSpaceSolid)& aHalfSpaceSolid)
|
||||
{
|
||||
theHalfSpaceSolid = aHalfSpaceSolid;
|
||||
}
|
||||
|
||||
StepShape_CsgPrimitive StepShape_BooleanOperand::CsgPrimitive () const
|
||||
{
|
||||
return theCsgPrimitive;
|
||||
}
|
||||
|
||||
void StepShape_BooleanOperand::SetCsgPrimitive
|
||||
(const StepShape_CsgPrimitive& aCsgPrimitive)
|
||||
{
|
||||
theCsgPrimitive = aCsgPrimitive;
|
||||
}
|
||||
|
||||
Handle(StepShape_BooleanResult) StepShape_BooleanOperand::BooleanResult () const
|
||||
{
|
||||
return theBooleanResult;
|
||||
}
|
||||
|
||||
void StepShape_BooleanOperand::SetBooleanResult
|
||||
(const Handle(StepShape_BooleanResult)& aBooleanResult)
|
||||
{
|
||||
theBooleanResult = aBooleanResult;
|
||||
}
|
||||
|
||||
void StepShape_BooleanOperand::SetTypeOfContent(const Standard_Integer aType)
|
||||
{
|
||||
theTypeOfContent = aType;
|
||||
}
|
||||
|
||||
Standard_Integer StepShape_BooleanOperand::TypeOfContent() const
|
||||
{
|
||||
return theTypeOfContent;
|
||||
}
|
46
src/StepShape/StepShape_BooleanResult.cdl
Executable file
46
src/StepShape/StepShape_BooleanResult.cdl
Executable file
@@ -0,0 +1,46 @@
|
||||
-- File: BooleanResult.cdl
|
||||
-- Created: Fri Dec 1 11:11:15 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class BooleanResult from StepShape
|
||||
|
||||
inherits GeometricRepresentationItem from StepGeom
|
||||
|
||||
uses
|
||||
|
||||
BooleanOperator from StepShape,
|
||||
BooleanOperand from StepShape,
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns mutable BooleanResult;
|
||||
---Purpose: Returns a BooleanResult
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aOperator : BooleanOperator from StepShape;
|
||||
aFirstOperand : BooleanOperand from StepShape;
|
||||
aSecondOperand : BooleanOperand from StepShape) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetOperator(me : mutable; aOperator : BooleanOperator);
|
||||
Operator (me) returns BooleanOperator;
|
||||
SetFirstOperand(me : mutable; aFirstOperand : BooleanOperand);
|
||||
FirstOperand (me) returns BooleanOperand;
|
||||
SetSecondOperand(me : mutable; aSecondOperand : BooleanOperand);
|
||||
SecondOperand (me) returns BooleanOperand;
|
||||
|
||||
fields
|
||||
|
||||
anOperator : BooleanOperator from StepShape; -- an Enumeration
|
||||
firstOperand : BooleanOperand from StepShape; -- a SelectType
|
||||
secondOperand : BooleanOperand from StepShape; -- a SelectType
|
||||
|
||||
end BooleanResult;
|
56
src/StepShape/StepShape_BooleanResult.cxx
Executable file
56
src/StepShape/StepShape_BooleanResult.cxx
Executable file
@@ -0,0 +1,56 @@
|
||||
#include <StepShape_BooleanResult.ixx>
|
||||
|
||||
|
||||
StepShape_BooleanResult::StepShape_BooleanResult () {}
|
||||
|
||||
void StepShape_BooleanResult::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName)
|
||||
{
|
||||
|
||||
StepRepr_RepresentationItem::Init(aName);
|
||||
}
|
||||
|
||||
void StepShape_BooleanResult::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const StepShape_BooleanOperator aOperator,
|
||||
const StepShape_BooleanOperand& aFirstOperand,
|
||||
const StepShape_BooleanOperand& aSecondOperand)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
anOperator = aOperator;
|
||||
firstOperand = aFirstOperand;
|
||||
secondOperand = aSecondOperand;
|
||||
// --- classe inherited fields ---
|
||||
StepRepr_RepresentationItem::Init(aName);
|
||||
}
|
||||
|
||||
|
||||
void StepShape_BooleanResult::SetOperator(const StepShape_BooleanOperator aOperator)
|
||||
{
|
||||
anOperator = aOperator;
|
||||
}
|
||||
|
||||
StepShape_BooleanOperator StepShape_BooleanResult::Operator() const
|
||||
{
|
||||
return anOperator;
|
||||
}
|
||||
|
||||
void StepShape_BooleanResult::SetFirstOperand(const StepShape_BooleanOperand& aFirstOperand)
|
||||
{
|
||||
firstOperand = aFirstOperand;
|
||||
}
|
||||
|
||||
StepShape_BooleanOperand StepShape_BooleanResult::FirstOperand() const
|
||||
{
|
||||
return firstOperand;
|
||||
}
|
||||
|
||||
void StepShape_BooleanResult::SetSecondOperand(const StepShape_BooleanOperand& aSecondOperand)
|
||||
{
|
||||
secondOperand = aSecondOperand;
|
||||
}
|
||||
|
||||
StepShape_BooleanOperand StepShape_BooleanResult::SecondOperand() const
|
||||
{
|
||||
return secondOperand;
|
||||
}
|
44
src/StepShape/StepShape_BoxDomain.cdl
Executable file
44
src/StepShape/StepShape_BoxDomain.cdl
Executable file
@@ -0,0 +1,44 @@
|
||||
-- File: BoxDomain.cdl
|
||||
-- Created: Fri Dec 1 11:11:15 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class BoxDomain from StepShape
|
||||
|
||||
inherits TShared from MMgt
|
||||
|
||||
uses
|
||||
|
||||
CartesianPoint from StepGeom,
|
||||
Real from Standard
|
||||
is
|
||||
|
||||
Create returns mutable BoxDomain;
|
||||
---Purpose: Returns a BoxDomain
|
||||
|
||||
Init (me : mutable;
|
||||
aCorner : mutable CartesianPoint from StepGeom;
|
||||
aXlength : Real from Standard;
|
||||
aYlength : Real from Standard;
|
||||
aZlength : Real from Standard) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetCorner(me : mutable; aCorner : mutable CartesianPoint);
|
||||
Corner (me) returns mutable CartesianPoint;
|
||||
SetXlength(me : mutable; aXlength : Real);
|
||||
Xlength (me) returns Real;
|
||||
SetYlength(me : mutable; aYlength : Real);
|
||||
Ylength (me) returns Real;
|
||||
SetZlength(me : mutable; aZlength : Real);
|
||||
Zlength (me) returns Real;
|
||||
|
||||
fields
|
||||
|
||||
corner : CartesianPoint from StepGeom;
|
||||
xlength : Real from Standard;
|
||||
ylength : Real from Standard;
|
||||
zlength : Real from Standard;
|
||||
|
||||
end BoxDomain;
|
58
src/StepShape/StepShape_BoxDomain.cxx
Executable file
58
src/StepShape/StepShape_BoxDomain.cxx
Executable file
@@ -0,0 +1,58 @@
|
||||
#include <StepShape_BoxDomain.ixx>
|
||||
|
||||
|
||||
StepShape_BoxDomain::StepShape_BoxDomain () {}
|
||||
|
||||
void StepShape_BoxDomain::Init(
|
||||
const Handle(StepGeom_CartesianPoint)& aCorner,
|
||||
const Standard_Real aXlength,
|
||||
const Standard_Real aYlength,
|
||||
const Standard_Real aZlength)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
corner = aCorner;
|
||||
xlength = aXlength;
|
||||
ylength = aYlength;
|
||||
zlength = aZlength;
|
||||
}
|
||||
|
||||
|
||||
void StepShape_BoxDomain::SetCorner(const Handle(StepGeom_CartesianPoint)& aCorner)
|
||||
{
|
||||
corner = aCorner;
|
||||
}
|
||||
|
||||
Handle(StepGeom_CartesianPoint) StepShape_BoxDomain::Corner() const
|
||||
{
|
||||
return corner;
|
||||
}
|
||||
|
||||
void StepShape_BoxDomain::SetXlength(const Standard_Real aXlength)
|
||||
{
|
||||
xlength = aXlength;
|
||||
}
|
||||
|
||||
Standard_Real StepShape_BoxDomain::Xlength() const
|
||||
{
|
||||
return xlength;
|
||||
}
|
||||
|
||||
void StepShape_BoxDomain::SetYlength(const Standard_Real aYlength)
|
||||
{
|
||||
ylength = aYlength;
|
||||
}
|
||||
|
||||
Standard_Real StepShape_BoxDomain::Ylength() const
|
||||
{
|
||||
return ylength;
|
||||
}
|
||||
|
||||
void StepShape_BoxDomain::SetZlength(const Standard_Real aZlength)
|
||||
{
|
||||
zlength = aZlength;
|
||||
}
|
||||
|
||||
Standard_Real StepShape_BoxDomain::Zlength() const
|
||||
{
|
||||
return zlength;
|
||||
}
|
43
src/StepShape/StepShape_BoxedHalfSpace.cdl
Executable file
43
src/StepShape/StepShape_BoxedHalfSpace.cdl
Executable file
@@ -0,0 +1,43 @@
|
||||
-- File: BoxedHalfSpace.cdl
|
||||
-- Created: Fri Dec 1 11:11:15 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class BoxedHalfSpace from StepShape
|
||||
|
||||
inherits HalfSpaceSolid from StepShape
|
||||
|
||||
uses
|
||||
|
||||
BoxDomain from StepShape,
|
||||
HAsciiString from TCollection,
|
||||
Surface from StepGeom,
|
||||
Boolean from Standard
|
||||
is
|
||||
|
||||
Create returns mutable BoxedHalfSpace;
|
||||
---Purpose: Returns a BoxedHalfSpace
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aBaseSurface : mutable Surface from StepGeom;
|
||||
aAgreementFlag : Boolean from Standard) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aBaseSurface : mutable Surface from StepGeom;
|
||||
aAgreementFlag : Boolean from Standard;
|
||||
aEnclosure : mutable BoxDomain from StepShape) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetEnclosure(me : mutable; aEnclosure : mutable BoxDomain);
|
||||
Enclosure (me) returns mutable BoxDomain;
|
||||
|
||||
fields
|
||||
|
||||
enclosure : BoxDomain from StepShape;
|
||||
|
||||
end BoxedHalfSpace;
|
36
src/StepShape/StepShape_BoxedHalfSpace.cxx
Executable file
36
src/StepShape/StepShape_BoxedHalfSpace.cxx
Executable file
@@ -0,0 +1,36 @@
|
||||
#include <StepShape_BoxedHalfSpace.ixx>
|
||||
|
||||
|
||||
StepShape_BoxedHalfSpace::StepShape_BoxedHalfSpace () {}
|
||||
|
||||
void StepShape_BoxedHalfSpace::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepGeom_Surface)& aBaseSurface,
|
||||
const Standard_Boolean aAgreementFlag)
|
||||
{
|
||||
|
||||
StepShape_HalfSpaceSolid::Init(aName, aBaseSurface, aAgreementFlag);
|
||||
}
|
||||
|
||||
void StepShape_BoxedHalfSpace::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepGeom_Surface)& aBaseSurface,
|
||||
const Standard_Boolean aAgreementFlag,
|
||||
const Handle(StepShape_BoxDomain)& aEnclosure)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
enclosure = aEnclosure;
|
||||
// --- classe inherited fields ---
|
||||
StepShape_HalfSpaceSolid::Init(aName, aBaseSurface, aAgreementFlag);
|
||||
}
|
||||
|
||||
|
||||
void StepShape_BoxedHalfSpace::SetEnclosure(const Handle(StepShape_BoxDomain)& aEnclosure)
|
||||
{
|
||||
enclosure = aEnclosure;
|
||||
}
|
||||
|
||||
Handle(StepShape_BoxDomain) StepShape_BoxedHalfSpace::Enclosure() const
|
||||
{
|
||||
return enclosure;
|
||||
}
|
43
src/StepShape/StepShape_BrepWithVoids.cdl
Executable file
43
src/StepShape/StepShape_BrepWithVoids.cdl
Executable file
@@ -0,0 +1,43 @@
|
||||
-- File: BrepWithVoids.cdl
|
||||
-- Created: Fri Dec 1 11:11:15 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class BrepWithVoids from StepShape
|
||||
|
||||
inherits ManifoldSolidBrep from StepShape
|
||||
|
||||
uses
|
||||
|
||||
HArray1OfOrientedClosedShell from StepShape,
|
||||
OrientedClosedShell from StepShape,
|
||||
HAsciiString from TCollection,
|
||||
ClosedShell from StepShape
|
||||
is
|
||||
|
||||
Create returns mutable BrepWithVoids;
|
||||
---Purpose: Returns a BrepWithVoids
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aOuter : mutable ClosedShell from StepShape) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aOuter : mutable ClosedShell from StepShape;
|
||||
aVoids : mutable HArray1OfOrientedClosedShell from StepShape) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetVoids(me : mutable; aVoids : mutable HArray1OfOrientedClosedShell);
|
||||
Voids (me) returns mutable HArray1OfOrientedClosedShell;
|
||||
VoidsValue (me; num : Integer) returns mutable OrientedClosedShell;
|
||||
NbVoids (me) returns Integer;
|
||||
|
||||
fields
|
||||
|
||||
voids : HArray1OfOrientedClosedShell from StepShape;
|
||||
|
||||
end BrepWithVoids;
|
45
src/StepShape/StepShape_BrepWithVoids.cxx
Executable file
45
src/StepShape/StepShape_BrepWithVoids.cxx
Executable file
@@ -0,0 +1,45 @@
|
||||
#include <StepShape_BrepWithVoids.ixx>
|
||||
|
||||
|
||||
StepShape_BrepWithVoids::StepShape_BrepWithVoids () {}
|
||||
|
||||
void StepShape_BrepWithVoids::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepShape_ClosedShell)& aOuter)
|
||||
{
|
||||
|
||||
StepShape_ManifoldSolidBrep::Init(aName, aOuter);
|
||||
}
|
||||
|
||||
void StepShape_BrepWithVoids::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepShape_ClosedShell)& aOuter,
|
||||
const Handle(StepShape_HArray1OfOrientedClosedShell)& aVoids)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
voids = aVoids;
|
||||
// --- classe inherited fields ---
|
||||
StepShape_ManifoldSolidBrep::Init(aName, aOuter);
|
||||
}
|
||||
|
||||
|
||||
void StepShape_BrepWithVoids::SetVoids(const Handle(StepShape_HArray1OfOrientedClosedShell)& aVoids)
|
||||
{
|
||||
voids = aVoids;
|
||||
}
|
||||
|
||||
Handle(StepShape_HArray1OfOrientedClosedShell) StepShape_BrepWithVoids::Voids() const
|
||||
{
|
||||
return voids;
|
||||
}
|
||||
|
||||
Handle(StepShape_OrientedClosedShell) StepShape_BrepWithVoids::VoidsValue(const Standard_Integer num) const
|
||||
{
|
||||
return voids->Value(num);
|
||||
}
|
||||
|
||||
Standard_Integer StepShape_BrepWithVoids::NbVoids () const
|
||||
{
|
||||
if (voids.IsNull()) return 0;
|
||||
return voids->Length();
|
||||
}
|
21
src/StepShape/StepShape_ClosedShell.cdl
Executable file
21
src/StepShape/StepShape_ClosedShell.cdl
Executable file
@@ -0,0 +1,21 @@
|
||||
-- File: ClosedShell.cdl
|
||||
-- Created: Fri Dec 1 11:11:16 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class ClosedShell from StepShape
|
||||
|
||||
inherits ConnectedFaceSet from StepShape
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection,
|
||||
HArray1OfFace from StepShape
|
||||
is
|
||||
|
||||
Create returns mutable ClosedShell;
|
||||
---Purpose: Returns a ClosedShell
|
||||
|
||||
|
||||
end ClosedShell;
|
5
src/StepShape/StepShape_ClosedShell.cxx
Executable file
5
src/StepShape/StepShape_ClosedShell.cxx
Executable file
@@ -0,0 +1,5 @@
|
||||
#include <StepShape_ClosedShell.ixx>
|
||||
|
||||
|
||||
StepShape_ClosedShell::StepShape_ClosedShell () {}
|
||||
|
21
src/StepShape/StepShape_CompoundShapeRepresentation.cdl
Executable file
21
src/StepShape/StepShape_CompoundShapeRepresentation.cdl
Executable file
@@ -0,0 +1,21 @@
|
||||
-- File: StepShape_CompoundShapeRepresentation.cdl
|
||||
-- Created: Fri Dec 28 16:01:59 2001
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
|
||||
-- Copyright: Matra Datavision 2000
|
||||
|
||||
class CompoundShapeRepresentation from StepShape
|
||||
inherits ShapeRepresentation from StepShape
|
||||
|
||||
---Purpose: Representation of STEP entity CompoundShapeRepresentation
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection,
|
||||
HArray1OfRepresentationItem from StepRepr,
|
||||
RepresentationContext from StepRepr
|
||||
|
||||
is
|
||||
Create returns CompoundShapeRepresentation from StepShape;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
end CompoundShapeRepresentation;
|
16
src/StepShape/StepShape_CompoundShapeRepresentation.cxx
Executable file
16
src/StepShape/StepShape_CompoundShapeRepresentation.cxx
Executable file
@@ -0,0 +1,16 @@
|
||||
// File: StepShape_CompoundShapeRepresentation.cxx
|
||||
// Created: Fri Dec 28 16:01:59 2001
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
|
||||
// Copyright: Matra Datavision 2000
|
||||
|
||||
#include <StepShape_CompoundShapeRepresentation.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepShape_CompoundShapeRepresentation
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepShape_CompoundShapeRepresentation::StepShape_CompoundShapeRepresentation ()
|
||||
{
|
||||
}
|
32
src/StepShape/StepShape_ConnectedEdgeSet.cdl
Executable file
32
src/StepShape/StepShape_ConnectedEdgeSet.cdl
Executable file
@@ -0,0 +1,32 @@
|
||||
-- File: StepShape_ConnectedEdgeSet.cdl
|
||||
-- Created: Fri Dec 28 16:02:00 2001
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
|
||||
-- Copyright: Matra Datavision 2000
|
||||
|
||||
class ConnectedEdgeSet from StepShape
|
||||
inherits TopologicalRepresentationItem from StepShape
|
||||
|
||||
---Purpose: Representation of STEP entity ConnectedEdgeSet
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection,
|
||||
HArray1OfEdge from StepShape
|
||||
|
||||
is
|
||||
Create returns ConnectedEdgeSet from StepShape;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aRepresentationItem_Name: HAsciiString from TCollection;
|
||||
aCesEdges: HArray1OfEdge from StepShape);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
CesEdges (me) returns HArray1OfEdge from StepShape;
|
||||
---Purpose: Returns field CesEdges
|
||||
SetCesEdges (me: mutable; CesEdges: HArray1OfEdge from StepShape);
|
||||
---Purpose: Set field CesEdges
|
||||
|
||||
fields
|
||||
theCesEdges: HArray1OfEdge from StepShape;
|
||||
|
||||
end ConnectedEdgeSet;
|
49
src/StepShape/StepShape_ConnectedEdgeSet.cxx
Executable file
49
src/StepShape/StepShape_ConnectedEdgeSet.cxx
Executable file
@@ -0,0 +1,49 @@
|
||||
// File: StepShape_ConnectedEdgeSet.cxx
|
||||
// Created: Fri Dec 28 16:02:00 2001
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
|
||||
// Copyright: Matra Datavision 2000
|
||||
|
||||
#include <StepShape_ConnectedEdgeSet.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepShape_ConnectedEdgeSet
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepShape_ConnectedEdgeSet::StepShape_ConnectedEdgeSet ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepShape_ConnectedEdgeSet::Init (const Handle(TCollection_HAsciiString) &aRepresentationItem_Name,
|
||||
const Handle(StepShape_HArray1OfEdge) &aCesEdges)
|
||||
{
|
||||
StepShape_TopologicalRepresentationItem::Init(aRepresentationItem_Name);
|
||||
|
||||
theCesEdges = aCesEdges;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : CesEdges
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepShape_HArray1OfEdge) StepShape_ConnectedEdgeSet::CesEdges () const
|
||||
{
|
||||
return theCesEdges;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetCesEdges
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepShape_ConnectedEdgeSet::SetCesEdges (const Handle(StepShape_HArray1OfEdge) &aCesEdges)
|
||||
{
|
||||
theCesEdges = aCesEdges;
|
||||
}
|
44
src/StepShape/StepShape_ConnectedFaceSet.cdl
Executable file
44
src/StepShape/StepShape_ConnectedFaceSet.cdl
Executable file
@@ -0,0 +1,44 @@
|
||||
-- File: ConnectedFaceSet.cdl
|
||||
-- Created: Fri Dec 1 11:11:17 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class ConnectedFaceSet from StepShape
|
||||
|
||||
inherits TopologicalRepresentationItem from StepShape
|
||||
|
||||
uses
|
||||
|
||||
HArray1OfFace from StepShape,
|
||||
Face from StepShape,
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns mutable ConnectedFaceSet;
|
||||
---Purpose: Returns a ConnectedFaceSet
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aCfsFaces : mutable HArray1OfFace from StepShape) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetCfsFaces(me : mutable; aCfsFaces : mutable HArray1OfFace)
|
||||
is virtual;
|
||||
CfsFaces (me) returns mutable HArray1OfFace
|
||||
is virtual;
|
||||
CfsFacesValue (me; num : Integer) returns mutable Face
|
||||
is virtual;
|
||||
NbCfsFaces (me) returns Integer
|
||||
is virtual;
|
||||
|
||||
fields
|
||||
|
||||
cfsFaces : HArray1OfFace from StepShape;
|
||||
|
||||
end ConnectedFaceSet;
|
43
src/StepShape/StepShape_ConnectedFaceSet.cxx
Executable file
43
src/StepShape/StepShape_ConnectedFaceSet.cxx
Executable file
@@ -0,0 +1,43 @@
|
||||
#include <StepShape_ConnectedFaceSet.ixx>
|
||||
|
||||
|
||||
StepShape_ConnectedFaceSet::StepShape_ConnectedFaceSet () {}
|
||||
|
||||
void StepShape_ConnectedFaceSet::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName)
|
||||
{
|
||||
|
||||
StepRepr_RepresentationItem::Init(aName);
|
||||
}
|
||||
|
||||
void StepShape_ConnectedFaceSet::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepShape_HArray1OfFace)& aCfsFaces)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
cfsFaces = aCfsFaces;
|
||||
// --- classe inherited fields ---
|
||||
StepRepr_RepresentationItem::Init(aName);
|
||||
}
|
||||
|
||||
|
||||
void StepShape_ConnectedFaceSet::SetCfsFaces(const Handle(StepShape_HArray1OfFace)& aCfsFaces)
|
||||
{
|
||||
cfsFaces = aCfsFaces;
|
||||
}
|
||||
|
||||
Handle(StepShape_HArray1OfFace) StepShape_ConnectedFaceSet::CfsFaces() const
|
||||
{
|
||||
return cfsFaces;
|
||||
}
|
||||
|
||||
Handle(StepShape_Face) StepShape_ConnectedFaceSet::CfsFacesValue(const Standard_Integer num) const
|
||||
{
|
||||
return cfsFaces->Value(num);
|
||||
}
|
||||
|
||||
Standard_Integer StepShape_ConnectedFaceSet::NbCfsFaces () const
|
||||
{
|
||||
if (cfsFaces.IsNull()) return 0;
|
||||
return cfsFaces->Length();
|
||||
}
|
21
src/StepShape/StepShape_ConnectedFaceShapeRepresentation.cdl
Executable file
21
src/StepShape/StepShape_ConnectedFaceShapeRepresentation.cdl
Executable file
@@ -0,0 +1,21 @@
|
||||
-- File: StepShape_ConnectedFaceShapeRepresentation.cdl
|
||||
-- Created: Fri Dec 28 16:02:00 2001
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
|
||||
-- Copyright: Matra Datavision 2000
|
||||
|
||||
class ConnectedFaceShapeRepresentation from StepShape
|
||||
inherits Representation from StepRepr
|
||||
|
||||
---Purpose: Representation of STEP entity ConnectedFaceShapeRepresentation
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection,
|
||||
HArray1OfRepresentationItem from StepRepr,
|
||||
RepresentationContext from StepRepr
|
||||
|
||||
is
|
||||
Create returns ConnectedFaceShapeRepresentation from StepShape;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
end ConnectedFaceShapeRepresentation;
|
16
src/StepShape/StepShape_ConnectedFaceShapeRepresentation.cxx
Executable file
16
src/StepShape/StepShape_ConnectedFaceShapeRepresentation.cxx
Executable file
@@ -0,0 +1,16 @@
|
||||
// File: StepShape_ConnectedFaceShapeRepresentation.cxx
|
||||
// Created: Fri Dec 28 16:02:00 2001
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
|
||||
// Copyright: Matra Datavision 2000
|
||||
|
||||
#include <StepShape_ConnectedFaceShapeRepresentation.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepShape_ConnectedFaceShapeRepresentation
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepShape_ConnectedFaceShapeRepresentation::StepShape_ConnectedFaceShapeRepresentation ()
|
||||
{
|
||||
}
|
34
src/StepShape/StepShape_ConnectedFaceSubSet.cdl
Executable file
34
src/StepShape/StepShape_ConnectedFaceSubSet.cdl
Executable file
@@ -0,0 +1,34 @@
|
||||
-- File: StepShape_ConnectedFaceSubSet.cdl
|
||||
-- Created: Fri Jan 4 17:42:43 2002
|
||||
-- Author: data exchange team
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
|
||||
-- Copyright: Matra Datavision 2000
|
||||
|
||||
class ConnectedFaceSubSet from StepShape
|
||||
inherits ConnectedFaceSet from StepShape
|
||||
|
||||
---Purpose: Representation of STEP entity ConnectedFaceSubSet
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection,
|
||||
HArray1OfFace from StepShape,
|
||||
ConnectedFaceSet from StepShape
|
||||
|
||||
is
|
||||
Create returns ConnectedFaceSubSet from StepShape;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aRepresentationItem_Name: HAsciiString from TCollection;
|
||||
aConnectedFaceSet_CfsFaces: HArray1OfFace from StepShape;
|
||||
aParentFaceSet: ConnectedFaceSet from StepShape);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
ParentFaceSet (me) returns ConnectedFaceSet from StepShape;
|
||||
---Purpose: Returns field ParentFaceSet
|
||||
SetParentFaceSet (me: mutable; ParentFaceSet: ConnectedFaceSet from StepShape);
|
||||
---Purpose: Set field ParentFaceSet
|
||||
|
||||
fields
|
||||
theParentFaceSet: ConnectedFaceSet from StepShape;
|
||||
|
||||
end ConnectedFaceSubSet;
|
51
src/StepShape/StepShape_ConnectedFaceSubSet.cxx
Executable file
51
src/StepShape/StepShape_ConnectedFaceSubSet.cxx
Executable file
@@ -0,0 +1,51 @@
|
||||
// File: StepShape_ConnectedFaceSubSet.cxx
|
||||
// Created: Fri Jan 4 17:42:43 2002
|
||||
// Author: data exchange team
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
|
||||
// Copyright: Matra Datavision 2000
|
||||
|
||||
#include <StepShape_ConnectedFaceSubSet.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepShape_ConnectedFaceSubSet
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepShape_ConnectedFaceSubSet::StepShape_ConnectedFaceSubSet ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepShape_ConnectedFaceSubSet::Init (const Handle(TCollection_HAsciiString) &aRepresentationItem_Name,
|
||||
const Handle(StepShape_HArray1OfFace) &aConnectedFaceSet_CfsFaces,
|
||||
const Handle(StepShape_ConnectedFaceSet) &aParentFaceSet)
|
||||
{
|
||||
StepShape_ConnectedFaceSet::Init(aRepresentationItem_Name,
|
||||
aConnectedFaceSet_CfsFaces);
|
||||
|
||||
theParentFaceSet = aParentFaceSet;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : ParentFaceSet
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepShape_ConnectedFaceSet) StepShape_ConnectedFaceSubSet::ParentFaceSet () const
|
||||
{
|
||||
return theParentFaceSet;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetParentFaceSet
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepShape_ConnectedFaceSubSet::SetParentFaceSet (const Handle(StepShape_ConnectedFaceSet) &aParentFaceSet)
|
||||
{
|
||||
theParentFaceSet = aParentFaceSet;
|
||||
}
|
33
src/StepShape/StepShape_ContextDependentShapeRepresentation.cdl
Executable file
33
src/StepShape/StepShape_ContextDependentShapeRepresentation.cdl
Executable file
@@ -0,0 +1,33 @@
|
||||
-- File: StepShape_ContextDependentShapeRepresentation.cdl
|
||||
-- Created: Wed Jul 1 12:34:49 1998
|
||||
-- Author: Christian CAILLET
|
||||
-- <cky@heliox.paris1.matra-dtv.fr>
|
||||
---Copyright: Matra Datavision 1998
|
||||
|
||||
|
||||
class ContextDependentShapeRepresentation from StepShape inherits TShared from MMgt
|
||||
|
||||
uses
|
||||
ShapeRepresentationRelationship from StepRepr,
|
||||
ProductDefinitionShape from StepRepr
|
||||
|
||||
is
|
||||
|
||||
Create returns mutable ContextDependentShapeRepresentation;
|
||||
|
||||
Init (me : mutable;
|
||||
aRepRel : ShapeRepresentationRelationship;
|
||||
aProRel : ProductDefinitionShape);
|
||||
|
||||
RepresentationRelation (me) returns ShapeRepresentationRelationship;
|
||||
SetRepresentationRelation (me : mutable; aRepRel : ShapeRepresentationRelationship);
|
||||
|
||||
RepresentedProductRelation (me) returns ProductDefinitionShape;
|
||||
SetRepresentedProductRelation (me : mutable; aProRel : ProductDefinitionShape);
|
||||
|
||||
fields
|
||||
|
||||
theRepRel : ShapeRepresentationRelationship;
|
||||
theProRel : ProductDefinitionShape;
|
||||
|
||||
end ContextDependentShapeRepresentation;
|
23
src/StepShape/StepShape_ContextDependentShapeRepresentation.cxx
Executable file
23
src/StepShape/StepShape_ContextDependentShapeRepresentation.cxx
Executable file
@@ -0,0 +1,23 @@
|
||||
#include <StepShape_ContextDependentShapeRepresentation.ixx>
|
||||
|
||||
StepShape_ContextDependentShapeRepresentation::StepShape_ContextDependentShapeRepresentation () { }
|
||||
|
||||
void StepShape_ContextDependentShapeRepresentation::Init
|
||||
(const Handle(StepRepr_ShapeRepresentationRelationship)& aRepRel,
|
||||
const Handle(StepRepr_ProductDefinitionShape)& aProRel)
|
||||
{
|
||||
theRepRel = aRepRel;
|
||||
theProRel = aProRel;
|
||||
}
|
||||
|
||||
Handle(StepRepr_ShapeRepresentationRelationship) StepShape_ContextDependentShapeRepresentation::RepresentationRelation () const
|
||||
{ return theRepRel; }
|
||||
|
||||
void StepShape_ContextDependentShapeRepresentation::SetRepresentationRelation (const Handle(StepRepr_ShapeRepresentationRelationship)& aRepRel)
|
||||
{ theRepRel = aRepRel; }
|
||||
|
||||
Handle(StepRepr_ProductDefinitionShape) StepShape_ContextDependentShapeRepresentation::RepresentedProductRelation () const
|
||||
{ return theProRel; }
|
||||
|
||||
void StepShape_ContextDependentShapeRepresentation::SetRepresentedProductRelation (const Handle(StepRepr_ProductDefinitionShape)& aProRel)
|
||||
{ theProRel = aProRel; }
|
56
src/StepShape/StepShape_CsgPrimitive.cdl
Executable file
56
src/StepShape/StepShape_CsgPrimitive.cdl
Executable file
@@ -0,0 +1,56 @@
|
||||
-- File: CsgPrimitive.cdl
|
||||
-- Created: Fri Dec 1 11:11:10 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
|
||||
class CsgPrimitive from StepShape inherits SelectType from StepData
|
||||
|
||||
-- <CsgPrimitive> is an EXPRESS Select Type construct translation.
|
||||
-- it gathers : Sphere, Block, RightAngularWedge, Torus, RightCircularCone, RightCircularCylinder
|
||||
|
||||
uses
|
||||
|
||||
Sphere,
|
||||
Block,
|
||||
RightAngularWedge,
|
||||
Torus,
|
||||
RightCircularCone,
|
||||
RightCircularCylinder
|
||||
is
|
||||
|
||||
Create returns CsgPrimitive;
|
||||
---Purpose : Returns a CsgPrimitive SelectType
|
||||
|
||||
CaseNum (me; ent : Transient) returns Integer;
|
||||
---Purpose: Recognizes a CsgPrimitive Kind Entity that is :
|
||||
-- 1 -> Sphere
|
||||
-- 2 -> Block
|
||||
-- 3 -> RightAngularWedge
|
||||
-- 4 -> Torus
|
||||
-- 5 -> RightCircularCone
|
||||
-- 6 -> RightCircularCylinder
|
||||
-- 0 else
|
||||
|
||||
Sphere (me) returns any Sphere;
|
||||
---Purpose : returns Value as a Sphere (Null if another type)
|
||||
|
||||
Block (me) returns any Block;
|
||||
---Purpose : returns Value as a Block (Null if another type)
|
||||
|
||||
RightAngularWedge (me) returns any RightAngularWedge;
|
||||
---Purpose : returns Value as a RightAngularWedge (Null if another type)
|
||||
|
||||
Torus (me) returns any Torus;
|
||||
---Purpose : returns Value as a Torus (Null if another type)
|
||||
|
||||
RightCircularCone (me) returns any RightCircularCone;
|
||||
---Purpose : returns Value as a RightCircularCone (Null if another type)
|
||||
|
||||
RightCircularCylinder (me) returns any RightCircularCylinder;
|
||||
---Purpose : returns Value as a RightCircularCylinder (Null if another type)
|
||||
|
||||
|
||||
end CsgPrimitive;
|
||||
|
47
src/StepShape/StepShape_CsgPrimitive.cxx
Executable file
47
src/StepShape/StepShape_CsgPrimitive.cxx
Executable file
@@ -0,0 +1,47 @@
|
||||
|
||||
#include <StepShape_CsgPrimitive.ixx>
|
||||
#include <Interface_Macros.hxx>
|
||||
|
||||
StepShape_CsgPrimitive::StepShape_CsgPrimitive () { }
|
||||
|
||||
Standard_Integer StepShape_CsgPrimitive::CaseNum(const Handle(Standard_Transient)& ent) const
|
||||
{
|
||||
if (ent.IsNull()) return 0;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepShape_Sphere))) return 1;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepShape_Block))) return 2;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepShape_RightAngularWedge))) return 3;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepShape_Torus))) return 4;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepShape_RightCircularCone))) return 5;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepShape_RightCircularCylinder))) return 6;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Handle(StepShape_Sphere) StepShape_CsgPrimitive::Sphere () const
|
||||
{
|
||||
return GetCasted(StepShape_Sphere,Value());
|
||||
}
|
||||
|
||||
Handle(StepShape_Block) StepShape_CsgPrimitive::Block () const
|
||||
{
|
||||
return GetCasted(StepShape_Block,Value());
|
||||
}
|
||||
|
||||
Handle(StepShape_RightAngularWedge) StepShape_CsgPrimitive::RightAngularWedge () const
|
||||
{
|
||||
return GetCasted(StepShape_RightAngularWedge,Value());
|
||||
}
|
||||
|
||||
Handle(StepShape_Torus) StepShape_CsgPrimitive::Torus () const
|
||||
{
|
||||
return GetCasted(StepShape_Torus,Value());
|
||||
}
|
||||
|
||||
Handle(StepShape_RightCircularCone) StepShape_CsgPrimitive::RightCircularCone () const
|
||||
{
|
||||
return GetCasted(StepShape_RightCircularCone,Value());
|
||||
}
|
||||
|
||||
Handle(StepShape_RightCircularCylinder) StepShape_CsgPrimitive::RightCircularCylinder () const
|
||||
{
|
||||
return GetCasted(StepShape_RightCircularCylinder,Value());
|
||||
}
|
48
src/StepShape/StepShape_CsgSelect.cdl
Executable file
48
src/StepShape/StepShape_CsgSelect.cdl
Executable file
@@ -0,0 +1,48 @@
|
||||
-- File: CsgSelect.cdl
|
||||
-- Created: Fri Dec 1 11:11:10 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
|
||||
class CsgSelect from StepShape
|
||||
|
||||
-- inherits SelectType from StepData
|
||||
|
||||
-- <CsgSelect> is an EXPRESS Select Type construct translation.
|
||||
-- it gathers : BooleanResult, CsgPrimitive
|
||||
|
||||
uses
|
||||
|
||||
BooleanResult,
|
||||
CsgPrimitive
|
||||
is
|
||||
|
||||
Create returns CsgSelect;
|
||||
---Purpose : Returns a CsgSelect SelectType
|
||||
|
||||
SetTypeOfContent(me : in out; aTypeOfContent : Integer);
|
||||
|
||||
TypeOfContent(me) returns Integer;
|
||||
-- 1 -> BooleanResult
|
||||
-- 2 -> CsgPrimitive
|
||||
-- 0 else
|
||||
|
||||
BooleanResult (me) returns any BooleanResult;
|
||||
---Purpose : returns Value as a BooleanResult (Null if another type)
|
||||
|
||||
SetBooleanResult (me : in out;aBooleanResult : BooleanResult from StepShape);
|
||||
|
||||
CsgPrimitive (me) returns CsgPrimitive;
|
||||
---Purpose : returns Value as a CsgPrimitive (Null if another type)
|
||||
|
||||
SetCsgPrimitive (me : in out; aCsgPrimitive : CsgPrimitive from StepShape);
|
||||
|
||||
fields
|
||||
|
||||
theBooleanResult : BooleanResult from StepShape;
|
||||
theCsgPrimitive : CsgPrimitive from StepShape; -- a Select Type
|
||||
theTypeOfContent : Integer from Standard;
|
||||
|
||||
end CsgSelect;
|
||||
|
37
src/StepShape/StepShape_CsgSelect.cxx
Executable file
37
src/StepShape/StepShape_CsgSelect.cxx
Executable file
@@ -0,0 +1,37 @@
|
||||
|
||||
#include <StepShape_CsgSelect.ixx>
|
||||
#include <Interface_Macros.hxx>
|
||||
|
||||
StepShape_CsgSelect::StepShape_CsgSelect () { }
|
||||
|
||||
void StepShape_CsgSelect::SetTypeOfContent(const Standard_Integer aType)
|
||||
{
|
||||
theTypeOfContent = aType;
|
||||
}
|
||||
|
||||
Standard_Integer StepShape_CsgSelect::TypeOfContent() const
|
||||
{
|
||||
return theTypeOfContent;
|
||||
}
|
||||
|
||||
Handle(StepShape_BooleanResult) StepShape_CsgSelect::BooleanResult () const
|
||||
{
|
||||
return theBooleanResult;
|
||||
}
|
||||
|
||||
void StepShape_CsgSelect::SetBooleanResult(const Handle(StepShape_BooleanResult)& aBooleanResult)
|
||||
{
|
||||
theBooleanResult = aBooleanResult;
|
||||
theTypeOfContent = 1;
|
||||
}
|
||||
|
||||
StepShape_CsgPrimitive StepShape_CsgSelect::CsgPrimitive () const
|
||||
{
|
||||
return theCsgPrimitive;
|
||||
}
|
||||
|
||||
void StepShape_CsgSelect::SetCsgPrimitive (const StepShape_CsgPrimitive& aCsgPrimitive)
|
||||
{
|
||||
theCsgPrimitive = aCsgPrimitive;
|
||||
theTypeOfContent = 2;
|
||||
}
|
22
src/StepShape/StepShape_CsgShapeRepresentation.cdl
Executable file
22
src/StepShape/StepShape_CsgShapeRepresentation.cdl
Executable file
@@ -0,0 +1,22 @@
|
||||
-- File: CsgShapeRepresentation.cdl
|
||||
-- Created: Fri Dec 1 11:11:17 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class CsgShapeRepresentation from StepShape
|
||||
|
||||
inherits ShapeRepresentation from StepShape
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection,
|
||||
HArray1OfRepresentationItem from StepRepr,
|
||||
RepresentationContext from StepRepr
|
||||
is
|
||||
|
||||
Create returns mutable CsgShapeRepresentation;
|
||||
---Purpose: Returns a CsgShapeRepresentation
|
||||
|
||||
|
||||
end CsgShapeRepresentation;
|
5
src/StepShape/StepShape_CsgShapeRepresentation.cxx
Executable file
5
src/StepShape/StepShape_CsgShapeRepresentation.cxx
Executable file
@@ -0,0 +1,5 @@
|
||||
#include <StepShape_CsgShapeRepresentation.ixx>
|
||||
|
||||
|
||||
StepShape_CsgShapeRepresentation::StepShape_CsgShapeRepresentation () {}
|
||||
|
37
src/StepShape/StepShape_CsgSolid.cdl
Executable file
37
src/StepShape/StepShape_CsgSolid.cdl
Executable file
@@ -0,0 +1,37 @@
|
||||
-- File: CsgSolid.cdl
|
||||
-- Created: Fri Dec 1 11:11:17 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class CsgSolid from StepShape
|
||||
|
||||
inherits SolidModel from StepShape
|
||||
|
||||
uses
|
||||
|
||||
CsgSelect from StepShape,
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns mutable CsgSolid;
|
||||
---Purpose: Returns a CsgSolid
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aTreeRootExpression : CsgSelect from StepShape) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetTreeRootExpression(me : mutable; aTreeRootExpression : CsgSelect);
|
||||
TreeRootExpression (me) returns CsgSelect;
|
||||
|
||||
fields
|
||||
|
||||
treeRootExpression : CsgSelect from StepShape; -- a SelectType
|
||||
|
||||
end CsgSolid;
|
32
src/StepShape/StepShape_CsgSolid.cxx
Executable file
32
src/StepShape/StepShape_CsgSolid.cxx
Executable file
@@ -0,0 +1,32 @@
|
||||
#include <StepShape_CsgSolid.ixx>
|
||||
|
||||
|
||||
StepShape_CsgSolid::StepShape_CsgSolid () {}
|
||||
|
||||
void StepShape_CsgSolid::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName)
|
||||
{
|
||||
|
||||
StepRepr_RepresentationItem::Init(aName);
|
||||
}
|
||||
|
||||
void StepShape_CsgSolid::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const StepShape_CsgSelect& aTreeRootExpression)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
treeRootExpression = aTreeRootExpression;
|
||||
// --- classe inherited fields ---
|
||||
StepRepr_RepresentationItem::Init(aName);
|
||||
}
|
||||
|
||||
|
||||
void StepShape_CsgSolid::SetTreeRootExpression(const StepShape_CsgSelect& aTreeRootExpression)
|
||||
{
|
||||
treeRootExpression = aTreeRootExpression;
|
||||
}
|
||||
|
||||
StepShape_CsgSelect StepShape_CsgSolid::TreeRootExpression() const
|
||||
{
|
||||
return treeRootExpression;
|
||||
}
|
21
src/StepShape/StepShape_DefinitionalRepresentationAndShapeRepresentation.cdl
Executable file
21
src/StepShape/StepShape_DefinitionalRepresentationAndShapeRepresentation.cdl
Executable file
@@ -0,0 +1,21 @@
|
||||
-- File: StepShape_DefinitionalRepresentationAndShapeRepresentation.cdl
|
||||
-- Created: Thu Jul 6 14:10:05 2000
|
||||
-- Author: Andrey BETENEV
|
||||
-- <abv@nordox.nnov.matra-dtv.fr>
|
||||
---Copyright: Matra Datavision 2000
|
||||
|
||||
|
||||
class DefinitionalRepresentationAndShapeRepresentation from StepShape
|
||||
inherits DefinitionalRepresentation from StepRepr
|
||||
|
||||
---Purpose: Implements complex type
|
||||
-- (DEFINITIONAL_REPRESENTATION,REPRESENTATION,SHAPE_REPRESENTATION)
|
||||
|
||||
uses
|
||||
ShapeRepresentation from StepShape
|
||||
|
||||
is
|
||||
|
||||
Create returns DefinitionalRepresentationAndShapeRepresentation from StepShape;
|
||||
|
||||
end DefinitionalRepresentationAndShapeRepresentation;
|
11
src/StepShape/StepShape_DefinitionalRepresentationAndShapeRepresentation.cxx
Executable file
11
src/StepShape/StepShape_DefinitionalRepresentationAndShapeRepresentation.cxx
Executable file
@@ -0,0 +1,11 @@
|
||||
// File: StepShape_DefinitionalRepresentationAndShapeRepresentation.cxx
|
||||
// Created: Tue Jul 11 18:18:19 2000
|
||||
// Author: Andrey BETENEV
|
||||
// <abv@nordox.nnov.matra-dtv.fr>
|
||||
// <det@doomox>
|
||||
|
||||
#include <StepShape_DefinitionalRepresentationAndShapeRepresentation.ixx>
|
||||
|
||||
StepShape_DefinitionalRepresentationAndShapeRepresentation::StepShape_DefinitionalRepresentationAndShapeRepresentation ()
|
||||
{
|
||||
}
|
32
src/StepShape/StepShape_DimensionalCharacteristic.cdl
Executable file
32
src/StepShape/StepShape_DimensionalCharacteristic.cdl
Executable file
@@ -0,0 +1,32 @@
|
||||
-- File: StepShape_DimensionalCharacteristic.cdl
|
||||
-- Created: Tue Apr 18 16:42:57 2000
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class DimensionalCharacteristic from StepShape
|
||||
inherits SelectType from StepData
|
||||
|
||||
---Purpose: Representation of STEP SELECT type DimensionalCharacteristic
|
||||
|
||||
uses
|
||||
DimensionalLocation from StepShape,
|
||||
DimensionalSize from StepShape
|
||||
|
||||
is
|
||||
Create returns DimensionalCharacteristic from StepShape;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
CaseNum (me; ent: Transient) returns Integer;
|
||||
---Purpose: Recognizes a kind of DimensionalCharacteristic select type
|
||||
-- 1 -> DimensionalLocation from StepShape
|
||||
-- 2 -> DimensionalSize from StepShape
|
||||
-- 0 else
|
||||
|
||||
DimensionalLocation (me) returns DimensionalLocation from StepShape;
|
||||
---Purpose: Returns Value as DimensionalLocation (or Null if another type)
|
||||
|
||||
DimensionalSize (me) returns DimensionalSize from StepShape;
|
||||
---Purpose: Returns Value as DimensionalSize (or Null if another type)
|
||||
|
||||
end DimensionalCharacteristic;
|
49
src/StepShape/StepShape_DimensionalCharacteristic.cxx
Executable file
49
src/StepShape/StepShape_DimensionalCharacteristic.cxx
Executable file
@@ -0,0 +1,49 @@
|
||||
// File: StepShape_DimensionalCharacteristic.cxx
|
||||
// Created: Tue Apr 18 16:42:57 2000
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepShape_DimensionalCharacteristic.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepShape_DimensionalCharacteristic
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepShape_DimensionalCharacteristic::StepShape_DimensionalCharacteristic ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : CaseNum
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Standard_Integer StepShape_DimensionalCharacteristic::CaseNum (const Handle(Standard_Transient)& ent) const
|
||||
{
|
||||
if (ent.IsNull()) return 0;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepShape_DimensionalLocation))) return 1;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepShape_DimensionalSize))) return 2;
|
||||
return 0;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : DimensionalLocation
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepShape_DimensionalLocation) StepShape_DimensionalCharacteristic::DimensionalLocation () const
|
||||
{
|
||||
return Handle(StepShape_DimensionalLocation)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : DimensionalSize
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepShape_DimensionalSize) StepShape_DimensionalCharacteristic::DimensionalSize () const
|
||||
{
|
||||
return Handle(StepShape_DimensionalSize)::DownCast(Value());
|
||||
}
|
38
src/StepShape/StepShape_DimensionalCharacteristicRepresentation.cdl
Executable file
38
src/StepShape/StepShape_DimensionalCharacteristicRepresentation.cdl
Executable file
@@ -0,0 +1,38 @@
|
||||
-- File: StepShape_DimensionalCharacteristicRepresentation.cdl
|
||||
-- Created: Tue Apr 18 16:42:58 2000
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class DimensionalCharacteristicRepresentation from StepShape
|
||||
inherits TShared from MMgt
|
||||
|
||||
---Purpose: Representation of STEP entity DimensionalCharacteristicRepresentation
|
||||
|
||||
uses
|
||||
DimensionalCharacteristic from StepShape,
|
||||
ShapeDimensionRepresentation from StepShape
|
||||
|
||||
is
|
||||
Create returns DimensionalCharacteristicRepresentation from StepShape;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aDimension: DimensionalCharacteristic from StepShape;
|
||||
aRepresentation: ShapeDimensionRepresentation from StepShape);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
Dimension (me) returns DimensionalCharacteristic from StepShape;
|
||||
---Purpose: Returns field Dimension
|
||||
SetDimension (me: mutable; Dimension: DimensionalCharacteristic from StepShape);
|
||||
---Purpose: Set field Dimension
|
||||
|
||||
Representation (me) returns ShapeDimensionRepresentation from StepShape;
|
||||
---Purpose: Returns field Representation
|
||||
SetRepresentation (me: mutable; Representation: ShapeDimensionRepresentation from StepShape);
|
||||
---Purpose: Set field Representation
|
||||
|
||||
fields
|
||||
theDimension: DimensionalCharacteristic from StepShape;
|
||||
theRepresentation: ShapeDimensionRepresentation from StepShape;
|
||||
|
||||
end DimensionalCharacteristicRepresentation;
|
70
src/StepShape/StepShape_DimensionalCharacteristicRepresentation.cxx
Executable file
70
src/StepShape/StepShape_DimensionalCharacteristicRepresentation.cxx
Executable file
@@ -0,0 +1,70 @@
|
||||
// File: StepShape_DimensionalCharacteristicRepresentation.cxx
|
||||
// Created: Tue Apr 18 16:42:58 2000
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepShape_DimensionalCharacteristicRepresentation.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepShape_DimensionalCharacteristicRepresentation
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepShape_DimensionalCharacteristicRepresentation::StepShape_DimensionalCharacteristicRepresentation ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepShape_DimensionalCharacteristicRepresentation::Init (const StepShape_DimensionalCharacteristic &aDimension,
|
||||
const Handle(StepShape_ShapeDimensionRepresentation) &aRepresentation)
|
||||
{
|
||||
|
||||
theDimension = aDimension;
|
||||
|
||||
theRepresentation = aRepresentation;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Dimension
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepShape_DimensionalCharacteristic StepShape_DimensionalCharacteristicRepresentation::Dimension () const
|
||||
{
|
||||
return theDimension;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetDimension
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepShape_DimensionalCharacteristicRepresentation::SetDimension (const StepShape_DimensionalCharacteristic &aDimension)
|
||||
{
|
||||
theDimension = aDimension;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Representation
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepShape_ShapeDimensionRepresentation) StepShape_DimensionalCharacteristicRepresentation::Representation () const
|
||||
{
|
||||
return theRepresentation;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetRepresentation
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepShape_DimensionalCharacteristicRepresentation::SetRepresentation (const Handle(StepShape_ShapeDimensionRepresentation) &aRepresentation)
|
||||
{
|
||||
theRepresentation = aRepresentation;
|
||||
}
|
20
src/StepShape/StepShape_DimensionalLocation.cdl
Executable file
20
src/StepShape/StepShape_DimensionalLocation.cdl
Executable file
@@ -0,0 +1,20 @@
|
||||
-- File: StepShape_DimensionalLocation.cdl
|
||||
-- Created: Tue Apr 18 16:42:58 2000
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class DimensionalLocation from StepShape
|
||||
inherits ShapeAspectRelationship from StepRepr
|
||||
|
||||
---Purpose: Representation of STEP entity DimensionalLocation
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection,
|
||||
ShapeAspect from StepRepr
|
||||
|
||||
is
|
||||
Create returns DimensionalLocation from StepShape;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
end DimensionalLocation;
|
16
src/StepShape/StepShape_DimensionalLocation.cxx
Executable file
16
src/StepShape/StepShape_DimensionalLocation.cxx
Executable file
@@ -0,0 +1,16 @@
|
||||
// File: StepShape_DimensionalLocation.cxx
|
||||
// Created: Tue Apr 18 16:42:58 2000
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepShape_DimensionalLocation.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepShape_DimensionalLocation
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepShape_DimensionalLocation::StepShape_DimensionalLocation ()
|
||||
{
|
||||
}
|
36
src/StepShape/StepShape_DimensionalLocationWithPath.cdl
Executable file
36
src/StepShape/StepShape_DimensionalLocationWithPath.cdl
Executable file
@@ -0,0 +1,36 @@
|
||||
-- File: StepShape_DimensionalLocationWithPath.cdl
|
||||
-- Created: Tue Apr 18 16:42:58 2000
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class DimensionalLocationWithPath from StepShape
|
||||
inherits DimensionalLocation from StepShape
|
||||
|
||||
---Purpose: Representation of STEP entity DimensionalLocationWithPath
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection,
|
||||
ShapeAspect from StepRepr
|
||||
|
||||
is
|
||||
Create returns DimensionalLocationWithPath from StepShape;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aShapeAspectRelationship_Name: HAsciiString from TCollection;
|
||||
hasShapeAspectRelationship_Description: Boolean;
|
||||
aShapeAspectRelationship_Description: HAsciiString from TCollection;
|
||||
aShapeAspectRelationship_RelatingShapeAspect: ShapeAspect from StepRepr;
|
||||
aShapeAspectRelationship_RelatedShapeAspect: ShapeAspect from StepRepr;
|
||||
aPath: ShapeAspect from StepRepr);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
Path (me) returns ShapeAspect from StepRepr;
|
||||
---Purpose: Returns field Path
|
||||
SetPath (me: mutable; Path: ShapeAspect from StepRepr);
|
||||
---Purpose: Set field Path
|
||||
|
||||
fields
|
||||
thePath: ShapeAspect from StepRepr;
|
||||
|
||||
end DimensionalLocationWithPath;
|
57
src/StepShape/StepShape_DimensionalLocationWithPath.cxx
Executable file
57
src/StepShape/StepShape_DimensionalLocationWithPath.cxx
Executable file
@@ -0,0 +1,57 @@
|
||||
// File: StepShape_DimensionalLocationWithPath.cxx
|
||||
// Created: Tue Apr 18 16:42:58 2000
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepShape_DimensionalLocationWithPath.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepShape_DimensionalLocationWithPath
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepShape_DimensionalLocationWithPath::StepShape_DimensionalLocationWithPath ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepShape_DimensionalLocationWithPath::Init (const Handle(TCollection_HAsciiString) &aShapeAspectRelationship_Name,
|
||||
const Standard_Boolean hasShapeAspectRelationship_Description,
|
||||
const Handle(TCollection_HAsciiString) &aShapeAspectRelationship_Description,
|
||||
const Handle(StepRepr_ShapeAspect) &aShapeAspectRelationship_RelatingShapeAspect,
|
||||
const Handle(StepRepr_ShapeAspect) &aShapeAspectRelationship_RelatedShapeAspect,
|
||||
const Handle(StepRepr_ShapeAspect) &aPath)
|
||||
{
|
||||
StepShape_DimensionalLocation::Init(aShapeAspectRelationship_Name,
|
||||
hasShapeAspectRelationship_Description,
|
||||
aShapeAspectRelationship_Description,
|
||||
aShapeAspectRelationship_RelatingShapeAspect,
|
||||
aShapeAspectRelationship_RelatedShapeAspect);
|
||||
|
||||
thePath = aPath;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Path
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepRepr_ShapeAspect) StepShape_DimensionalLocationWithPath::Path () const
|
||||
{
|
||||
return thePath;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetPath
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepShape_DimensionalLocationWithPath::SetPath (const Handle(StepRepr_ShapeAspect) &aPath)
|
||||
{
|
||||
thePath = aPath;
|
||||
}
|
38
src/StepShape/StepShape_DimensionalSize.cdl
Executable file
38
src/StepShape/StepShape_DimensionalSize.cdl
Executable file
@@ -0,0 +1,38 @@
|
||||
-- File: StepShape_DimensionalSize.cdl
|
||||
-- Created: Tue Apr 18 16:42:58 2000
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class DimensionalSize from StepShape
|
||||
inherits TShared from MMgt
|
||||
|
||||
---Purpose: Representation of STEP entity DimensionalSize
|
||||
|
||||
uses
|
||||
ShapeAspect from StepRepr,
|
||||
HAsciiString from TCollection
|
||||
|
||||
is
|
||||
Create returns DimensionalSize from StepShape;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aAppliesTo: ShapeAspect from StepRepr;
|
||||
aName: HAsciiString from TCollection);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
AppliesTo (me) returns ShapeAspect from StepRepr;
|
||||
---Purpose: Returns field AppliesTo
|
||||
SetAppliesTo (me: mutable; AppliesTo: ShapeAspect from StepRepr);
|
||||
---Purpose: Set field AppliesTo
|
||||
|
||||
Name (me) returns HAsciiString from TCollection;
|
||||
---Purpose: Returns field Name
|
||||
SetName (me: mutable; Name: HAsciiString from TCollection);
|
||||
---Purpose: Set field Name
|
||||
|
||||
fields
|
||||
theAppliesTo: ShapeAspect from StepRepr;
|
||||
theName: HAsciiString from TCollection;
|
||||
|
||||
end DimensionalSize;
|
70
src/StepShape/StepShape_DimensionalSize.cxx
Executable file
70
src/StepShape/StepShape_DimensionalSize.cxx
Executable file
@@ -0,0 +1,70 @@
|
||||
// File: StepShape_DimensionalSize.cxx
|
||||
// Created: Tue Apr 18 16:42:58 2000
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepShape_DimensionalSize.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepShape_DimensionalSize
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepShape_DimensionalSize::StepShape_DimensionalSize ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepShape_DimensionalSize::Init (const Handle(StepRepr_ShapeAspect) &aAppliesTo,
|
||||
const Handle(TCollection_HAsciiString) &aName)
|
||||
{
|
||||
|
||||
theAppliesTo = aAppliesTo;
|
||||
|
||||
theName = aName;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : AppliesTo
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepRepr_ShapeAspect) StepShape_DimensionalSize::AppliesTo () const
|
||||
{
|
||||
return theAppliesTo;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetAppliesTo
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepShape_DimensionalSize::SetAppliesTo (const Handle(StepRepr_ShapeAspect) &aAppliesTo)
|
||||
{
|
||||
theAppliesTo = aAppliesTo;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Name
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(TCollection_HAsciiString) StepShape_DimensionalSize::Name () const
|
||||
{
|
||||
return theName;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetName
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepShape_DimensionalSize::SetName (const Handle(TCollection_HAsciiString) &aName)
|
||||
{
|
||||
theName = aName;
|
||||
}
|
33
src/StepShape/StepShape_DimensionalSizeWithPath.cdl
Executable file
33
src/StepShape/StepShape_DimensionalSizeWithPath.cdl
Executable file
@@ -0,0 +1,33 @@
|
||||
-- File: StepShape_DimensionalSizeWithPath.cdl
|
||||
-- Created: Tue Apr 18 16:42:58 2000
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class DimensionalSizeWithPath from StepShape
|
||||
inherits DimensionalSize from StepShape
|
||||
|
||||
---Purpose: Representation of STEP entity DimensionalSizeWithPath
|
||||
|
||||
uses
|
||||
ShapeAspect from StepRepr,
|
||||
HAsciiString from TCollection
|
||||
|
||||
is
|
||||
Create returns DimensionalSizeWithPath from StepShape;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aDimensionalSize_AppliesTo: ShapeAspect from StepRepr;
|
||||
aDimensionalSize_Name: HAsciiString from TCollection;
|
||||
aPath: ShapeAspect from StepRepr);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
Path (me) returns ShapeAspect from StepRepr;
|
||||
---Purpose: Returns field Path
|
||||
SetPath (me: mutable; Path: ShapeAspect from StepRepr);
|
||||
---Purpose: Set field Path
|
||||
|
||||
fields
|
||||
thePath: ShapeAspect from StepRepr;
|
||||
|
||||
end DimensionalSizeWithPath;
|
51
src/StepShape/StepShape_DimensionalSizeWithPath.cxx
Executable file
51
src/StepShape/StepShape_DimensionalSizeWithPath.cxx
Executable file
@@ -0,0 +1,51 @@
|
||||
// File: StepShape_DimensionalSizeWithPath.cxx
|
||||
// Created: Tue Apr 18 16:42:58 2000
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepShape_DimensionalSizeWithPath.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepShape_DimensionalSizeWithPath
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepShape_DimensionalSizeWithPath::StepShape_DimensionalSizeWithPath ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepShape_DimensionalSizeWithPath::Init (const Handle(StepRepr_ShapeAspect) &aDimensionalSize_AppliesTo,
|
||||
const Handle(TCollection_HAsciiString) &aDimensionalSize_Name,
|
||||
const Handle(StepRepr_ShapeAspect) &aPath)
|
||||
{
|
||||
StepShape_DimensionalSize::Init(aDimensionalSize_AppliesTo,
|
||||
aDimensionalSize_Name);
|
||||
|
||||
thePath = aPath;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Path
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepRepr_ShapeAspect) StepShape_DimensionalSizeWithPath::Path () const
|
||||
{
|
||||
return thePath;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetPath
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepShape_DimensionalSizeWithPath::SetPath (const Handle(StepRepr_ShapeAspect) &aPath)
|
||||
{
|
||||
thePath = aPath;
|
||||
}
|
19
src/StepShape/StepShape_DirectedDimensionalLocation.cdl
Executable file
19
src/StepShape/StepShape_DirectedDimensionalLocation.cdl
Executable file
@@ -0,0 +1,19 @@
|
||||
-- File: StepShape_DirectedDimensionalLocation.cdl
|
||||
-- Created: Tue Apr 24 12:16:53 2001
|
||||
-- Author: Christian CAILLET
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class DirectedDimensionalLocation from StepShape
|
||||
inherits DimensionalLocation from StepShape
|
||||
|
||||
---Purpose: Representation of STEP entity DirectedDimensionalLocation
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection
|
||||
|
||||
is
|
||||
Create returns DirectedDimensionalLocation from StepShape;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
end DirectedDimensionalLocation;
|
3
src/StepShape/StepShape_DirectedDimensionalLocation.cxx
Executable file
3
src/StepShape/StepShape_DirectedDimensionalLocation.cxx
Executable file
@@ -0,0 +1,3 @@
|
||||
#include <StepShape_DirectedDimensionalLocation.ixx>
|
||||
|
||||
StepShape_DirectedDimensionalLocation::StepShape_DirectedDimensionalLocation () { }
|
45
src/StepShape/StepShape_Edge.cdl
Executable file
45
src/StepShape/StepShape_Edge.cdl
Executable file
@@ -0,0 +1,45 @@
|
||||
-- File: Edge.cdl
|
||||
-- Created: Fri Dec 1 11:11:19 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class Edge from StepShape
|
||||
|
||||
inherits TopologicalRepresentationItem from StepShape
|
||||
|
||||
uses
|
||||
|
||||
Vertex from StepShape,
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns mutable Edge;
|
||||
---Purpose: Returns a Edge
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aEdgeStart : mutable Vertex from StepShape;
|
||||
aEdgeEnd : mutable Vertex from StepShape) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetEdgeStart(me : mutable; aEdgeStart : mutable Vertex)
|
||||
is virtual;
|
||||
EdgeStart (me) returns mutable Vertex
|
||||
is virtual;
|
||||
SetEdgeEnd(me : mutable; aEdgeEnd : mutable Vertex)
|
||||
is virtual;
|
||||
EdgeEnd (me) returns mutable Vertex
|
||||
is virtual;
|
||||
|
||||
fields
|
||||
|
||||
edgeStart : Vertex from StepShape;
|
||||
edgeEnd : Vertex from StepShape;
|
||||
|
||||
end Edge;
|
44
src/StepShape/StepShape_Edge.cxx
Executable file
44
src/StepShape/StepShape_Edge.cxx
Executable file
@@ -0,0 +1,44 @@
|
||||
#include <StepShape_Edge.ixx>
|
||||
|
||||
|
||||
StepShape_Edge::StepShape_Edge () {}
|
||||
|
||||
void StepShape_Edge::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName)
|
||||
{
|
||||
|
||||
StepRepr_RepresentationItem::Init(aName);
|
||||
}
|
||||
|
||||
void StepShape_Edge::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepShape_Vertex)& aEdgeStart,
|
||||
const Handle(StepShape_Vertex)& aEdgeEnd)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
edgeStart = aEdgeStart;
|
||||
edgeEnd = aEdgeEnd;
|
||||
// --- classe inherited fields ---
|
||||
StepRepr_RepresentationItem::Init(aName);
|
||||
}
|
||||
|
||||
|
||||
void StepShape_Edge::SetEdgeStart(const Handle(StepShape_Vertex)& aEdgeStart)
|
||||
{
|
||||
edgeStart = aEdgeStart;
|
||||
}
|
||||
|
||||
Handle(StepShape_Vertex) StepShape_Edge::EdgeStart() const
|
||||
{
|
||||
return edgeStart;
|
||||
}
|
||||
|
||||
void StepShape_Edge::SetEdgeEnd(const Handle(StepShape_Vertex)& aEdgeEnd)
|
||||
{
|
||||
edgeEnd = aEdgeEnd;
|
||||
}
|
||||
|
||||
Handle(StepShape_Vertex) StepShape_Edge::EdgeEnd() const
|
||||
{
|
||||
return edgeEnd;
|
||||
}
|
32
src/StepShape/StepShape_EdgeBasedWireframeModel.cdl
Executable file
32
src/StepShape/StepShape_EdgeBasedWireframeModel.cdl
Executable file
@@ -0,0 +1,32 @@
|
||||
-- File: StepShape_EdgeBasedWireframeModel.cdl
|
||||
-- Created: Fri Dec 28 16:02:01 2001
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
|
||||
-- Copyright: Matra Datavision 2000
|
||||
|
||||
class EdgeBasedWireframeModel from StepShape
|
||||
inherits GeometricRepresentationItem from StepGeom
|
||||
|
||||
---Purpose: Representation of STEP entity EdgeBasedWireframeModel
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection,
|
||||
HArray1OfConnectedEdgeSet from StepShape
|
||||
|
||||
is
|
||||
Create returns EdgeBasedWireframeModel from StepShape;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aRepresentationItem_Name: HAsciiString from TCollection;
|
||||
aEbwmBoundary: HArray1OfConnectedEdgeSet from StepShape);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
EbwmBoundary (me) returns HArray1OfConnectedEdgeSet from StepShape;
|
||||
---Purpose: Returns field EbwmBoundary
|
||||
SetEbwmBoundary (me: mutable; EbwmBoundary: HArray1OfConnectedEdgeSet from StepShape);
|
||||
---Purpose: Set field EbwmBoundary
|
||||
|
||||
fields
|
||||
theEbwmBoundary: HArray1OfConnectedEdgeSet from StepShape;
|
||||
|
||||
end EdgeBasedWireframeModel;
|
49
src/StepShape/StepShape_EdgeBasedWireframeModel.cxx
Executable file
49
src/StepShape/StepShape_EdgeBasedWireframeModel.cxx
Executable file
@@ -0,0 +1,49 @@
|
||||
// File: StepShape_EdgeBasedWireframeModel.cxx
|
||||
// Created: Fri Dec 28 16:02:01 2001
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
|
||||
// Copyright: Matra Datavision 2000
|
||||
|
||||
#include <StepShape_EdgeBasedWireframeModel.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepShape_EdgeBasedWireframeModel
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepShape_EdgeBasedWireframeModel::StepShape_EdgeBasedWireframeModel ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepShape_EdgeBasedWireframeModel::Init (const Handle(TCollection_HAsciiString) &aRepresentationItem_Name,
|
||||
const Handle(StepShape_HArray1OfConnectedEdgeSet) &aEbwmBoundary)
|
||||
{
|
||||
StepGeom_GeometricRepresentationItem::Init(aRepresentationItem_Name);
|
||||
|
||||
theEbwmBoundary = aEbwmBoundary;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : EbwmBoundary
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepShape_HArray1OfConnectedEdgeSet) StepShape_EdgeBasedWireframeModel::EbwmBoundary () const
|
||||
{
|
||||
return theEbwmBoundary;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetEbwmBoundary
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepShape_EdgeBasedWireframeModel::SetEbwmBoundary (const Handle(StepShape_HArray1OfConnectedEdgeSet) &aEbwmBoundary)
|
||||
{
|
||||
theEbwmBoundary = aEbwmBoundary;
|
||||
}
|
21
src/StepShape/StepShape_EdgeBasedWireframeShapeRepresentation.cdl
Executable file
21
src/StepShape/StepShape_EdgeBasedWireframeShapeRepresentation.cdl
Executable file
@@ -0,0 +1,21 @@
|
||||
-- File: StepShape_EdgeBasedWireframeShapeRepresentation.cdl
|
||||
-- Created: Fri Dec 28 16:02:01 2001
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
|
||||
-- Copyright: Matra Datavision 2000
|
||||
|
||||
class EdgeBasedWireframeShapeRepresentation from StepShape
|
||||
inherits ShapeRepresentation from StepShape
|
||||
|
||||
---Purpose: Representation of STEP entity EdgeBasedWireframeShapeRepresentation
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection,
|
||||
HArray1OfRepresentationItem from StepRepr,
|
||||
RepresentationContext from StepRepr
|
||||
|
||||
is
|
||||
Create returns EdgeBasedWireframeShapeRepresentation from StepShape;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
end EdgeBasedWireframeShapeRepresentation;
|
16
src/StepShape/StepShape_EdgeBasedWireframeShapeRepresentation.cxx
Executable file
16
src/StepShape/StepShape_EdgeBasedWireframeShapeRepresentation.cxx
Executable file
@@ -0,0 +1,16 @@
|
||||
// File: StepShape_EdgeBasedWireframeShapeRepresentation.cxx
|
||||
// Created: Fri Dec 28 16:02:01 2001
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
|
||||
// Copyright: Matra Datavision 2000
|
||||
|
||||
#include <StepShape_EdgeBasedWireframeShapeRepresentation.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepShape_EdgeBasedWireframeShapeRepresentation
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepShape_EdgeBasedWireframeShapeRepresentation::StepShape_EdgeBasedWireframeShapeRepresentation ()
|
||||
{
|
||||
}
|
50
src/StepShape/StepShape_EdgeCurve.cdl
Executable file
50
src/StepShape/StepShape_EdgeCurve.cdl
Executable file
@@ -0,0 +1,50 @@
|
||||
-- File: EdgeCurve.cdl
|
||||
-- Created: Fri Dec 1 11:11:19 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class EdgeCurve from StepShape
|
||||
|
||||
inherits Edge from StepShape
|
||||
-- WARNING : Multiple EXPRESS inheritance
|
||||
-- Not yet automaticly managed
|
||||
-- inherits GeometricRepresentationItem from StepShape
|
||||
|
||||
uses
|
||||
|
||||
Curve from StepGeom,
|
||||
Boolean from Standard,
|
||||
HAsciiString from TCollection,
|
||||
Vertex from StepShape
|
||||
is
|
||||
|
||||
Create returns mutable EdgeCurve;
|
||||
---Purpose: Returns a EdgeCurve
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aEdgeStart : mutable Vertex from StepShape;
|
||||
aEdgeEnd : mutable Vertex from StepShape) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aEdgeStart : mutable Vertex from StepShape;
|
||||
aEdgeEnd : mutable Vertex from StepShape;
|
||||
aEdgeGeometry : mutable Curve from StepGeom;
|
||||
aSameSense : Boolean from Standard) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetEdgeGeometry(me : mutable; aEdgeGeometry : mutable Curve);
|
||||
EdgeGeometry (me) returns mutable Curve;
|
||||
SetSameSense(me : mutable; aSameSense : Boolean);
|
||||
SameSense (me) returns Boolean;
|
||||
|
||||
fields
|
||||
|
||||
edgeGeometry : Curve from StepGeom;
|
||||
sameSense : Boolean from Standard;
|
||||
|
||||
end EdgeCurve;
|
48
src/StepShape/StepShape_EdgeCurve.cxx
Executable file
48
src/StepShape/StepShape_EdgeCurve.cxx
Executable file
@@ -0,0 +1,48 @@
|
||||
#include <StepShape_EdgeCurve.ixx>
|
||||
|
||||
|
||||
StepShape_EdgeCurve::StepShape_EdgeCurve () {}
|
||||
|
||||
void StepShape_EdgeCurve::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepShape_Vertex)& aEdgeStart,
|
||||
const Handle(StepShape_Vertex)& aEdgeEnd)
|
||||
{
|
||||
|
||||
StepShape_Edge::Init(aName, aEdgeStart, aEdgeEnd);
|
||||
}
|
||||
|
||||
void StepShape_EdgeCurve::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepShape_Vertex)& aEdgeStart,
|
||||
const Handle(StepShape_Vertex)& aEdgeEnd,
|
||||
const Handle(StepGeom_Curve)& aEdgeGeometry,
|
||||
const Standard_Boolean aSameSense)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
edgeGeometry = aEdgeGeometry;
|
||||
sameSense = aSameSense;
|
||||
// --- classe inherited fields ---
|
||||
StepShape_Edge::Init(aName, aEdgeStart, aEdgeEnd);
|
||||
}
|
||||
|
||||
|
||||
void StepShape_EdgeCurve::SetEdgeGeometry(const Handle(StepGeom_Curve)& aEdgeGeometry)
|
||||
{
|
||||
edgeGeometry = aEdgeGeometry;
|
||||
}
|
||||
|
||||
Handle(StepGeom_Curve) StepShape_EdgeCurve::EdgeGeometry() const
|
||||
{
|
||||
return edgeGeometry;
|
||||
}
|
||||
|
||||
void StepShape_EdgeCurve::SetSameSense(const Standard_Boolean aSameSense)
|
||||
{
|
||||
sameSense = aSameSense;
|
||||
}
|
||||
|
||||
Standard_Boolean StepShape_EdgeCurve::SameSense() const
|
||||
{
|
||||
return sameSense;
|
||||
}
|
50
src/StepShape/StepShape_EdgeLoop.cdl
Executable file
50
src/StepShape/StepShape_EdgeLoop.cdl
Executable file
@@ -0,0 +1,50 @@
|
||||
-- File: EdgeLoop.cdl
|
||||
-- Created: Fri Dec 1 11:11:19 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class EdgeLoop from StepShape
|
||||
|
||||
inherits Loop from StepShape
|
||||
-- WARNING : Multiple EXPRESS inheritance
|
||||
-- Not yet automaticly managed
|
||||
-- inherits Path from StepShape
|
||||
|
||||
|
||||
-- Hand made changes : All the attributes theoricly inherited from the Path
|
||||
-- entity are explicitly declared in the EdgeLoop entity.
|
||||
-- The path is not directly referenced by any other entities. As far as
|
||||
-- Path supertype, topological representation item, is also a
|
||||
-- supertype of Edge, this mapping is equivalent.
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection,
|
||||
HArray1OfOrientedEdge from StepShape,
|
||||
OrientedEdge from StepShape
|
||||
|
||||
is
|
||||
|
||||
Create returns mutable EdgeLoop;
|
||||
---Purpose: Returns a EdgeLoop
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aEdgeList : mutable HArray1OfOrientedEdge from StepShape);
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetEdgeList(me : mutable; aEdgeList : mutable HArray1OfOrientedEdge);
|
||||
EdgeList (me) returns mutable HArray1OfOrientedEdge;
|
||||
EdgeListValue (me; num : Integer) returns mutable OrientedEdge;
|
||||
NbEdgeList (me) returns Integer;
|
||||
|
||||
fields
|
||||
|
||||
edgeList : HArray1OfOrientedEdge from StepShape;
|
||||
|
||||
end EdgeLoop;
|
41
src/StepShape/StepShape_EdgeLoop.cxx
Executable file
41
src/StepShape/StepShape_EdgeLoop.cxx
Executable file
@@ -0,0 +1,41 @@
|
||||
#include <StepShape_EdgeLoop.ixx>
|
||||
|
||||
|
||||
StepShape_EdgeLoop::StepShape_EdgeLoop () {}
|
||||
|
||||
void StepShape_EdgeLoop::Init(const Handle(TCollection_HAsciiString)& aName)
|
||||
{
|
||||
StepRepr_RepresentationItem::Init(aName);
|
||||
}
|
||||
|
||||
void StepShape_EdgeLoop::Init
|
||||
(const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepShape_HArray1OfOrientedEdge)& aEdgeList)
|
||||
{
|
||||
// --- class inherited fields ---
|
||||
StepRepr_RepresentationItem::Init(aName);
|
||||
// --- class own fields ---
|
||||
edgeList = aEdgeList;
|
||||
}
|
||||
|
||||
|
||||
void StepShape_EdgeLoop::SetEdgeList(const Handle(StepShape_HArray1OfOrientedEdge)& aEdgeList)
|
||||
{
|
||||
edgeList = aEdgeList;
|
||||
}
|
||||
|
||||
Handle(StepShape_HArray1OfOrientedEdge) StepShape_EdgeLoop::EdgeList() const
|
||||
{
|
||||
return edgeList;
|
||||
}
|
||||
|
||||
Handle(StepShape_OrientedEdge) StepShape_EdgeLoop::EdgeListValue(const Standard_Integer num) const
|
||||
{
|
||||
return edgeList->Value(num);
|
||||
}
|
||||
|
||||
Standard_Integer StepShape_EdgeLoop::NbEdgeList () const
|
||||
{
|
||||
if (edgeList.IsNull()) return 0;
|
||||
return edgeList->Length();
|
||||
}
|
45
src/StepShape/StepShape_ExtrudedAreaSolid.cdl
Executable file
45
src/StepShape/StepShape_ExtrudedAreaSolid.cdl
Executable file
@@ -0,0 +1,45 @@
|
||||
-- File: ExtrudedAreaSolid.cdl
|
||||
-- Created: Fri Dec 1 11:11:20 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class ExtrudedAreaSolid from StepShape
|
||||
|
||||
inherits SweptAreaSolid from StepShape
|
||||
|
||||
uses
|
||||
|
||||
Direction from StepGeom,
|
||||
Real from Standard,
|
||||
HAsciiString from TCollection,
|
||||
CurveBoundedSurface from StepGeom
|
||||
is
|
||||
|
||||
Create returns mutable ExtrudedAreaSolid;
|
||||
---Purpose: Returns a ExtrudedAreaSolid
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aSweptArea : mutable CurveBoundedSurface from StepGeom) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aSweptArea : mutable CurveBoundedSurface from StepGeom;
|
||||
aExtrudedDirection : mutable Direction from StepGeom;
|
||||
aDepth : Real from Standard) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetExtrudedDirection(me : mutable; aExtrudedDirection : mutable Direction);
|
||||
ExtrudedDirection (me) returns mutable Direction;
|
||||
SetDepth(me : mutable; aDepth : Real);
|
||||
Depth (me) returns Real;
|
||||
|
||||
fields
|
||||
|
||||
extrudedDirection : Direction from StepGeom;
|
||||
depth : Real from Standard;
|
||||
|
||||
end ExtrudedAreaSolid;
|
46
src/StepShape/StepShape_ExtrudedAreaSolid.cxx
Executable file
46
src/StepShape/StepShape_ExtrudedAreaSolid.cxx
Executable file
@@ -0,0 +1,46 @@
|
||||
#include <StepShape_ExtrudedAreaSolid.ixx>
|
||||
|
||||
|
||||
StepShape_ExtrudedAreaSolid::StepShape_ExtrudedAreaSolid () {}
|
||||
|
||||
void StepShape_ExtrudedAreaSolid::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepGeom_CurveBoundedSurface)& aSweptArea)
|
||||
{
|
||||
|
||||
StepShape_SweptAreaSolid::Init(aName, aSweptArea);
|
||||
}
|
||||
|
||||
void StepShape_ExtrudedAreaSolid::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepGeom_CurveBoundedSurface)& aSweptArea,
|
||||
const Handle(StepGeom_Direction)& aExtrudedDirection,
|
||||
const Standard_Real aDepth)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
extrudedDirection = aExtrudedDirection;
|
||||
depth = aDepth;
|
||||
// --- classe inherited fields ---
|
||||
StepShape_SweptAreaSolid::Init(aName, aSweptArea);
|
||||
}
|
||||
|
||||
|
||||
void StepShape_ExtrudedAreaSolid::SetExtrudedDirection(const Handle(StepGeom_Direction)& aExtrudedDirection)
|
||||
{
|
||||
extrudedDirection = aExtrudedDirection;
|
||||
}
|
||||
|
||||
Handle(StepGeom_Direction) StepShape_ExtrudedAreaSolid::ExtrudedDirection() const
|
||||
{
|
||||
return extrudedDirection;
|
||||
}
|
||||
|
||||
void StepShape_ExtrudedAreaSolid::SetDepth(const Standard_Real aDepth)
|
||||
{
|
||||
depth = aDepth;
|
||||
}
|
||||
|
||||
Standard_Real StepShape_ExtrudedAreaSolid::Depth() const
|
||||
{
|
||||
return depth;
|
||||
}
|
47
src/StepShape/StepShape_ExtrudedFaceSolid.cdl
Executable file
47
src/StepShape/StepShape_ExtrudedFaceSolid.cdl
Executable file
@@ -0,0 +1,47 @@
|
||||
-- File: StepShape_ExtrudedFaceSolid.cdl
|
||||
-- Created: Thu Mar 11 11:08:17 1999
|
||||
-- Author: data exchange team
|
||||
-- <det@androx.nnov.matra-dtv.fr>
|
||||
---Copyright: Matra Datavision 1999
|
||||
|
||||
|
||||
class ExtrudedFaceSolid from StepShape
|
||||
inherits SweptFaceSolid from StepShape
|
||||
|
||||
uses
|
||||
|
||||
Direction from StepGeom,
|
||||
Real from Standard,
|
||||
HAsciiString from TCollection,
|
||||
FaceSurface from StepShape
|
||||
|
||||
is
|
||||
|
||||
Create returns mutable ExtrudedFaceSolid;
|
||||
---Purpose: Returns a ExtrudedFaceSolid
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aSweptArea : mutable FaceSurface from StepShape) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aSweptArea : mutable FaceSurface from StepShape;
|
||||
aExtrudedDirection : mutable Direction from StepGeom;
|
||||
aDepth : Real from Standard) ;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetExtrudedDirection(me : mutable; aExtrudedDirection : mutable Direction);
|
||||
ExtrudedDirection (me) returns mutable Direction;
|
||||
SetDepth(me : mutable; aDepth : Real);
|
||||
Depth (me) returns Real;
|
||||
|
||||
|
||||
fields
|
||||
|
||||
extrudedDirection : Direction from StepGeom;
|
||||
depth : Real from Standard;
|
||||
|
||||
end ExtrudedFaceSolid;
|
46
src/StepShape/StepShape_ExtrudedFaceSolid.cxx
Executable file
46
src/StepShape/StepShape_ExtrudedFaceSolid.cxx
Executable file
@@ -0,0 +1,46 @@
|
||||
#include <StepShape_ExtrudedFaceSolid.ixx>
|
||||
|
||||
|
||||
StepShape_ExtrudedFaceSolid::StepShape_ExtrudedFaceSolid () {}
|
||||
|
||||
void StepShape_ExtrudedFaceSolid::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepShape_FaceSurface)& aSweptArea)
|
||||
{
|
||||
|
||||
StepShape_SweptFaceSolid::Init(aName, aSweptArea);
|
||||
}
|
||||
|
||||
void StepShape_ExtrudedFaceSolid::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepShape_FaceSurface)& aSweptArea,
|
||||
const Handle(StepGeom_Direction)& aExtrudedDirection,
|
||||
const Standard_Real aDepth)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
extrudedDirection = aExtrudedDirection;
|
||||
depth = aDepth;
|
||||
// --- classe inherited fields ---
|
||||
StepShape_SweptFaceSolid::Init(aName, aSweptArea);
|
||||
}
|
||||
|
||||
|
||||
void StepShape_ExtrudedFaceSolid::SetExtrudedDirection(const Handle(StepGeom_Direction)& aExtrudedDirection)
|
||||
{
|
||||
extrudedDirection = aExtrudedDirection;
|
||||
}
|
||||
|
||||
Handle(StepGeom_Direction) StepShape_ExtrudedFaceSolid::ExtrudedDirection() const
|
||||
{
|
||||
return extrudedDirection;
|
||||
}
|
||||
|
||||
void StepShape_ExtrudedFaceSolid::SetDepth(const Standard_Real aDepth)
|
||||
{
|
||||
depth = aDepth;
|
||||
}
|
||||
|
||||
Standard_Real StepShape_ExtrudedFaceSolid::Depth() const
|
||||
{
|
||||
return depth;
|
||||
}
|
44
src/StepShape/StepShape_Face.cdl
Executable file
44
src/StepShape/StepShape_Face.cdl
Executable file
@@ -0,0 +1,44 @@
|
||||
-- File: Face.cdl
|
||||
-- Created: Fri Dec 1 11:11:20 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class Face from StepShape
|
||||
|
||||
inherits TopologicalRepresentationItem from StepShape
|
||||
|
||||
uses
|
||||
|
||||
HArray1OfFaceBound from StepShape,
|
||||
FaceBound from StepShape,
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns mutable Face;
|
||||
---Purpose: Returns a Face
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aBounds : mutable HArray1OfFaceBound from StepShape) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetBounds(me : mutable; aBounds : mutable HArray1OfFaceBound)
|
||||
is virtual;
|
||||
Bounds (me) returns mutable HArray1OfFaceBound
|
||||
is virtual;
|
||||
BoundsValue (me; num : Integer) returns mutable FaceBound
|
||||
is virtual;
|
||||
NbBounds (me) returns Integer
|
||||
is virtual;
|
||||
|
||||
fields
|
||||
|
||||
bounds : HArray1OfFaceBound from StepShape;
|
||||
|
||||
end Face;
|
43
src/StepShape/StepShape_Face.cxx
Executable file
43
src/StepShape/StepShape_Face.cxx
Executable file
@@ -0,0 +1,43 @@
|
||||
#include <StepShape_Face.ixx>
|
||||
|
||||
|
||||
StepShape_Face::StepShape_Face () {}
|
||||
|
||||
void StepShape_Face::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName)
|
||||
{
|
||||
|
||||
StepRepr_RepresentationItem::Init(aName);
|
||||
}
|
||||
|
||||
void StepShape_Face::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepShape_HArray1OfFaceBound)& aBounds)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
bounds = aBounds;
|
||||
// --- classe inherited fields ---
|
||||
StepRepr_RepresentationItem::Init(aName);
|
||||
}
|
||||
|
||||
|
||||
void StepShape_Face::SetBounds(const Handle(StepShape_HArray1OfFaceBound)& aBounds)
|
||||
{
|
||||
bounds = aBounds;
|
||||
}
|
||||
|
||||
Handle(StepShape_HArray1OfFaceBound) StepShape_Face::Bounds() const
|
||||
{
|
||||
return bounds;
|
||||
}
|
||||
|
||||
Handle(StepShape_FaceBound) StepShape_Face::BoundsValue(const Standard_Integer num) const
|
||||
{
|
||||
return bounds->Value(num);
|
||||
}
|
||||
|
||||
Standard_Integer StepShape_Face::NbBounds () const
|
||||
{
|
||||
if (bounds.IsNull()) return 0;
|
||||
return bounds->Length();
|
||||
}
|
32
src/StepShape/StepShape_FaceBasedSurfaceModel.cdl
Executable file
32
src/StepShape/StepShape_FaceBasedSurfaceModel.cdl
Executable file
@@ -0,0 +1,32 @@
|
||||
-- File: StepShape_FaceBasedSurfaceModel.cdl
|
||||
-- Created: Fri Dec 28 16:02:01 2001
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
|
||||
-- Copyright: Matra Datavision 2000
|
||||
|
||||
class FaceBasedSurfaceModel from StepShape
|
||||
inherits GeometricRepresentationItem from StepGeom
|
||||
|
||||
---Purpose: Representation of STEP entity FaceBasedSurfaceModel
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection,
|
||||
HArray1OfConnectedFaceSet from StepShape
|
||||
|
||||
is
|
||||
Create returns FaceBasedSurfaceModel from StepShape;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aRepresentationItem_Name: HAsciiString from TCollection;
|
||||
aFbsmFaces: HArray1OfConnectedFaceSet from StepShape);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
FbsmFaces (me) returns HArray1OfConnectedFaceSet from StepShape;
|
||||
---Purpose: Returns field FbsmFaces
|
||||
SetFbsmFaces (me: mutable; FbsmFaces: HArray1OfConnectedFaceSet from StepShape);
|
||||
---Purpose: Set field FbsmFaces
|
||||
|
||||
fields
|
||||
theFbsmFaces: HArray1OfConnectedFaceSet from StepShape;
|
||||
|
||||
end FaceBasedSurfaceModel;
|
49
src/StepShape/StepShape_FaceBasedSurfaceModel.cxx
Executable file
49
src/StepShape/StepShape_FaceBasedSurfaceModel.cxx
Executable file
@@ -0,0 +1,49 @@
|
||||
// File: StepShape_FaceBasedSurfaceModel.cxx
|
||||
// Created: Fri Dec 28 16:02:01 2001
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
|
||||
// Copyright: Matra Datavision 2000
|
||||
|
||||
#include <StepShape_FaceBasedSurfaceModel.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepShape_FaceBasedSurfaceModel
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepShape_FaceBasedSurfaceModel::StepShape_FaceBasedSurfaceModel ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepShape_FaceBasedSurfaceModel::Init (const Handle(TCollection_HAsciiString) &aRepresentationItem_Name,
|
||||
const Handle(StepShape_HArray1OfConnectedFaceSet) &aFbsmFaces)
|
||||
{
|
||||
StepGeom_GeometricRepresentationItem::Init(aRepresentationItem_Name);
|
||||
|
||||
theFbsmFaces = aFbsmFaces;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : FbsmFaces
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepShape_HArray1OfConnectedFaceSet) StepShape_FaceBasedSurfaceModel::FbsmFaces () const
|
||||
{
|
||||
return theFbsmFaces;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetFbsmFaces
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepShape_FaceBasedSurfaceModel::SetFbsmFaces (const Handle(StepShape_HArray1OfConnectedFaceSet) &aFbsmFaces)
|
||||
{
|
||||
theFbsmFaces = aFbsmFaces;
|
||||
}
|
42
src/StepShape/StepShape_FaceBound.cdl
Executable file
42
src/StepShape/StepShape_FaceBound.cdl
Executable file
@@ -0,0 +1,42 @@
|
||||
-- File: FaceBound.cdl
|
||||
-- Created: Fri Dec 1 11:11:20 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class FaceBound from StepShape
|
||||
|
||||
inherits TopologicalRepresentationItem from StepShape
|
||||
|
||||
uses
|
||||
|
||||
Loop from StepShape,
|
||||
Boolean from Standard,
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns mutable FaceBound;
|
||||
---Purpose: Returns a FaceBound
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aBound : mutable Loop from StepShape;
|
||||
aOrientation : Boolean from Standard) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetBound(me : mutable; aBound : mutable Loop);
|
||||
Bound (me) returns mutable Loop;
|
||||
SetOrientation(me : mutable; aOrientation : Boolean);
|
||||
Orientation (me) returns Boolean;
|
||||
|
||||
fields
|
||||
|
||||
bound : Loop from StepShape;
|
||||
orientation : Boolean from Standard;
|
||||
|
||||
end FaceBound;
|
44
src/StepShape/StepShape_FaceBound.cxx
Executable file
44
src/StepShape/StepShape_FaceBound.cxx
Executable file
@@ -0,0 +1,44 @@
|
||||
#include <StepShape_FaceBound.ixx>
|
||||
|
||||
|
||||
StepShape_FaceBound::StepShape_FaceBound () {}
|
||||
|
||||
void StepShape_FaceBound::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName)
|
||||
{
|
||||
|
||||
StepRepr_RepresentationItem::Init(aName);
|
||||
}
|
||||
|
||||
void StepShape_FaceBound::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepShape_Loop)& aBound,
|
||||
const Standard_Boolean aOrientation)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
bound = aBound;
|
||||
orientation = aOrientation;
|
||||
// --- classe inherited fields ---
|
||||
StepRepr_RepresentationItem::Init(aName);
|
||||
}
|
||||
|
||||
|
||||
void StepShape_FaceBound::SetBound(const Handle(StepShape_Loop)& aBound)
|
||||
{
|
||||
bound = aBound;
|
||||
}
|
||||
|
||||
Handle(StepShape_Loop) StepShape_FaceBound::Bound() const
|
||||
{
|
||||
return bound;
|
||||
}
|
||||
|
||||
void StepShape_FaceBound::SetOrientation(const Standard_Boolean aOrientation)
|
||||
{
|
||||
orientation = aOrientation;
|
||||
}
|
||||
|
||||
Standard_Boolean StepShape_FaceBound::Orientation() const
|
||||
{
|
||||
return orientation;
|
||||
}
|
22
src/StepShape/StepShape_FaceOuterBound.cdl
Executable file
22
src/StepShape/StepShape_FaceOuterBound.cdl
Executable file
@@ -0,0 +1,22 @@
|
||||
-- File: FaceOuterBound.cdl
|
||||
-- Created: Fri Dec 1 11:11:20 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class FaceOuterBound from StepShape
|
||||
|
||||
inherits FaceBound from StepShape
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection,
|
||||
Loop from StepShape,
|
||||
Boolean from Standard
|
||||
is
|
||||
|
||||
Create returns mutable FaceOuterBound;
|
||||
---Purpose: Returns a FaceOuterBound
|
||||
|
||||
|
||||
end FaceOuterBound;
|
5
src/StepShape/StepShape_FaceOuterBound.cxx
Executable file
5
src/StepShape/StepShape_FaceOuterBound.cxx
Executable file
@@ -0,0 +1,5 @@
|
||||
#include <StepShape_FaceOuterBound.ixx>
|
||||
|
||||
|
||||
StepShape_FaceOuterBound::StepShape_FaceOuterBound () {}
|
||||
|
48
src/StepShape/StepShape_FaceSurface.cdl
Executable file
48
src/StepShape/StepShape_FaceSurface.cdl
Executable file
@@ -0,0 +1,48 @@
|
||||
-- File: FaceSurface.cdl
|
||||
-- Created: Fri Dec 1 11:11:20 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class FaceSurface from StepShape
|
||||
|
||||
inherits Face from StepShape
|
||||
-- WARNING : Multiple EXPRESS inheritance
|
||||
-- Not yet automaticly managed
|
||||
-- inherits GeometricRepresentationItem from StepShape
|
||||
|
||||
uses
|
||||
|
||||
Surface from StepGeom,
|
||||
Boolean from Standard,
|
||||
HAsciiString from TCollection,
|
||||
HArray1OfFaceBound from StepShape
|
||||
is
|
||||
|
||||
Create returns mutable FaceSurface;
|
||||
---Purpose: Returns a FaceSurface
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aBounds : mutable HArray1OfFaceBound from StepShape) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aBounds : mutable HArray1OfFaceBound from StepShape;
|
||||
aFaceGeometry : mutable Surface from StepGeom;
|
||||
aSameSense : Boolean from Standard) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetFaceGeometry(me : mutable; aFaceGeometry : mutable Surface);
|
||||
FaceGeometry (me) returns mutable Surface;
|
||||
SetSameSense(me : mutable; aSameSense : Boolean);
|
||||
SameSense (me) returns Boolean;
|
||||
|
||||
fields
|
||||
|
||||
faceGeometry : Surface from StepGeom;
|
||||
sameSense : Boolean from Standard;
|
||||
|
||||
end FaceSurface;
|
46
src/StepShape/StepShape_FaceSurface.cxx
Executable file
46
src/StepShape/StepShape_FaceSurface.cxx
Executable file
@@ -0,0 +1,46 @@
|
||||
#include <StepShape_FaceSurface.ixx>
|
||||
|
||||
|
||||
StepShape_FaceSurface::StepShape_FaceSurface () {}
|
||||
|
||||
void StepShape_FaceSurface::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepShape_HArray1OfFaceBound)& aBounds)
|
||||
{
|
||||
|
||||
StepShape_Face::Init(aName, aBounds);
|
||||
}
|
||||
|
||||
void StepShape_FaceSurface::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepShape_HArray1OfFaceBound)& aBounds,
|
||||
const Handle(StepGeom_Surface)& aFaceGeometry,
|
||||
const Standard_Boolean aSameSense)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
faceGeometry = aFaceGeometry;
|
||||
sameSense = aSameSense;
|
||||
// --- classe inherited fields ---
|
||||
StepShape_Face::Init(aName, aBounds);
|
||||
}
|
||||
|
||||
|
||||
void StepShape_FaceSurface::SetFaceGeometry(const Handle(StepGeom_Surface)& aFaceGeometry)
|
||||
{
|
||||
faceGeometry = aFaceGeometry;
|
||||
}
|
||||
|
||||
Handle(StepGeom_Surface) StepShape_FaceSurface::FaceGeometry() const
|
||||
{
|
||||
return faceGeometry;
|
||||
}
|
||||
|
||||
void StepShape_FaceSurface::SetSameSense(const Standard_Boolean aSameSense)
|
||||
{
|
||||
sameSense = aSameSense;
|
||||
}
|
||||
|
||||
Standard_Boolean StepShape_FaceSurface::SameSense() const
|
||||
{
|
||||
return sameSense;
|
||||
}
|
21
src/StepShape/StepShape_FacetedBrep.cdl
Executable file
21
src/StepShape/StepShape_FacetedBrep.cdl
Executable file
@@ -0,0 +1,21 @@
|
||||
-- File: FacetedBrep.cdl
|
||||
-- Created: Fri Dec 1 11:11:20 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class FacetedBrep from StepShape
|
||||
|
||||
inherits ManifoldSolidBrep from StepShape
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection,
|
||||
ClosedShell from StepShape
|
||||
is
|
||||
|
||||
Create returns mutable FacetedBrep;
|
||||
---Purpose: Returns a FacetedBrep
|
||||
|
||||
|
||||
end FacetedBrep;
|
5
src/StepShape/StepShape_FacetedBrep.cxx
Executable file
5
src/StepShape/StepShape_FacetedBrep.cxx
Executable file
@@ -0,0 +1,5 @@
|
||||
#include <StepShape_FacetedBrep.ixx>
|
||||
|
||||
|
||||
StepShape_FacetedBrep::StepShape_FacetedBrep () {}
|
||||
|
65
src/StepShape/StepShape_FacetedBrepAndBrepWithVoids.cdl
Executable file
65
src/StepShape/StepShape_FacetedBrepAndBrepWithVoids.cdl
Executable file
@@ -0,0 +1,65 @@
|
||||
-- File: FacetedBrepAndBrepWithVoids.cdl
|
||||
-- Created: Fri Jun 17 11:43:49 1994
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class FacetedBrepAndBrepWithVoids from StepShape
|
||||
|
||||
inherits ManifoldSolidBrep from StepShape
|
||||
|
||||
|
||||
--- This class is an implementation of EXPRESS
|
||||
-- ANDOR Subtype Declaration.
|
||||
uses
|
||||
|
||||
FacetedBrep from StepShape,
|
||||
BrepWithVoids from StepShape,
|
||||
ClosedShell from StepShape,
|
||||
HArray1OfOrientedClosedShell from StepShape,
|
||||
OrientedClosedShell from StepShape,
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns mutable FacetedBrepAndBrepWithVoids;
|
||||
---Purpose: Returns a FacetedBrepAndBrepWithVoids
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aOuter : mutable ClosedShell from StepShape) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aOuter : mutable ClosedShell from StepShape;
|
||||
aFacetedBrep : mutable FacetedBrep from StepShape;
|
||||
aBrepWithVoids : mutable BrepWithVoids from StepShape);
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aOuter : mutable ClosedShell from StepShape;
|
||||
aVoids : mutable HArray1OfOrientedClosedShell from StepShape);
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetFacetedBrep(me : mutable; aFacetedBrep : mutable FacetedBrep);
|
||||
FacetedBrep (me) returns mutable FacetedBrep;
|
||||
SetBrepWithVoids(me : mutable; aBrepWithVoids : mutable BrepWithVoids);
|
||||
BrepWithVoids (me) returns mutable BrepWithVoids;
|
||||
|
||||
-- Specific Methods for ANDOR Field Data Access --
|
||||
|
||||
SetVoids(me : mutable; aVoids : mutable HArray1OfOrientedClosedShell);
|
||||
Voids (me) returns mutable HArray1OfOrientedClosedShell;
|
||||
VoidsValue (me; num : Integer) returns mutable OrientedClosedShell;
|
||||
NbVoids (me) returns Integer;
|
||||
|
||||
-- Specific Methods for ANDOR Field Data Access --
|
||||
|
||||
|
||||
fields
|
||||
|
||||
facetedBrep : FacetedBrep from StepShape;
|
||||
brepWithVoids : BrepWithVoids from StepShape;
|
||||
|
||||
end FacetedBrepAndBrepWithVoids;
|
97
src/StepShape/StepShape_FacetedBrepAndBrepWithVoids.cxx
Executable file
97
src/StepShape/StepShape_FacetedBrepAndBrepWithVoids.cxx
Executable file
@@ -0,0 +1,97 @@
|
||||
#include <StepShape_FacetedBrepAndBrepWithVoids.ixx>
|
||||
|
||||
#include <StepShape_FacetedBrep.hxx>
|
||||
|
||||
#include <StepShape_BrepWithVoids.hxx>
|
||||
|
||||
|
||||
StepShape_FacetedBrepAndBrepWithVoids::StepShape_FacetedBrepAndBrepWithVoids () {}
|
||||
|
||||
void StepShape_FacetedBrepAndBrepWithVoids::Init
|
||||
(const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepShape_ClosedShell)& aOuter)
|
||||
{
|
||||
|
||||
StepShape_ManifoldSolidBrep::Init(aName, aOuter);
|
||||
}
|
||||
|
||||
void StepShape_FacetedBrepAndBrepWithVoids::Init
|
||||
(const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepShape_ClosedShell)& aOuter,
|
||||
const Handle(StepShape_FacetedBrep)& aFacetedBrep,
|
||||
const Handle(StepShape_BrepWithVoids)& aBrepWithVoids)
|
||||
{
|
||||
// --- class own fields ---
|
||||
facetedBrep = aFacetedBrep;
|
||||
brepWithVoids = aBrepWithVoids;
|
||||
// --- class inherited fields ---
|
||||
StepShape_ManifoldSolidBrep::Init(aName, aOuter);
|
||||
}
|
||||
|
||||
|
||||
void StepShape_FacetedBrepAndBrepWithVoids::Init
|
||||
(const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepShape_ClosedShell)& aOuter,
|
||||
const Handle(StepShape_HArray1OfOrientedClosedShell)& aVoids)
|
||||
{
|
||||
// --- class inherited fields ---
|
||||
|
||||
StepShape_ManifoldSolidBrep::Init(aName, aOuter);
|
||||
|
||||
// --- ANDOR componant fields ---
|
||||
|
||||
brepWithVoids = new StepShape_BrepWithVoids();
|
||||
brepWithVoids->Init(aName, aOuter, aVoids);
|
||||
|
||||
// --- ANDOR componant fields ---
|
||||
|
||||
facetedBrep = new StepShape_FacetedBrep();
|
||||
facetedBrep->Init(aName, aOuter);
|
||||
}
|
||||
|
||||
|
||||
void StepShape_FacetedBrepAndBrepWithVoids::SetFacetedBrep(const Handle(StepShape_FacetedBrep)& aFacetedBrep)
|
||||
{
|
||||
facetedBrep = aFacetedBrep;
|
||||
}
|
||||
|
||||
Handle(StepShape_FacetedBrep) StepShape_FacetedBrepAndBrepWithVoids::FacetedBrep() const
|
||||
{
|
||||
return facetedBrep;
|
||||
}
|
||||
|
||||
void StepShape_FacetedBrepAndBrepWithVoids::SetBrepWithVoids(const Handle(StepShape_BrepWithVoids)& aBrepWithVoids)
|
||||
{
|
||||
brepWithVoids = aBrepWithVoids;
|
||||
}
|
||||
|
||||
Handle(StepShape_BrepWithVoids) StepShape_FacetedBrepAndBrepWithVoids::BrepWithVoids() const
|
||||
{
|
||||
return brepWithVoids;
|
||||
}
|
||||
|
||||
//--- Specific Methods for AND class field access ---
|
||||
|
||||
|
||||
void StepShape_FacetedBrepAndBrepWithVoids::SetVoids(const Handle(StepShape_HArray1OfOrientedClosedShell)& aVoids)
|
||||
{
|
||||
brepWithVoids->SetVoids(aVoids);
|
||||
}
|
||||
|
||||
Handle(StepShape_HArray1OfOrientedClosedShell) StepShape_FacetedBrepAndBrepWithVoids::Voids() const
|
||||
{
|
||||
return brepWithVoids->Voids();
|
||||
}
|
||||
|
||||
Handle(StepShape_OrientedClosedShell) StepShape_FacetedBrepAndBrepWithVoids::VoidsValue(const Standard_Integer num) const
|
||||
{
|
||||
return brepWithVoids->VoidsValue(num);
|
||||
}
|
||||
|
||||
Standard_Integer StepShape_FacetedBrepAndBrepWithVoids::NbVoids () const
|
||||
{
|
||||
return brepWithVoids->NbVoids();
|
||||
}
|
||||
|
||||
//--- Specific Methods for AND class field access ---
|
||||
|
22
src/StepShape/StepShape_FacetedBrepShapeRepresentation.cdl
Executable file
22
src/StepShape/StepShape_FacetedBrepShapeRepresentation.cdl
Executable file
@@ -0,0 +1,22 @@
|
||||
-- File: FacetedBrepShapeRepresentation.cdl
|
||||
-- Created: Fri Dec 1 11:11:20 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class FacetedBrepShapeRepresentation from StepShape
|
||||
|
||||
inherits ShapeRepresentation from StepShape
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection,
|
||||
HArray1OfRepresentationItem from StepRepr,
|
||||
RepresentationContext from StepRepr
|
||||
is
|
||||
|
||||
Create returns mutable FacetedBrepShapeRepresentation;
|
||||
---Purpose: Returns a FacetedBrepShapeRepresentation
|
||||
|
||||
|
||||
end FacetedBrepShapeRepresentation;
|
5
src/StepShape/StepShape_FacetedBrepShapeRepresentation.cxx
Executable file
5
src/StepShape/StepShape_FacetedBrepShapeRepresentation.cxx
Executable file
@@ -0,0 +1,5 @@
|
||||
#include <StepShape_FacetedBrepShapeRepresentation.ixx>
|
||||
|
||||
|
||||
StepShape_FacetedBrepShapeRepresentation::StepShape_FacetedBrepShapeRepresentation () {}
|
||||
|
21
src/StepShape/StepShape_GeometricCurveSet.cdl
Executable file
21
src/StepShape/StepShape_GeometricCurveSet.cdl
Executable file
@@ -0,0 +1,21 @@
|
||||
-- File: GeometricCurveSet.cdl
|
||||
-- Created: Fri Dec 1 11:11:21 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class GeometricCurveSet from StepShape
|
||||
|
||||
inherits GeometricSet from StepShape
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection,
|
||||
HArray1OfGeometricSetSelect from StepShape
|
||||
is
|
||||
|
||||
Create returns mutable GeometricCurveSet;
|
||||
---Purpose: Returns a GeometricCurveSet
|
||||
|
||||
|
||||
end GeometricCurveSet;
|
5
src/StepShape/StepShape_GeometricCurveSet.cxx
Executable file
5
src/StepShape/StepShape_GeometricCurveSet.cxx
Executable file
@@ -0,0 +1,5 @@
|
||||
#include <StepShape_GeometricCurveSet.ixx>
|
||||
|
||||
|
||||
StepShape_GeometricCurveSet::StepShape_GeometricCurveSet () {}
|
||||
|
40
src/StepShape/StepShape_GeometricSet.cdl
Executable file
40
src/StepShape/StepShape_GeometricSet.cdl
Executable file
@@ -0,0 +1,40 @@
|
||||
-- File: GeometricSet.cdl
|
||||
-- Created: Fri Dec 1 11:11:21 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class GeometricSet from StepShape
|
||||
|
||||
inherits GeometricRepresentationItem from StepGeom
|
||||
|
||||
uses
|
||||
|
||||
HArray1OfGeometricSetSelect from StepShape,
|
||||
GeometricSetSelect from StepShape,
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns mutable GeometricSet;
|
||||
---Purpose: Returns a GeometricSet
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aElements : mutable HArray1OfGeometricSetSelect from StepShape) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetElements(me : mutable; aElements : mutable HArray1OfGeometricSetSelect);
|
||||
Elements (me) returns mutable HArray1OfGeometricSetSelect;
|
||||
ElementsValue (me; num : Integer) returns GeometricSetSelect;
|
||||
NbElements (me) returns Integer;
|
||||
|
||||
fields
|
||||
|
||||
elements : HArray1OfGeometricSetSelect from StepShape; -- a SelectType
|
||||
|
||||
end GeometricSet;
|
42
src/StepShape/StepShape_GeometricSet.cxx
Executable file
42
src/StepShape/StepShape_GeometricSet.cxx
Executable file
@@ -0,0 +1,42 @@
|
||||
#include <StepShape_GeometricSet.ixx>
|
||||
|
||||
|
||||
StepShape_GeometricSet::StepShape_GeometricSet () {}
|
||||
|
||||
void StepShape_GeometricSet::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName)
|
||||
{
|
||||
|
||||
StepRepr_RepresentationItem::Init(aName);
|
||||
}
|
||||
|
||||
void StepShape_GeometricSet::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepShape_HArray1OfGeometricSetSelect)& aElements)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
elements = aElements;
|
||||
// --- classe inherited fields ---
|
||||
StepRepr_RepresentationItem::Init(aName);
|
||||
}
|
||||
|
||||
|
||||
void StepShape_GeometricSet::SetElements(const Handle(StepShape_HArray1OfGeometricSetSelect)& aElements)
|
||||
{
|
||||
elements = aElements;
|
||||
}
|
||||
|
||||
Handle(StepShape_HArray1OfGeometricSetSelect) StepShape_GeometricSet::Elements() const
|
||||
{
|
||||
return elements;
|
||||
}
|
||||
|
||||
StepShape_GeometricSetSelect StepShape_GeometricSet::ElementsValue(const Standard_Integer num) const
|
||||
{
|
||||
return elements->Value(num);
|
||||
}
|
||||
|
||||
Standard_Integer StepShape_GeometricSet::NbElements () const
|
||||
{
|
||||
return elements->Length();
|
||||
}
|
41
src/StepShape/StepShape_GeometricSetSelect.cdl
Executable file
41
src/StepShape/StepShape_GeometricSetSelect.cdl
Executable file
@@ -0,0 +1,41 @@
|
||||
-- File: GeometricSetSelect.cdl
|
||||
-- Created: Fri Dec 1 11:11:11 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
|
||||
class GeometricSetSelect from StepShape inherits SelectType from StepData
|
||||
|
||||
-- <GeometricSetSelect> is an EXPRESS Select Type construct translation.
|
||||
-- it gathers : Point, Curve, Surface
|
||||
|
||||
uses
|
||||
|
||||
Point from StepGeom,
|
||||
Curve from StepGeom,
|
||||
Surface from StepGeom
|
||||
is
|
||||
|
||||
Create returns GeometricSetSelect;
|
||||
---Purpose : Returns a GeometricSetSelect SelectType
|
||||
|
||||
CaseNum (me; ent : Transient) returns Integer;
|
||||
---Purpose: Recognizes a GeometricSetSelect Kind Entity that is :
|
||||
-- 1 -> Point
|
||||
-- 2 -> Curve
|
||||
-- 3 -> Surface
|
||||
-- 0 else
|
||||
|
||||
Point (me) returns any Point;
|
||||
---Purpose : returns Value as a Point (Null if another type)
|
||||
|
||||
Curve (me) returns any Curve;
|
||||
---Purpose : returns Value as a Curve (Null if another type)
|
||||
|
||||
Surface (me) returns any Surface;
|
||||
---Purpose : returns Value as a Surface (Null if another type)
|
||||
|
||||
|
||||
end GeometricSetSelect;
|
||||
|
29
src/StepShape/StepShape_GeometricSetSelect.cxx
Executable file
29
src/StepShape/StepShape_GeometricSetSelect.cxx
Executable file
@@ -0,0 +1,29 @@
|
||||
|
||||
#include <StepShape_GeometricSetSelect.ixx>
|
||||
#include <Interface_Macros.hxx>
|
||||
|
||||
StepShape_GeometricSetSelect::StepShape_GeometricSetSelect () { }
|
||||
|
||||
Standard_Integer StepShape_GeometricSetSelect::CaseNum(const Handle(Standard_Transient)& ent) const
|
||||
{
|
||||
if (ent.IsNull()) return 0;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepGeom_Point))) return 1;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepGeom_Curve))) return 2;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepGeom_Surface))) return 3;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Handle(StepGeom_Point) StepShape_GeometricSetSelect::Point () const
|
||||
{
|
||||
return GetCasted(StepGeom_Point,Value());
|
||||
}
|
||||
|
||||
Handle(StepGeom_Curve) StepShape_GeometricSetSelect::Curve () const
|
||||
{
|
||||
return GetCasted(StepGeom_Curve,Value());
|
||||
}
|
||||
|
||||
Handle(StepGeom_Surface) StepShape_GeometricSetSelect::Surface () const
|
||||
{
|
||||
return GetCasted(StepGeom_Surface,Value());
|
||||
}
|
22
src/StepShape/StepShape_GeometricallyBoundedSurfaceShapeRepresentation.cdl
Executable file
22
src/StepShape/StepShape_GeometricallyBoundedSurfaceShapeRepresentation.cdl
Executable file
@@ -0,0 +1,22 @@
|
||||
-- File: GeometricallyBoundedSurfaceShapeRepresentation.cdl
|
||||
-- Created: Fri Dec 1 11:11:21 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class GeometricallyBoundedSurfaceShapeRepresentation from StepShape
|
||||
|
||||
inherits ShapeRepresentation from StepShape
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection,
|
||||
HArray1OfRepresentationItem from StepRepr,
|
||||
RepresentationContext from StepRepr
|
||||
is
|
||||
|
||||
Create returns mutable GeometricallyBoundedSurfaceShapeRepresentation;
|
||||
---Purpose: Returns a GeometricallyBoundedSurfaceShapeRepresentation
|
||||
|
||||
|
||||
end GeometricallyBoundedSurfaceShapeRepresentation;
|
@@ -0,0 +1,5 @@
|
||||
#include <StepShape_GeometricallyBoundedSurfaceShapeRepresentation.ixx>
|
||||
|
||||
|
||||
StepShape_GeometricallyBoundedSurfaceShapeRepresentation::StepShape_GeometricallyBoundedSurfaceShapeRepresentation () {}
|
||||
|
22
src/StepShape/StepShape_GeometricallyBoundedWireframeShapeRepresentation.cdl
Executable file
22
src/StepShape/StepShape_GeometricallyBoundedWireframeShapeRepresentation.cdl
Executable file
@@ -0,0 +1,22 @@
|
||||
-- File: GeometricallyBoundedWireframeShapeRepresentation.cdl
|
||||
-- Created: Fri Dec 1 11:11:21 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class GeometricallyBoundedWireframeShapeRepresentation from StepShape
|
||||
|
||||
inherits ShapeRepresentation from StepShape
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection,
|
||||
HArray1OfRepresentationItem from StepRepr,
|
||||
RepresentationContext from StepRepr
|
||||
is
|
||||
|
||||
Create returns mutable GeometricallyBoundedWireframeShapeRepresentation;
|
||||
---Purpose: Returns a GeometricallyBoundedWireframeShapeRepresentation
|
||||
|
||||
|
||||
end GeometricallyBoundedWireframeShapeRepresentation;
|
@@ -0,0 +1,5 @@
|
||||
#include <StepShape_GeometricallyBoundedWireframeShapeRepresentation.ixx>
|
||||
|
||||
|
||||
StepShape_GeometricallyBoundedWireframeShapeRepresentation::StepShape_GeometricallyBoundedWireframeShapeRepresentation () {}
|
||||
|
42
src/StepShape/StepShape_HalfSpaceSolid.cdl
Executable file
42
src/StepShape/StepShape_HalfSpaceSolid.cdl
Executable file
@@ -0,0 +1,42 @@
|
||||
-- File: HalfSpaceSolid.cdl
|
||||
-- Created: Fri Dec 1 11:11:21 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class HalfSpaceSolid from StepShape
|
||||
|
||||
inherits GeometricRepresentationItem from StepGeom
|
||||
|
||||
uses
|
||||
|
||||
Surface from StepGeom,
|
||||
Boolean from Standard,
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns mutable HalfSpaceSolid;
|
||||
---Purpose: Returns a HalfSpaceSolid
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aBaseSurface : mutable Surface from StepGeom;
|
||||
aAgreementFlag : Boolean from Standard) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetBaseSurface(me : mutable; aBaseSurface : mutable Surface);
|
||||
BaseSurface (me) returns mutable Surface;
|
||||
SetAgreementFlag(me : mutable; aAgreementFlag : Boolean);
|
||||
AgreementFlag (me) returns Boolean;
|
||||
|
||||
fields
|
||||
|
||||
baseSurface : Surface from StepGeom;
|
||||
agreementFlag : Boolean from Standard;
|
||||
|
||||
end HalfSpaceSolid;
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user