mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0026371: Implementation of new entities for GD&T
Implement entities: - DatumReferenceCompartment, - DatumReferenceElement, - DatumReferenceModifierWithValue, - DatumSystem, - GeneralDatumReference, - ValueFormatTypeQualifier, - NonUniformZoneDefinition, - ProjectedZoneDefinition, - RunoutZoneDefinition, - RunoutZoneOrientation, - ToleranceZone, - ToleranceZoneDefinition, - ToleranceZoneForm, - ToleranceZoneTarget, - GeometricToleranceWithDefinedAreaUnit, - GeometricToleranceWithDefinedUnit, - GeometricToleranceWithMaximumTolerance, - GeometricToleranceWithModifiers, - UnequallyDisposedGeometricTolerance, - GeometricItemSpecificUsage, - IdAttribute, - IdAttributeSelect, - ItemIdentifiedRepresentationUsage, - ItemIdentifiedRepresentationUsageDefinition, - Apex, - CentreOfSymmetry, - GeometricAlignment, - ParallelOffset, - PerpendicularTo, - Tangent, - AllAroundShapeAspect, - BetweenShapeAspect, - CompositeGroupShapeAspect, - ContinuosShapeAspect, - ReprItemAndLengthMeasureWithUnitAndQRI, - ReprItemAndPlaneAngleMeasureWithUnitAndQRI, - ReprItemAndPlaneAngleMeasureWithUnit, - CompGroupShAspAndCompShAspAndDatumFeatAndShAsp, - CompShAspAndDatumFeatAndShAsp, - GeoTolAndGeoTolWthDatRef, - GeoTolAndGeoTolWthDatRefAndGeoTolWthMod, - GeoTolAndGeoTolWthMod, - GeoTolAndGeoTolWthDatRefAndUneqDisGeoTol, - IntegerRepresentationItem, - ValueRepresentationItem. Modify entities: - GeometricTolerance, - GeometricToleranceWithDatumReference, - ShapeDimensionRepresentation. fix compilation error fix compilation warning
This commit is contained in:
@@ -1,16 +1,31 @@
|
||||
StepRepr_AllAroundShapeAspect.cxx
|
||||
StepRepr_AllAroundShapeAspect.hxx
|
||||
StepRepr_Apex.cxx
|
||||
StepRepr_Apex.hxx
|
||||
StepRepr_Array1OfMaterialPropertyRepresentation.hxx
|
||||
StepRepr_Array1OfPropertyDefinitionRepresentation.hxx
|
||||
StepRepr_Array1OfRepresentationItem.hxx
|
||||
StepRepr_Array1OfShapeAspect.hxx
|
||||
StepRepr_AssemblyComponentUsage.cxx
|
||||
StepRepr_AssemblyComponentUsage.hxx
|
||||
StepRepr_AssemblyComponentUsageSubstitute.cxx
|
||||
StepRepr_AssemblyComponentUsageSubstitute.hxx
|
||||
StepRepr_BetweenShapeAspect.cxx
|
||||
StepRepr_BetweenShapeAspect.hxx
|
||||
StepRepr_CentreOfSymmetry.cxx
|
||||
StepRepr_CentreOfSymmetry.hxx
|
||||
StepRepr_CharacterizedDefinition.cxx
|
||||
StepRepr_CharacterizedDefinition.hxx
|
||||
StepRepr_CompGroupShAspAndCompShAspAndDatumFeatAndShAsp.cxx
|
||||
StepRepr_CompGroupShAspAndCompShAspAndDatumFeatAndShAsp.hxx
|
||||
StepRepr_CompositeGroupShapeAspect.cxx
|
||||
StepRepr_CompositeGroupShapeAspect.hxx
|
||||
StepRepr_CompositeShapeAspect.cxx
|
||||
StepRepr_CompositeShapeAspect.hxx
|
||||
StepRepr_CompoundRepresentationItem.cxx
|
||||
StepRepr_CompoundRepresentationItem.hxx
|
||||
StepRepr_CompShAspAndDatumFeatAndShAsp.cxx
|
||||
StepRepr_CompShAspAndDatumFeatAndShAsp.hxx
|
||||
StepRepr_ConfigurationDesign.cxx
|
||||
StepRepr_ConfigurationDesign.hxx
|
||||
StepRepr_ConfigurationDesignItem.cxx
|
||||
@@ -19,6 +34,8 @@ StepRepr_ConfigurationEffectivity.cxx
|
||||
StepRepr_ConfigurationEffectivity.hxx
|
||||
StepRepr_ConfigurationItem.cxx
|
||||
StepRepr_ConfigurationItem.hxx
|
||||
StepRepr_ContinuosShapeAspect.cxx
|
||||
StepRepr_ContinuosShapeAspect.hxx
|
||||
StepRepr_DataEnvironment.cxx
|
||||
StepRepr_DataEnvironment.hxx
|
||||
StepRepr_DefinitionalRepresentation.cxx
|
||||
@@ -33,6 +50,8 @@ StepRepr_ExternallyDefinedRepresentation.cxx
|
||||
StepRepr_ExternallyDefinedRepresentation.hxx
|
||||
StepRepr_FunctionallyDefinedTransformation.cxx
|
||||
StepRepr_FunctionallyDefinedTransformation.hxx
|
||||
StepRepr_GeometricAlignment.cxx
|
||||
StepRepr_GeometricAlignment.hxx
|
||||
StepRepr_GlobalUncertaintyAssignedContext.cxx
|
||||
StepRepr_GlobalUncertaintyAssignedContext.hxx
|
||||
StepRepr_GlobalUnitAssignedContext.cxx
|
||||
@@ -40,8 +59,11 @@ StepRepr_GlobalUnitAssignedContext.hxx
|
||||
StepRepr_HArray1OfMaterialPropertyRepresentation.hxx
|
||||
StepRepr_HArray1OfPropertyDefinitionRepresentation.hxx
|
||||
StepRepr_HArray1OfRepresentationItem.hxx
|
||||
StepRepr_HArray1OfShapeAspect.hxx
|
||||
StepRepr_HSequenceOfMaterialPropertyRepresentation.hxx
|
||||
StepRepr_HSequenceOfRepresentationItem.hxx
|
||||
StepRepr_IntegerRepresentationItem.cxx
|
||||
StepRepr_IntegerRepresentationItem.hxx
|
||||
StepRepr_ItemDefinedTransformation.cxx
|
||||
StepRepr_ItemDefinedTransformation.hxx
|
||||
StepRepr_MakeFromUsageOption.cxx
|
||||
@@ -58,8 +80,12 @@ StepRepr_MeasureRepresentationItem.cxx
|
||||
StepRepr_MeasureRepresentationItem.hxx
|
||||
StepRepr_NextAssemblyUsageOccurrence.cxx
|
||||
StepRepr_NextAssemblyUsageOccurrence.hxx
|
||||
StepRepr_ParallelOffset.cxx
|
||||
StepRepr_ParallelOffset.hxx
|
||||
StepRepr_ParametricRepresentationContext.cxx
|
||||
StepRepr_ParametricRepresentationContext.hxx
|
||||
StepRepr_PerpendicularTo.cxx
|
||||
StepRepr_PerpendicularTo.hxx
|
||||
StepRepr_ProductConcept.cxx
|
||||
StepRepr_ProductConcept.hxx
|
||||
StepRepr_ProductDefinitionShape.cxx
|
||||
@@ -92,6 +118,16 @@ StepRepr_RepresentedDefinition.cxx
|
||||
StepRepr_RepresentedDefinition.hxx
|
||||
StepRepr_ReprItemAndLengthMeasureWithUnit.cxx
|
||||
StepRepr_ReprItemAndLengthMeasureWithUnit.hxx
|
||||
StepRepr_ReprItemAndLengthMeasureWithUnitAndQRI.cxx
|
||||
StepRepr_ReprItemAndLengthMeasureWithUnitAndQRI.hxx
|
||||
StepRepr_ReprItemAndMeasureWithUnit.cxx
|
||||
StepRepr_ReprItemAndMeasureWithUnit.hxx
|
||||
StepRepr_ReprItemAndMeasureWithUnitAndQRI.cxx
|
||||
StepRepr_ReprItemAndMeasureWithUnitAndQRI.hxx
|
||||
StepRepr_ReprItemAndPlaneAngleMeasureWithUnit.cxx
|
||||
StepRepr_ReprItemAndPlaneAngleMeasureWithUnit.hxx
|
||||
StepRepr_ReprItemAndPlaneAngleMeasureWithUnitAndQRI.cxx
|
||||
StepRepr_ReprItemAndPlaneAngleMeasureWithUnitAndQRI.hxx
|
||||
StepRepr_SequenceOfMaterialPropertyRepresentation.hxx
|
||||
StepRepr_SequenceOfRepresentationItem.hxx
|
||||
StepRepr_ShapeAspect.cxx
|
||||
@@ -116,7 +152,11 @@ StepRepr_StructuralResponsePropertyDefinitionRepresentation.cxx
|
||||
StepRepr_StructuralResponsePropertyDefinitionRepresentation.hxx
|
||||
StepRepr_SuppliedPartRelationship.cxx
|
||||
StepRepr_SuppliedPartRelationship.hxx
|
||||
StepRepr_Tangent.cxx
|
||||
StepRepr_Tangent.hxx
|
||||
StepRepr_Transformation.cxx
|
||||
StepRepr_Transformation.hxx
|
||||
StepRepr_ValueRange.cxx
|
||||
StepRepr_ValueRange.hxx
|
||||
StepRepr_ValueRepresentationItem.cxx
|
||||
StepRepr_ValueRepresentationItem.hxx
|
||||
|
18
src/StepRepr/StepRepr_AllAroundShapeAspect.cxx
Normal file
18
src/StepRepr/StepRepr_AllAroundShapeAspect.cxx
Normal file
@@ -0,0 +1,18 @@
|
||||
// Created on: 2015-07-10
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepRepr_AllAroundShapeAspect.hxx>
|
||||
|
||||
StepRepr_AllAroundShapeAspect::StepRepr_AllAroundShapeAspect () { }
|
36
src/StepRepr/StepRepr_AllAroundShapeAspect.hxx
Normal file
36
src/StepRepr/StepRepr_AllAroundShapeAspect.hxx
Normal file
@@ -0,0 +1,36 @@
|
||||
// Created on: 2015-07-10
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepRepr_AllAroundShapeAspect_HeaderFile
|
||||
#define _StepRepr_AllAroundShapeAspect_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <StepRepr_ContinuosShapeAspect.hxx>
|
||||
|
||||
class StepRepr_AllAroundShapeAspect;
|
||||
DEFINE_STANDARD_HANDLE(StepRepr_AllAroundShapeAspect, StepRepr_ContinuosShapeAspect)
|
||||
//! Added for Dimensional Tolerances
|
||||
class StepRepr_AllAroundShapeAspect : public StepRepr_ContinuosShapeAspect
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
Standard_EXPORT StepRepr_AllAroundShapeAspect();
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepRepr_AllAroundShapeAspect, StepRepr_ContinuosShapeAspect)
|
||||
};
|
||||
#endif // _StepRepr_AllAroundShapeAspect_HeaderFile
|
18
src/StepRepr/StepRepr_Apex.cxx
Normal file
18
src/StepRepr/StepRepr_Apex.cxx
Normal file
@@ -0,0 +1,18 @@
|
||||
// Created on: 2015-07-10
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepRepr_Apex.hxx>
|
||||
|
||||
StepRepr_Apex::StepRepr_Apex () { }
|
37
src/StepRepr/StepRepr_Apex.hxx
Normal file
37
src/StepRepr/StepRepr_Apex.hxx
Normal file
@@ -0,0 +1,37 @@
|
||||
// Created on: 2015-07-10
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepRepr_Apex_HeaderFile
|
||||
#define _StepRepr_Apex_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <StepRepr_DerivedShapeAspect.hxx>
|
||||
|
||||
class StepRepr_Apex;
|
||||
DEFINE_STANDARD_HANDLE(StepRepr_Apex, StepRepr_DerivedShapeAspect)
|
||||
//! Added for Dimensional Tolerances
|
||||
class StepRepr_Apex : public StepRepr_DerivedShapeAspect
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
Standard_EXPORT StepRepr_Apex();
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepRepr_Apex, StepRepr_DerivedShapeAspect)
|
||||
|
||||
};
|
||||
#endif // _StepRepr_Apex_HeaderFile
|
29
src/StepRepr/StepRepr_Array1OfShapeAspect.cxx
Normal file
29
src/StepRepr/StepRepr_Array1OfShapeAspect.cxx
Normal file
@@ -0,0 +1,29 @@
|
||||
// Created on: 2015-07-13
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepRepr_Array1OfShapeAspect.hxx>
|
||||
|
||||
#include <Standard_RangeError.hxx>
|
||||
#include <Standard_DimensionMismatch.hxx>
|
||||
#include <Standard_OutOfRange.hxx>
|
||||
#include <Standard_OutOfMemory.hxx>
|
||||
|
||||
|
||||
#define Array1Item Handle(StepRepr_ShapeAspect)
|
||||
#define Array1Item_hxx <StepRepr_ShapeAspect.hxx>
|
||||
#define TCollection_Array1 StepRepr_Array1OfShapeAspect
|
||||
#define TCollection_Array1_hxx <StepRepr_Array1OfShapeAspect.hxx>
|
||||
#include <TCollection_Array1.gxx>
|
||||
|
24
src/StepRepr/StepRepr_Array1OfShapeAspect.hxx
Normal file
24
src/StepRepr/StepRepr_Array1OfShapeAspect.hxx
Normal file
@@ -0,0 +1,24 @@
|
||||
// Created on: 2015-07-13
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepRepr_Array1OfShapeAspect_HeaderFile
|
||||
#define _StepRepr_Array1OfShapeAspect_HeaderFile
|
||||
|
||||
#include <StepRepr_ShapeAspect.hxx>
|
||||
#include <NCollection_Array1.hxx>
|
||||
|
||||
typedef NCollection_Array1<Handle(StepRepr_ShapeAspect)> StepRepr_Array1OfShapeAspect;
|
||||
|
||||
#endif // _StepRepr_Array1OfShapeAspect_HeaderFile
|
18
src/StepRepr/StepRepr_BetweenShapeAspect.cxx
Normal file
18
src/StepRepr/StepRepr_BetweenShapeAspect.cxx
Normal file
@@ -0,0 +1,18 @@
|
||||
// Created on: 2015-07-10
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepRepr_BetweenShapeAspect.hxx>
|
||||
|
||||
StepRepr_BetweenShapeAspect::StepRepr_BetweenShapeAspect () { }
|
37
src/StepRepr/StepRepr_BetweenShapeAspect.hxx
Normal file
37
src/StepRepr/StepRepr_BetweenShapeAspect.hxx
Normal file
@@ -0,0 +1,37 @@
|
||||
// Created on: 2015-07-10
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepRepr_BetweenShapeAspect_HeaderFile
|
||||
#define _StepRepr_BetweenShapeAspect_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <StepRepr_ContinuosShapeAspect.hxx>
|
||||
|
||||
class StepRepr_BetweenShapeAspect;
|
||||
DEFINE_STANDARD_HANDLE(StepRepr_BetweenShapeAspect, StepRepr_ContinuosShapeAspect)
|
||||
//! Added for Dimensional Tolerances
|
||||
class StepRepr_BetweenShapeAspect : public StepRepr_ContinuosShapeAspect
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
Standard_EXPORT StepRepr_BetweenShapeAspect();
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepRepr_BetweenShapeAspect, StepRepr_ContinuosShapeAspect)
|
||||
|
||||
};
|
||||
#endif // _StepRepr_BetweenShapeAspect_HeaderFile
|
18
src/StepRepr/StepRepr_CentreOfSymmetry.cxx
Normal file
18
src/StepRepr/StepRepr_CentreOfSymmetry.cxx
Normal file
@@ -0,0 +1,18 @@
|
||||
// Created on: 2015-07-10
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepRepr_CentreOfSymmetry.hxx>
|
||||
|
||||
StepRepr_CentreOfSymmetry::StepRepr_CentreOfSymmetry () { }
|
37
src/StepRepr/StepRepr_CentreOfSymmetry.hxx
Normal file
37
src/StepRepr/StepRepr_CentreOfSymmetry.hxx
Normal file
@@ -0,0 +1,37 @@
|
||||
// Created on: 2015-07-10
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepRepr_CentreOfSymmetry_HeaderFile
|
||||
#define _StepRepr_CentreOfSymmetry_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <StepRepr_DerivedShapeAspect.hxx>
|
||||
|
||||
class StepRepr_CentreOfSymmetry;
|
||||
DEFINE_STANDARD_HANDLE(StepRepr_CentreOfSymmetry, StepRepr_DerivedShapeAspect)
|
||||
//! Added for Dimensional Tolerances
|
||||
class StepRepr_CentreOfSymmetry : public StepRepr_DerivedShapeAspect
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
Standard_EXPORT StepRepr_CentreOfSymmetry();
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepRepr_CentreOfSymmetry, StepRepr_DerivedShapeAspect)
|
||||
|
||||
};
|
||||
#endif // _StepRepr_CentreOfSymmetry_HeaderFile
|
@@ -0,0 +1,18 @@
|
||||
// Created on: 2015-08-11
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepRepr_CompGroupShAspAndCompShAspAndDatumFeatAndShAsp.hxx>
|
||||
|
||||
StepRepr_CompGroupShAspAndCompShAspAndDatumFeatAndShAsp::StepRepr_CompGroupShAspAndCompShAspAndDatumFeatAndShAsp () { }
|
@@ -0,0 +1,36 @@
|
||||
// Created on: 2015-08-11
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepRepr_CompGroupShAspAndCompShAspAndDatumFeatAndShAsp_HeaderFile
|
||||
#define _StepRepr_CompGroupShAspAndCompShAspAndDatumFeatAndShAsp_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <StepRepr_CompShAspAndDatumFeatAndShAsp.hxx>
|
||||
|
||||
class StepRepr_CompGroupShAspAndCompShAspAndDatumFeatAndShAsp;
|
||||
DEFINE_STANDARD_HANDLE(StepRepr_CompGroupShAspAndCompShAspAndDatumFeatAndShAsp, StepRepr_CompShAspAndDatumFeatAndShAsp)
|
||||
//! Added for Dimensional Tolerances
|
||||
class StepRepr_CompGroupShAspAndCompShAspAndDatumFeatAndShAsp : public StepRepr_CompShAspAndDatumFeatAndShAsp
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
Standard_EXPORT StepRepr_CompGroupShAspAndCompShAspAndDatumFeatAndShAsp();
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepRepr_CompGroupShAspAndCompShAspAndDatumFeatAndShAsp, StepRepr_CompShAspAndDatumFeatAndShAsp)
|
||||
};
|
||||
#endif // _StepRepr_CompGroupShAspAndCompShAspAndDatumFeatAndShAsp_HeaderFile
|
18
src/StepRepr/StepRepr_CompShAspAndDatumFeatAndShAsp.cxx
Normal file
18
src/StepRepr/StepRepr_CompShAspAndDatumFeatAndShAsp.cxx
Normal file
@@ -0,0 +1,18 @@
|
||||
// Created on: 2015-08-11
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepRepr_CompShAspAndDatumFeatAndShAsp.hxx>
|
||||
|
||||
StepRepr_CompShAspAndDatumFeatAndShAsp::StepRepr_CompShAspAndDatumFeatAndShAsp () { }
|
36
src/StepRepr/StepRepr_CompShAspAndDatumFeatAndShAsp.hxx
Normal file
36
src/StepRepr/StepRepr_CompShAspAndDatumFeatAndShAsp.hxx
Normal file
@@ -0,0 +1,36 @@
|
||||
// Created on: 2015-08-11
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepRepr_CompShAspAndDatumFeatAndShAsp_HeaderFile
|
||||
#define _StepRepr_CompShAspAndDatumFeatAndShAsp_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <StepRepr_ShapeAspect.hxx>
|
||||
|
||||
class StepRepr_CompShAspAndDatumFeatAndShAsp;
|
||||
DEFINE_STANDARD_HANDLE(StepRepr_CompShAspAndDatumFeatAndShAsp, StepRepr_ShapeAspect)
|
||||
//! Added for Dimensional Tolerances
|
||||
class StepRepr_CompShAspAndDatumFeatAndShAsp : public StepRepr_ShapeAspect
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
Standard_EXPORT StepRepr_CompShAspAndDatumFeatAndShAsp();
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepRepr_CompShAspAndDatumFeatAndShAsp, StepRepr_ShapeAspect)
|
||||
};
|
||||
#endif // _StepRepr_CompShAspAndDatumFeatAndShAsp_HeaderFile
|
17
src/StepRepr/StepRepr_CompositeGroupShapeAspect.cxx
Normal file
17
src/StepRepr/StepRepr_CompositeGroupShapeAspect.cxx
Normal file
@@ -0,0 +1,17 @@
|
||||
// Created on: 2015-07-10
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
#include <StepRepr_CompositeGroupShapeAspect.hxx>
|
||||
|
||||
StepRepr_CompositeGroupShapeAspect::StepRepr_CompositeGroupShapeAspect () { }
|
37
src/StepRepr/StepRepr_CompositeGroupShapeAspect.hxx
Normal file
37
src/StepRepr/StepRepr_CompositeGroupShapeAspect.hxx
Normal file
@@ -0,0 +1,37 @@
|
||||
// Created on: 2015-07-10
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepRepr_CompositeGroupShapeAspect_HeaderFile
|
||||
#define _StepRepr_CompositeGroupShapeAspect_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <StepRepr_CompositeShapeAspect.hxx>
|
||||
|
||||
class StepRepr_CompositeGroupShapeAspect;
|
||||
DEFINE_STANDARD_HANDLE(StepRepr_CompositeGroupShapeAspect, StepRepr_CompositeShapeAspect)
|
||||
//! Added for Dimensional Tolerances
|
||||
class StepRepr_CompositeGroupShapeAspect : public StepRepr_CompositeShapeAspect
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
Standard_EXPORT StepRepr_CompositeGroupShapeAspect();
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepRepr_CompositeGroupShapeAspect, StepRepr_CompositeShapeAspect)
|
||||
|
||||
};
|
||||
#endif // _StepRepr_CompositeGroupShapeAspect_HeaderFile
|
18
src/StepRepr/StepRepr_ContinuosShapeAspect.cxx
Normal file
18
src/StepRepr/StepRepr_ContinuosShapeAspect.cxx
Normal file
@@ -0,0 +1,18 @@
|
||||
// Created on: 2015-07-10
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepRepr_ContinuosShapeAspect.hxx>
|
||||
|
||||
StepRepr_ContinuosShapeAspect::StepRepr_ContinuosShapeAspect () { }
|
36
src/StepRepr/StepRepr_ContinuosShapeAspect.hxx
Normal file
36
src/StepRepr/StepRepr_ContinuosShapeAspect.hxx
Normal file
@@ -0,0 +1,36 @@
|
||||
// Created on: 2015-07-10
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepRepr_ContinuosShapeAspect_HeaderFile
|
||||
#define _StepRepr_ContinuosShapeAspect_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <StepRepr_CompositeShapeAspect.hxx>
|
||||
|
||||
class StepRepr_ContinuosShapeAspect;
|
||||
DEFINE_STANDARD_HANDLE(StepRepr_ContinuosShapeAspect, StepRepr_CompositeShapeAspect)
|
||||
//! Added for Dimensional Tolerances
|
||||
class StepRepr_ContinuosShapeAspect : public StepRepr_CompositeShapeAspect
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
Standard_EXPORT StepRepr_ContinuosShapeAspect();
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepRepr_ContinuosShapeAspect, StepRepr_CompositeShapeAspect)
|
||||
};
|
||||
#endif // _StepRepr_ContinuosShapeAspect_HeaderFile
|
18
src/StepRepr/StepRepr_GeometricAlignment.cxx
Normal file
18
src/StepRepr/StepRepr_GeometricAlignment.cxx
Normal file
@@ -0,0 +1,18 @@
|
||||
// Created on: 2015-07-10
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepRepr_GeometricAlignment.hxx>
|
||||
|
||||
StepRepr_GeometricAlignment::StepRepr_GeometricAlignment () { }
|
35
src/StepRepr/StepRepr_GeometricAlignment.hxx
Normal file
35
src/StepRepr/StepRepr_GeometricAlignment.hxx
Normal file
@@ -0,0 +1,35 @@
|
||||
// Created on: 2015-07-10
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepRepr_GeometricAlignment_HeaderFile
|
||||
#define _StepRepr_GeometricAlignment_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepRepr_DerivedShapeAspect.hxx>
|
||||
|
||||
class StepRepr_GeometricAlignment;
|
||||
DEFINE_STANDARD_HANDLE(StepRepr_GeometricAlignment, StepRepr_DerivedShapeAspect)
|
||||
//! Added for Dimensional Tolerances
|
||||
class StepRepr_GeometricAlignment : public StepRepr_DerivedShapeAspect
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
Standard_EXPORT StepRepr_GeometricAlignment();
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepRepr_GeometricAlignment, StepRepr_DerivedShapeAspect)
|
||||
};
|
||||
#endif // _StepRepr_GeometricAlignment_HeaderFile
|
46
src/StepRepr/StepRepr_HArray1OfShapeAspect.cxx
Normal file
46
src/StepRepr/StepRepr_HArray1OfShapeAspect.cxx
Normal file
@@ -0,0 +1,46 @@
|
||||
// Created on: 2015-07-13
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepRepr_HArray1OfShapeAspect.hxx>
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <Standard_RangeError.hxx>
|
||||
#include <Standard_DimensionMismatch.hxx>
|
||||
#include <Standard_OutOfRange.hxx>
|
||||
#include <Standard_OutOfMemory.hxx>
|
||||
#include <StepRepr_Array1OfShapeAspect.hxx>
|
||||
#include <StepRepr_ShapeAspect.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_TYPE(StepRepr_HArray1OfShapeAspect)
|
||||
IMPLEMENT_STANDARD_SUPERTYPE_ARRAY()
|
||||
STANDARD_TYPE(MMgt_TShared),
|
||||
STANDARD_TYPE(Standard_Transient),
|
||||
IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END()
|
||||
IMPLEMENT_STANDARD_TYPE_END(StepRepr_HArray1OfShapeAspect)
|
||||
|
||||
|
||||
IMPLEMENT_DOWNCAST(StepRepr_HArray1OfShapeAspect,Standard_Transient)
|
||||
IMPLEMENT_STANDARD_RTTI(StepRepr_HArray1OfShapeAspect)
|
||||
|
||||
#define ItemHArray1 Handle(StepRepr_ShapeAspect)
|
||||
#define ItemHArray1_hxx <StepRepr_ShapeAspect.hxx>
|
||||
#define TheArray1 StepRepr_Array1OfShapeAspect
|
||||
#define TheArray1_hxx <StepRepr_Array1OfShapeAspect.hxx>
|
||||
#define TCollection_HArray1 StepRepr_HArray1OfShapeAspect
|
||||
#define TCollection_HArray1_hxx <StepRepr_HArray1OfShapeAspect.hxx>
|
||||
#define Handle_TCollection_HArray1 Handle_StepRepr_HArray1OfShapeAspect
|
||||
#define TCollection_HArray1_Type_() StepRepr_HArray1OfShapeAspect_Type_()
|
||||
#include <TCollection_HArray1.gxx>
|
24
src/StepRepr/StepRepr_HArray1OfShapeAspect.hxx
Normal file
24
src/StepRepr/StepRepr_HArray1OfShapeAspect.hxx
Normal file
@@ -0,0 +1,24 @@
|
||||
// Created on: 2015-07-13
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepRepr_HArray1OfShapeAspect_HeaderFile
|
||||
#define _StepRepr_HArray1OfShapeAspect_HeaderFile
|
||||
|
||||
#include <StepRepr_ShapeAspect.hxx>
|
||||
#include <StepRepr_Array1OfShapeAspect.hxx>
|
||||
#include <NCollection_DefineHArray1.hxx>
|
||||
|
||||
DEFINE_HARRAY1(StepRepr_HArray1OfShapeAspect, StepRepr_Array1OfShapeAspect)
|
||||
#endif // _StepRepr_HArray1OfShapeAspect_HeaderFile
|
28
src/StepRepr/StepRepr_IntegerRepresentationItem.cxx
Normal file
28
src/StepRepr/StepRepr_IntegerRepresentationItem.cxx
Normal file
@@ -0,0 +1,28 @@
|
||||
// Created on: 2015-09-03
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepRepr_IntegerRepresentationItem.hxx>
|
||||
#include <TCollection_HAsciiString.hxx>
|
||||
|
||||
StepRepr_IntegerRepresentationItem::StepRepr_IntegerRepresentationItem () {}
|
||||
|
||||
void StepRepr_IntegerRepresentationItem::Init(
|
||||
const Handle(TCollection_HAsciiString)& theName,
|
||||
const Standard_Integer theValue)
|
||||
{
|
||||
value = theValue;
|
||||
StepRepr_RepresentationItem::Init(theName);
|
||||
}
|
56
src/StepRepr/StepRepr_IntegerRepresentationItem.hxx
Normal file
56
src/StepRepr/StepRepr_IntegerRepresentationItem.hxx
Normal file
@@ -0,0 +1,56 @@
|
||||
// Created on: 2015-09-03
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepRepr_IntegerRepresentationItem_HeaderFile
|
||||
#define _StepRepr_IntegerRepresentationItem_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <StepRepr_RepresentationItem.hxx>
|
||||
class TCollection_HAsciiString;
|
||||
|
||||
|
||||
class StepRepr_IntegerRepresentationItem;
|
||||
DEFINE_STANDARD_HANDLE(StepRepr_IntegerRepresentationItem, StepRepr_RepresentationItem)
|
||||
|
||||
|
||||
class StepRepr_IntegerRepresentationItem : public StepRepr_RepresentationItem
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
|
||||
//! Returns a IntegerRepresentationItem
|
||||
Standard_EXPORT StepRepr_IntegerRepresentationItem();
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& theName, const Standard_Integer theValue);
|
||||
|
||||
inline void SetValue(const Standard_Integer theValue)
|
||||
{
|
||||
value = theValue;
|
||||
}
|
||||
|
||||
inline Standard_Integer Value() const
|
||||
{
|
||||
return value;
|
||||
}
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepRepr_IntegerRepresentationItem,StepRepr_RepresentationItem)
|
||||
|
||||
private:
|
||||
Standard_Integer value;
|
||||
};
|
||||
#endif // _StepRepr_IntegerRepresentationItem_HeaderFile
|
38
src/StepRepr/StepRepr_ParallelOffset.cxx
Normal file
38
src/StepRepr/StepRepr_ParallelOffset.cxx
Normal file
@@ -0,0 +1,38 @@
|
||||
// Created on: 2015-07-10
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepRepr_ParallelOffset.hxx>
|
||||
|
||||
StepRepr_ParallelOffset::StepRepr_ParallelOffset () { }
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_ParallelOffset::Init(
|
||||
const Handle(TCollection_HAsciiString)& theShapeAspect_Name,
|
||||
const Handle(TCollection_HAsciiString)& theShapeAspect_Description,
|
||||
const Handle(StepRepr_ProductDefinitionShape)& theShapeAspect_OfShape,
|
||||
const StepData_Logical theShapeAspect_ProductDefinitional,
|
||||
const Handle(StepBasic_MeasureWithUnit) &theOffset)
|
||||
{
|
||||
StepRepr_ShapeAspect::Init(theShapeAspect_Name,
|
||||
theShapeAspect_Description,
|
||||
theShapeAspect_OfShape,
|
||||
theShapeAspect_ProductDefinitional);
|
||||
|
||||
offset = theOffset;
|
||||
}
|
58
src/StepRepr/StepRepr_ParallelOffset.hxx
Normal file
58
src/StepRepr/StepRepr_ParallelOffset.hxx
Normal file
@@ -0,0 +1,58 @@
|
||||
// Created on: 2015-07-10
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepRepr_ParallelOffset_HeaderFile
|
||||
#define _StepRepr_ParallelOffset_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <StepRepr_DerivedShapeAspect.hxx>
|
||||
#include <StepData_Logical.hxx>
|
||||
class StepBasic_MeasureWithUnit;
|
||||
class TCollection_HAsciiString;
|
||||
class StepRepr_ProductDefinitionShape;
|
||||
|
||||
class StepRepr_ParallelOffset;
|
||||
DEFINE_STANDARD_HANDLE(StepRepr_ParallelOffset, StepRepr_DerivedShapeAspect)
|
||||
//! Added for Dimensional Tolerances
|
||||
class StepRepr_ParallelOffset : public StepRepr_DerivedShapeAspect
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
Standard_EXPORT StepRepr_ParallelOffset();
|
||||
|
||||
//! Initialize all fields (own and inherited)
|
||||
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName, const Handle(TCollection_HAsciiString)& theDescription, const Handle(StepRepr_ProductDefinitionShape)& theOfShape, const StepData_Logical theProductDefinitional, const Handle(StepBasic_MeasureWithUnit)& theOffset) ;
|
||||
|
||||
//! Returns field Offset
|
||||
inline Handle(StepBasic_MeasureWithUnit) Offset () const
|
||||
{
|
||||
return offset;
|
||||
}
|
||||
|
||||
//! Set field Offset
|
||||
inline void SetOffset (const Handle(StepBasic_MeasureWithUnit)& theOffset)
|
||||
{
|
||||
offset = theOffset;
|
||||
}
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepRepr_ParallelOffset, StepRepr_DerivedShapeAspect)
|
||||
|
||||
private:
|
||||
Handle(StepBasic_MeasureWithUnit) offset;
|
||||
};
|
||||
#endif // _StepRepr_ParallelOffset_HeaderFile
|
18
src/StepRepr/StepRepr_PerpendicularTo.cxx
Normal file
18
src/StepRepr/StepRepr_PerpendicularTo.cxx
Normal file
@@ -0,0 +1,18 @@
|
||||
// Created on: 2015-07-10
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepRepr_PerpendicularTo.hxx>
|
||||
|
||||
StepRepr_PerpendicularTo::StepRepr_PerpendicularTo () { }
|
35
src/StepRepr/StepRepr_PerpendicularTo.hxx
Normal file
35
src/StepRepr/StepRepr_PerpendicularTo.hxx
Normal file
@@ -0,0 +1,35 @@
|
||||
// Created on: 2015-07-10
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepRepr_PerpendicularTo_HeaderFile
|
||||
#define _StepRepr_PerpendicularTo_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepRepr_DerivedShapeAspect.hxx>
|
||||
|
||||
class StepRepr_PerpendicularTo;
|
||||
DEFINE_STANDARD_HANDLE(StepRepr_PerpendicularTo, StepRepr_DerivedShapeAspect)
|
||||
//! Added for Dimensional Tolerances
|
||||
class StepRepr_PerpendicularTo : public StepRepr_DerivedShapeAspect
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
Standard_EXPORT StepRepr_PerpendicularTo();
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepRepr_PerpendicularTo, StepRepr_DerivedShapeAspect)
|
||||
};
|
||||
#endif // _StepRepr_PerpendicularTo_HeaderFile
|
@@ -14,37 +14,17 @@
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepBasic_LengthMeasureWithUnit.hxx>
|
||||
#include <StepBasic_MeasureWithUnit.hxx>
|
||||
#include <StepRepr_MeasureRepresentationItem.hxx>
|
||||
#include <StepRepr_RepresentationItem.hxx>
|
||||
#include <StepRepr_ReprItemAndLengthMeasureWithUnit.hxx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepRepr_ReprItemAndLengthMeasureWithUnit
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
StepRepr_ReprItemAndLengthMeasureWithUnit::StepRepr_ReprItemAndLengthMeasureWithUnit()
|
||||
StepRepr_ReprItemAndLengthMeasureWithUnit::StepRepr_ReprItemAndLengthMeasureWithUnit() : StepRepr_ReprItemAndMeasureWithUnit()
|
||||
{
|
||||
myLengthMeasureWithUnit = new StepBasic_LengthMeasureWithUnit();
|
||||
myMeasureWithUnit = new StepBasic_MeasureWithUnit();
|
||||
myMeasureRepresentationItem = new StepRepr_MeasureRepresentationItem();
|
||||
}
|
||||
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_ReprItemAndLengthMeasureWithUnit::Init
|
||||
(const Handle(StepBasic_MeasureWithUnit)& aMWU,
|
||||
const Handle(StepRepr_RepresentationItem)& aRI)
|
||||
{
|
||||
myMeasureWithUnit = aMWU;
|
||||
SetName(aRI->Name());
|
||||
}
|
||||
|
||||
|
||||
//=======================================================================
|
||||
//function : SetLengthMeasureWithUnit
|
||||
//purpose :
|
||||
@@ -67,55 +47,3 @@ Handle(StepBasic_LengthMeasureWithUnit) StepRepr_ReprItemAndLengthMeasureWithUni
|
||||
{
|
||||
return myLengthMeasureWithUnit;
|
||||
}
|
||||
|
||||
|
||||
//=======================================================================
|
||||
//function : GetMeasureRepresentationItem
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepRepr_MeasureRepresentationItem) StepRepr_ReprItemAndLengthMeasureWithUnit::
|
||||
GetMeasureRepresentationItem() const
|
||||
{
|
||||
return myMeasureRepresentationItem;
|
||||
}
|
||||
|
||||
|
||||
//=======================================================================
|
||||
//function : SetMeasureWithUnit
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_ReprItemAndLengthMeasureWithUnit::SetMeasureWithUnit
|
||||
(const Handle(StepBasic_MeasureWithUnit)& aMWU)
|
||||
{
|
||||
myMeasureWithUnit = aMWU;
|
||||
}
|
||||
|
||||
|
||||
//=======================================================================
|
||||
//function : GetMeasureWithUnit
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_MeasureWithUnit) StepRepr_ReprItemAndLengthMeasureWithUnit::
|
||||
GetMeasureWithUnit() const
|
||||
{
|
||||
return myMeasureWithUnit;
|
||||
}
|
||||
|
||||
|
||||
//=======================================================================
|
||||
//function : GetRepresentationItem
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepRepr_RepresentationItem) StepRepr_ReprItemAndLengthMeasureWithUnit::
|
||||
GetRepresentationItem() const
|
||||
{
|
||||
Handle(StepRepr_RepresentationItem) RI = new StepRepr_RepresentationItem();
|
||||
RI->Init(Name());
|
||||
return RI;
|
||||
}
|
||||
|
||||
|
||||
|
@@ -19,18 +19,15 @@
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <StepRepr_RepresentationItem.hxx>
|
||||
#include <StepRepr_ReprItemAndMeasureWithUnit.hxx>
|
||||
class StepBasic_LengthMeasureWithUnit;
|
||||
class StepRepr_MeasureRepresentationItem;
|
||||
class StepBasic_MeasureWithUnit;
|
||||
class StepRepr_RepresentationItem;
|
||||
|
||||
|
||||
class StepRepr_ReprItemAndLengthMeasureWithUnit;
|
||||
DEFINE_STANDARD_HANDLE(StepRepr_ReprItemAndLengthMeasureWithUnit, StepRepr_RepresentationItem)
|
||||
DEFINE_STANDARD_HANDLE(StepRepr_ReprItemAndLengthMeasureWithUnit, StepRepr_ReprItemAndMeasureWithUnit)
|
||||
|
||||
|
||||
class StepRepr_ReprItemAndLengthMeasureWithUnit : public StepRepr_RepresentationItem
|
||||
class StepRepr_ReprItemAndLengthMeasureWithUnit : public StepRepr_ReprItemAndMeasureWithUnit
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -38,44 +35,13 @@ public:
|
||||
|
||||
Standard_EXPORT StepRepr_ReprItemAndLengthMeasureWithUnit();
|
||||
|
||||
Standard_EXPORT void Init (const Handle(StepBasic_MeasureWithUnit)& aMWU, const Handle(StepRepr_RepresentationItem)& aRI);
|
||||
|
||||
Standard_EXPORT void SetLengthMeasureWithUnit (const Handle(StepBasic_LengthMeasureWithUnit)& aLMWU);
|
||||
|
||||
Standard_EXPORT Handle(StepBasic_LengthMeasureWithUnit) GetLengthMeasureWithUnit() const;
|
||||
|
||||
Standard_EXPORT Handle(StepRepr_MeasureRepresentationItem) GetMeasureRepresentationItem() const;
|
||||
|
||||
Standard_EXPORT void SetMeasureWithUnit (const Handle(StepBasic_MeasureWithUnit)& aMWU);
|
||||
|
||||
Standard_EXPORT Handle(StepBasic_MeasureWithUnit) GetMeasureWithUnit() const;
|
||||
|
||||
Standard_EXPORT Handle(StepRepr_RepresentationItem) GetRepresentationItem() const;
|
||||
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepRepr_ReprItemAndLengthMeasureWithUnit,StepRepr_RepresentationItem)
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepRepr_ReprItemAndLengthMeasureWithUnit,StepRepr_ReprItemAndMeasureWithUnit)
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Handle(StepBasic_LengthMeasureWithUnit) myLengthMeasureWithUnit;
|
||||
Handle(StepRepr_MeasureRepresentationItem) myMeasureRepresentationItem;
|
||||
Handle(StepBasic_MeasureWithUnit) myMeasureWithUnit;
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepRepr_ReprItemAndLengthMeasureWithUnit_HeaderFile
|
||||
|
@@ -0,0 +1,49 @@
|
||||
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepBasic_LengthMeasureWithUnit.hxx>
|
||||
#include <StepRepr_ReprItemAndLengthMeasureWithUnitAndQRI.hxx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepRepr_ReprItemAndLengthMeasureWithUnitAndQRI
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
StepRepr_ReprItemAndLengthMeasureWithUnitAndQRI::StepRepr_ReprItemAndLengthMeasureWithUnitAndQRI() : StepRepr_ReprItemAndMeasureWithUnitAndQRI()
|
||||
{
|
||||
myLengthMeasureWithUnit = new StepBasic_LengthMeasureWithUnit();
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetLengthMeasureWithUnit
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_ReprItemAndLengthMeasureWithUnitAndQRI::SetLengthMeasureWithUnit
|
||||
(const Handle(StepBasic_LengthMeasureWithUnit)& aLMWU)
|
||||
{
|
||||
myLengthMeasureWithUnit = aLMWU;
|
||||
}
|
||||
|
||||
|
||||
//=======================================================================
|
||||
//function : GetLengthMeasureWithUnit
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_LengthMeasureWithUnit) StepRepr_ReprItemAndLengthMeasureWithUnitAndQRI::
|
||||
GetLengthMeasureWithUnit() const
|
||||
{
|
||||
return myLengthMeasureWithUnit;
|
||||
}
|
@@ -0,0 +1,47 @@
|
||||
// Created on: 2003-08-21
|
||||
// Created by: Sergey KUUL
|
||||
// Copyright (c) 2003-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepRepr_ReprItemAndLengthMeasureWithUnitAndQRI_HeaderFile
|
||||
#define _StepRepr_ReprItemAndLengthMeasureWithUnitAndQRI_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <StepRepr_ReprItemAndMeasureWithUnitAndQRI.hxx>
|
||||
class StepBasic_LengthMeasureWithUnit;
|
||||
|
||||
|
||||
class StepRepr_ReprItemAndLengthMeasureWithUnitAndQRI;
|
||||
DEFINE_STANDARD_HANDLE(StepRepr_ReprItemAndLengthMeasureWithUnitAndQRI, StepRepr_ReprItemAndMeasureWithUnitAndQRI)
|
||||
|
||||
|
||||
class StepRepr_ReprItemAndLengthMeasureWithUnitAndQRI : public StepRepr_ReprItemAndMeasureWithUnitAndQRI
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
|
||||
Standard_EXPORT StepRepr_ReprItemAndLengthMeasureWithUnitAndQRI();
|
||||
|
||||
Standard_EXPORT void SetLengthMeasureWithUnit (const Handle(StepBasic_LengthMeasureWithUnit)& aLMWU);
|
||||
|
||||
Standard_EXPORT Handle(StepBasic_LengthMeasureWithUnit) GetLengthMeasureWithUnit() const;
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepRepr_ReprItemAndLengthMeasureWithUnitAndQRI,StepRepr_ReprItemAndMeasureWithUnitAndQRI)
|
||||
|
||||
private:
|
||||
Handle(StepBasic_LengthMeasureWithUnit) myLengthMeasureWithUnit;
|
||||
};
|
||||
#endif // _StepRepr_ReprItemAndLengthMeasureWithUnitAndQRI_HeaderFile
|
94
src/StepRepr/StepRepr_ReprItemAndMeasureWithUnit.cxx
Normal file
94
src/StepRepr/StepRepr_ReprItemAndMeasureWithUnit.cxx
Normal file
@@ -0,0 +1,94 @@
|
||||
// Created on: 2015-07-22
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepBasic_MeasureWithUnit.hxx>
|
||||
#include <StepRepr_MeasureRepresentationItem.hxx>
|
||||
#include <StepRepr_RepresentationItem.hxx>
|
||||
#include <StepRepr_ReprItemAndMeasureWithUnit.hxx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepRepr_ReprItemAndMeasureWithUnit
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
StepRepr_ReprItemAndMeasureWithUnit::StepRepr_ReprItemAndMeasureWithUnit()
|
||||
{
|
||||
myMeasureWithUnit = new StepBasic_MeasureWithUnit();
|
||||
myMeasureRepresentationItem = new StepRepr_MeasureRepresentationItem();
|
||||
}
|
||||
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_ReprItemAndMeasureWithUnit::Init
|
||||
(const Handle(StepBasic_MeasureWithUnit)& aMWU,
|
||||
const Handle(StepRepr_RepresentationItem)& aRI)
|
||||
{
|
||||
myMeasureWithUnit = aMWU;
|
||||
SetName(aRI->Name());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : GetMeasureRepresentationItem
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepRepr_MeasureRepresentationItem) StepRepr_ReprItemAndMeasureWithUnit::
|
||||
GetMeasureRepresentationItem() const
|
||||
{
|
||||
return myMeasureRepresentationItem;
|
||||
}
|
||||
|
||||
|
||||
//=======================================================================
|
||||
//function : SetMeasureWithUnit
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_ReprItemAndMeasureWithUnit::SetMeasureWithUnit
|
||||
(const Handle(StepBasic_MeasureWithUnit)& aMWU)
|
||||
{
|
||||
myMeasureWithUnit = aMWU;
|
||||
}
|
||||
|
||||
|
||||
//=======================================================================
|
||||
//function : GetMeasureWithUnit
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_MeasureWithUnit) StepRepr_ReprItemAndMeasureWithUnit::
|
||||
GetMeasureWithUnit() const
|
||||
{
|
||||
return myMeasureWithUnit;
|
||||
}
|
||||
|
||||
|
||||
//=======================================================================
|
||||
//function : GetRepresentationItem
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepRepr_RepresentationItem) StepRepr_ReprItemAndMeasureWithUnit::
|
||||
GetRepresentationItem() const
|
||||
{
|
||||
Handle(StepRepr_RepresentationItem) RI = new StepRepr_RepresentationItem();
|
||||
RI->Init(Name());
|
||||
return RI;
|
||||
}
|
58
src/StepRepr/StepRepr_ReprItemAndMeasureWithUnit.hxx
Normal file
58
src/StepRepr/StepRepr_ReprItemAndMeasureWithUnit.hxx
Normal file
@@ -0,0 +1,58 @@
|
||||
// Created on: 2015-07-22
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepRepr_ReprItemAndMeasureWithUnit_HeaderFile
|
||||
#define _StepRepr_ReprItemAndMeasureWithUnit_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <StepRepr_RepresentationItem.hxx>
|
||||
class StepRepr_MeasureRepresentationItem;
|
||||
class StepBasic_MeasureWithUnit;
|
||||
class StepRepr_RepresentationItem;
|
||||
|
||||
|
||||
class StepRepr_ReprItemAndMeasureWithUnit;
|
||||
DEFINE_STANDARD_HANDLE(StepRepr_ReprItemAndMeasureWithUnit, StepRepr_RepresentationItem)
|
||||
|
||||
//! Base class for complex types (MEASURE_REPRESENTATION_ITEM, MEASURE_WITH_UNIT,
|
||||
//! REPRESENTATION_ITEM, LENGTH_MEASURE_WITH_UNIT/PLANE_ANGLE_MEASURE_WITH_UNIT).
|
||||
class StepRepr_ReprItemAndMeasureWithUnit : public StepRepr_RepresentationItem
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
|
||||
Standard_EXPORT StepRepr_ReprItemAndMeasureWithUnit();
|
||||
|
||||
Standard_EXPORT void Init (const Handle(StepBasic_MeasureWithUnit)& aMWU, const Handle(StepRepr_RepresentationItem)& aRI);
|
||||
|
||||
Standard_EXPORT Handle(StepRepr_MeasureRepresentationItem) GetMeasureRepresentationItem() const;
|
||||
|
||||
Standard_EXPORT void SetMeasureWithUnit (const Handle(StepBasic_MeasureWithUnit)& aMWU);
|
||||
|
||||
Standard_EXPORT Handle(StepBasic_MeasureWithUnit) GetMeasureWithUnit() const;
|
||||
|
||||
Standard_EXPORT Handle(StepRepr_RepresentationItem) GetRepresentationItem() const;
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepRepr_ReprItemAndMeasureWithUnit,StepRepr_RepresentationItem)
|
||||
|
||||
private:
|
||||
|
||||
Handle(StepRepr_MeasureRepresentationItem) myMeasureRepresentationItem;
|
||||
Handle(StepBasic_MeasureWithUnit) myMeasureWithUnit;
|
||||
};
|
||||
#endif // _StepRepr_ReprItemAndMeasureWithUnit_HeaderFile
|
64
src/StepRepr/StepRepr_ReprItemAndMeasureWithUnitAndQRI.cxx
Normal file
64
src/StepRepr/StepRepr_ReprItemAndMeasureWithUnitAndQRI.cxx
Normal file
@@ -0,0 +1,64 @@
|
||||
// Created on: 2015-07-22
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepShape_QualifiedRepresentationItem.hxx>
|
||||
#include <StepRepr_ReprItemAndMeasureWithUnitAndQRI.hxx>
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_ReprItemAndMeasureWithUnitAndQRI::Init (const Handle(StepBasic_MeasureWithUnit)& aMWU,
|
||||
const Handle(StepRepr_RepresentationItem)& aRI,
|
||||
const Handle(StepShape_QualifiedRepresentationItem) aQRI)
|
||||
{
|
||||
StepRepr_ReprItemAndMeasureWithUnit::Init(aMWU, aRI);
|
||||
myQualifiedRepresentationItem = aQRI;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : StepRepr_ReprItemAndMeasureWithUnitAndQRI
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
StepRepr_ReprItemAndMeasureWithUnitAndQRI::StepRepr_ReprItemAndMeasureWithUnitAndQRI() : StepRepr_ReprItemAndMeasureWithUnit()
|
||||
{
|
||||
myQualifiedRepresentationItem = new StepShape_QualifiedRepresentationItem();
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetQualifiedRepresentationItem
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_ReprItemAndMeasureWithUnitAndQRI::SetQualifiedRepresentationItem
|
||||
(const Handle(StepShape_QualifiedRepresentationItem)& aQRI)
|
||||
{
|
||||
myQualifiedRepresentationItem = aQRI;
|
||||
}
|
||||
|
||||
|
||||
//=======================================================================
|
||||
//function : GetPlaneAngleMeasureWithUnit
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepShape_QualifiedRepresentationItem) StepRepr_ReprItemAndMeasureWithUnitAndQRI::
|
||||
GetQualifiedRepresentationItem() const
|
||||
{
|
||||
return myQualifiedRepresentationItem;
|
||||
}
|
49
src/StepRepr/StepRepr_ReprItemAndMeasureWithUnitAndQRI.hxx
Normal file
49
src/StepRepr/StepRepr_ReprItemAndMeasureWithUnitAndQRI.hxx
Normal file
@@ -0,0 +1,49 @@
|
||||
// Created on: 2015-07-22
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepRepr_ReprItemAndMeasureWithUnitAndQRI_HeaderFile
|
||||
#define _StepRepr_ReprItemAndMeasureWithUnitAndQRI_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <StepRepr_ReprItemAndMeasureWithUnit.hxx>
|
||||
class StepShape_QualifiedRepresentationItem;
|
||||
|
||||
class StepRepr_ReprItemAndMeasureWithUnitAndQRI;
|
||||
DEFINE_STANDARD_HANDLE(StepRepr_ReprItemAndMeasureWithUnitAndQRI, StepRepr_ReprItemAndMeasureWithUnit)
|
||||
|
||||
//! Base class for complex types (MEASURE_REPRESENTATION_ITEM, MEASURE_WITH_UNIT, QUALIFIED_REPRESENTATION_ITEM
|
||||
//! REPRESENTATION_ITEM, LENGTH_MEASURE_WITH_UNIT/PLANE_ANGLE_MEASURE_WITH_UNIT).
|
||||
class StepRepr_ReprItemAndMeasureWithUnitAndQRI : public StepRepr_ReprItemAndMeasureWithUnit
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
|
||||
Standard_EXPORT StepRepr_ReprItemAndMeasureWithUnitAndQRI();
|
||||
|
||||
Standard_EXPORT void Init (const Handle(StepBasic_MeasureWithUnit)& aMWU, const Handle(StepRepr_RepresentationItem)& aRI, const Handle(StepShape_QualifiedRepresentationItem) aQRI);
|
||||
|
||||
Standard_EXPORT void SetQualifiedRepresentationItem (const Handle(StepShape_QualifiedRepresentationItem)& aQRI);
|
||||
|
||||
Standard_EXPORT Handle(StepShape_QualifiedRepresentationItem) GetQualifiedRepresentationItem() const;
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepRepr_ReprItemAndMeasureWithUnitAndQRI,StepRepr_ReprItemAndMeasureWithUnit)
|
||||
|
||||
private:
|
||||
Handle(StepShape_QualifiedRepresentationItem) myQualifiedRepresentationItem;
|
||||
};
|
||||
#endif // _StepRepr_ReprItemAndMeasureWithUnitAndQRI_HeaderFile
|
@@ -0,0 +1,51 @@
|
||||
// Created on: 2015-07-22
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepBasic_PlaneAngleMeasureWithUnit.hxx>
|
||||
#include <StepRepr_ReprItemAndPlaneAngleMeasureWithUnit.hxx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepRepr_ReprItemAndPlaneAngleMeasureWithUnit
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
StepRepr_ReprItemAndPlaneAngleMeasureWithUnit::StepRepr_ReprItemAndPlaneAngleMeasureWithUnit() : StepRepr_ReprItemAndMeasureWithUnit()
|
||||
{
|
||||
myPlaneAngleMeasureWithUnit = new StepBasic_PlaneAngleMeasureWithUnit();
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetPlaneAngleMeasureWithUnit
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_ReprItemAndPlaneAngleMeasureWithUnit::SetPlaneAngleMeasureWithUnit
|
||||
(const Handle(StepBasic_PlaneAngleMeasureWithUnit)& aLMWU)
|
||||
{
|
||||
myPlaneAngleMeasureWithUnit = aLMWU;
|
||||
}
|
||||
|
||||
|
||||
//=======================================================================
|
||||
//function : GetPlaneAngleMeasureWithUnit
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_PlaneAngleMeasureWithUnit) StepRepr_ReprItemAndPlaneAngleMeasureWithUnit::
|
||||
GetPlaneAngleMeasureWithUnit() const
|
||||
{
|
||||
return myPlaneAngleMeasureWithUnit;
|
||||
}
|
@@ -0,0 +1,46 @@
|
||||
// Created on: 2015-07-22
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepRepr_ReprItemAndPlaneAngleMeasureWithUnit_HeaderFile
|
||||
#define _StepRepr_ReprItemAndPlaneAngleMeasureWithUnit_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <StepRepr_ReprItemAndMeasureWithUnit.hxx>
|
||||
class StepBasic_PlaneAngleMeasureWithUnit;
|
||||
|
||||
class StepRepr_ReprItemAndPlaneAngleMeasureWithUnit;
|
||||
DEFINE_STANDARD_HANDLE(StepRepr_ReprItemAndPlaneAngleMeasureWithUnit, StepRepr_ReprItemAndMeasureWithUnit)
|
||||
|
||||
|
||||
class StepRepr_ReprItemAndPlaneAngleMeasureWithUnit : public StepRepr_ReprItemAndMeasureWithUnit
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
|
||||
Standard_EXPORT StepRepr_ReprItemAndPlaneAngleMeasureWithUnit();
|
||||
|
||||
Standard_EXPORT void SetPlaneAngleMeasureWithUnit (const Handle(StepBasic_PlaneAngleMeasureWithUnit)& aLMWU);
|
||||
|
||||
Standard_EXPORT Handle(StepBasic_PlaneAngleMeasureWithUnit) GetPlaneAngleMeasureWithUnit() const;
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepRepr_ReprItemAndPlaneAngleMeasureWithUnit,StepRepr_ReprItemAndMeasureWithUnit)
|
||||
|
||||
private:
|
||||
Handle(StepBasic_PlaneAngleMeasureWithUnit) myPlaneAngleMeasureWithUnit;
|
||||
};
|
||||
#endif // _StepRepr_ReprItemAndPlaneAngleMeasureWithUnit_HeaderFile
|
@@ -0,0 +1,51 @@
|
||||
// Created on: 2015-07-22
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepBasic_PlaneAngleMeasureWithUnit.hxx>
|
||||
#include <StepRepr_ReprItemAndPlaneAngleMeasureWithUnitAndQRI.hxx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepRepr_ReprItemAndPlaneAngleMeasureWithUnitAndQRI
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
StepRepr_ReprItemAndPlaneAngleMeasureWithUnitAndQRI::StepRepr_ReprItemAndPlaneAngleMeasureWithUnitAndQRI() : StepRepr_ReprItemAndMeasureWithUnitAndQRI()
|
||||
{
|
||||
myPlaneAngleMeasureWithUnit = new StepBasic_PlaneAngleMeasureWithUnit();
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetPlaneAngleMeasureWithUnit
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_ReprItemAndPlaneAngleMeasureWithUnitAndQRI::SetPlaneAngleMeasureWithUnit
|
||||
(const Handle(StepBasic_PlaneAngleMeasureWithUnit)& aLMWU)
|
||||
{
|
||||
myPlaneAngleMeasureWithUnit = aLMWU;
|
||||
}
|
||||
|
||||
|
||||
//=======================================================================
|
||||
//function : GetPlaneAngleMeasureWithUnit
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_PlaneAngleMeasureWithUnit) StepRepr_ReprItemAndPlaneAngleMeasureWithUnitAndQRI::
|
||||
GetPlaneAngleMeasureWithUnit() const
|
||||
{
|
||||
return myPlaneAngleMeasureWithUnit;
|
||||
}
|
@@ -0,0 +1,46 @@
|
||||
// Created on: 2015-07-22
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepRepr_ReprItemAndPlaneAngleMeasureWithUnitAndQRI_HeaderFile
|
||||
#define _StepRepr_ReprItemAndPlaneAngleMeasureWithUnitAndQRI_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <StepRepr_ReprItemAndMeasureWithUnitAndQRI.hxx>
|
||||
class StepBasic_PlaneAngleMeasureWithUnit;
|
||||
|
||||
class StepRepr_ReprItemAndPlaneAngleMeasureWithUnitAndQRI;
|
||||
DEFINE_STANDARD_HANDLE(StepRepr_ReprItemAndPlaneAngleMeasureWithUnitAndQRI, StepRepr_ReprItemAndMeasureWithUnitAndQRI)
|
||||
|
||||
|
||||
class StepRepr_ReprItemAndPlaneAngleMeasureWithUnitAndQRI : public StepRepr_ReprItemAndMeasureWithUnitAndQRI
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
|
||||
Standard_EXPORT StepRepr_ReprItemAndPlaneAngleMeasureWithUnitAndQRI();
|
||||
|
||||
Standard_EXPORT void SetPlaneAngleMeasureWithUnit (const Handle(StepBasic_PlaneAngleMeasureWithUnit)& aLMWU);
|
||||
|
||||
Standard_EXPORT Handle(StepBasic_PlaneAngleMeasureWithUnit) GetPlaneAngleMeasureWithUnit() const;
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepRepr_ReprItemAndPlaneAngleMeasureWithUnitAndQRI,StepRepr_ReprItemAndMeasureWithUnitAndQRI)
|
||||
|
||||
private:
|
||||
Handle(StepBasic_PlaneAngleMeasureWithUnit) myPlaneAngleMeasureWithUnit;
|
||||
};
|
||||
#endif // _StepRepr_ReprItemAndPlaneAngleMeasureWithUnitAndQRI_HeaderFile
|
18
src/StepRepr/StepRepr_Tangent.cxx
Normal file
18
src/StepRepr/StepRepr_Tangent.cxx
Normal file
@@ -0,0 +1,18 @@
|
||||
// Created on: 2015-07-10
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepRepr_Tangent.hxx>
|
||||
|
||||
StepRepr_Tangent::StepRepr_Tangent () { }
|
37
src/StepRepr/StepRepr_Tangent.hxx
Normal file
37
src/StepRepr/StepRepr_Tangent.hxx
Normal file
@@ -0,0 +1,37 @@
|
||||
// Created on: 2015-07-10
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepRepr_Tangent_HeaderFile
|
||||
#define _StepRepr_Tangent_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <StepRepr_DerivedShapeAspect.hxx>
|
||||
|
||||
class StepRepr_Tangent;
|
||||
DEFINE_STANDARD_HANDLE(StepRepr_Tangent, StepRepr_DerivedShapeAspect)
|
||||
//! Added for Dimensional Tolerances
|
||||
class StepRepr_Tangent : public StepRepr_DerivedShapeAspect
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
Standard_EXPORT StepRepr_Tangent();
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepRepr_Tangent, StepRepr_DerivedShapeAspect)
|
||||
|
||||
};
|
||||
#endif // _StepRepr_Tangent_HeaderFile
|
29
src/StepRepr/StepRepr_ValueRepresentationItem.cxx
Normal file
29
src/StepRepr/StepRepr_ValueRepresentationItem.cxx
Normal file
@@ -0,0 +1,29 @@
|
||||
// Created on: 2015-09-09
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepBasic_MeasureValueMember.hxx>
|
||||
#include <StepRepr_ValueRepresentationItem.hxx>
|
||||
#include <TCollection_HAsciiString.hxx>
|
||||
|
||||
StepRepr_ValueRepresentationItem::StepRepr_ValueRepresentationItem () {}
|
||||
|
||||
void StepRepr_ValueRepresentationItem::Init(
|
||||
const Handle(TCollection_HAsciiString)& theName,
|
||||
const Handle(StepBasic_MeasureValueMember)& theValueComponentMember)
|
||||
{
|
||||
valueComponentMember = theValueComponentMember;
|
||||
StepRepr_RepresentationItem::Init(theName);
|
||||
}
|
58
src/StepRepr/StepRepr_ValueRepresentationItem.hxx
Normal file
58
src/StepRepr/StepRepr_ValueRepresentationItem.hxx
Normal file
@@ -0,0 +1,58 @@
|
||||
// Created on: 2015-09-09
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepRepr_ValueRepresentationItem_HeaderFile
|
||||
#define _StepRepr_ValueRepresentationItem_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <StepRepr_RepresentationItem.hxx>
|
||||
class StepBasic_MeasureValueMember;
|
||||
class TCollection_HAsciiString;
|
||||
|
||||
|
||||
class StepRepr_ValueRepresentationItem;
|
||||
DEFINE_STANDARD_HANDLE(StepRepr_ValueRepresentationItem, StepRepr_RepresentationItem)
|
||||
|
||||
|
||||
class StepRepr_ValueRepresentationItem : public StepRepr_RepresentationItem
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
|
||||
//! Returns a ValueRepresentationItem
|
||||
Standard_EXPORT StepRepr_ValueRepresentationItem();
|
||||
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& theName,
|
||||
const Handle(StepBasic_MeasureValueMember)& theValueComponentMember);
|
||||
|
||||
inline void SetValueComponentMember(const Handle(StepBasic_MeasureValueMember)& theValueComponentMember)
|
||||
{
|
||||
valueComponentMember = theValueComponentMember;
|
||||
}
|
||||
|
||||
inline Handle(StepBasic_MeasureValueMember) ValueComponentMember() const
|
||||
{
|
||||
return valueComponentMember;
|
||||
}
|
||||
|
||||
DEFINE_STANDARD_RTTI(StepRepr_ValueRepresentationItem,StepRepr_RepresentationItem)
|
||||
|
||||
private:
|
||||
Handle(StepBasic_MeasureValueMember) valueComponentMember;
|
||||
};
|
||||
#endif // _StepRepr_ValueRepresentationItem_HeaderFile
|
Reference in New Issue
Block a user