File indexing completed on 2026-10-19 09:52:26
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _StepGeom_GeometricRepresentationContextAndGlobalUnitAssignedContext_HeaderFile
0018 #define _StepGeom_GeometricRepresentationContextAndGlobalUnitAssignedContext_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022
0023 #include <StepRepr_RepresentationContext.hxx>
0024 #include <Standard_Integer.hxx>
0025 #include <StepBasic_NamedUnit.hxx>
0026 #include <NCollection_Array1.hxx>
0027 #include <NCollection_HArray1.hxx>
0028 class StepGeom_GeometricRepresentationContext;
0029 class StepRepr_GlobalUnitAssignedContext;
0030 class TCollection_HAsciiString;
0031 class StepBasic_NamedUnit;
0032
0033 class StepGeom_GeometricRepresentationContextAndGlobalUnitAssignedContext
0034 : public StepRepr_RepresentationContext
0035 {
0036
0037 public:
0038
0039 Standard_EXPORT StepGeom_GeometricRepresentationContextAndGlobalUnitAssignedContext();
0040
0041 Standard_EXPORT void Init(
0042 const occ::handle<TCollection_HAsciiString>& aContextIdentifier,
0043 const occ::handle<TCollection_HAsciiString>& aContextType,
0044 const occ::handle<StepGeom_GeometricRepresentationContext>& aGeometricRepresentationContext,
0045 const occ::handle<StepRepr_GlobalUnitAssignedContext>& aGlobalUnitAssignedContext);
0046
0047 Standard_EXPORT void Init(
0048 const occ::handle<TCollection_HAsciiString>& aContextIdentifier,
0049 const occ::handle<TCollection_HAsciiString>& aContextType,
0050 const int aCoordinateSpaceDimension,
0051 const occ::handle<NCollection_HArray1<occ::handle<StepBasic_NamedUnit>>>& aUnits);
0052
0053 Standard_EXPORT void SetGeometricRepresentationContext(
0054 const occ::handle<StepGeom_GeometricRepresentationContext>& aGeometricRepresentationContext);
0055
0056 Standard_EXPORT occ::handle<StepGeom_GeometricRepresentationContext>
0057 GeometricRepresentationContext() const;
0058
0059 Standard_EXPORT void SetGlobalUnitAssignedContext(
0060 const occ::handle<StepRepr_GlobalUnitAssignedContext>& aGlobalUnitAssignedContext);
0061
0062 Standard_EXPORT occ::handle<StepRepr_GlobalUnitAssignedContext> GlobalUnitAssignedContext() const;
0063
0064 Standard_EXPORT void SetCoordinateSpaceDimension(const int aCoordinateSpaceDimension);
0065
0066 Standard_EXPORT int CoordinateSpaceDimension() const;
0067
0068 Standard_EXPORT void SetUnits(
0069 const occ::handle<NCollection_HArray1<occ::handle<StepBasic_NamedUnit>>>& aUnits);
0070
0071 Standard_EXPORT occ::handle<NCollection_HArray1<occ::handle<StepBasic_NamedUnit>>> Units() const;
0072
0073 Standard_EXPORT occ::handle<StepBasic_NamedUnit> UnitsValue(const int num) const;
0074
0075 Standard_EXPORT int NbUnits() const;
0076
0077 DEFINE_STANDARD_RTTIEXT(StepGeom_GeometricRepresentationContextAndGlobalUnitAssignedContext,
0078 StepRepr_RepresentationContext)
0079
0080 private:
0081 occ::handle<StepGeom_GeometricRepresentationContext> geometricRepresentationContext;
0082 occ::handle<StepRepr_GlobalUnitAssignedContext> globalUnitAssignedContext;
0083 };
0084
0085 #endif