mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-07-17 20:24:12 +08:00
Automatic upgrade of OCCT code by command "occt_upgrade . -nocdl": - WOK-generated header files from inc and sources from drv are moved to src - CDL files removed - All packages are converted to nocdlpack
70 lines
2.9 KiB
C++
70 lines
2.9 KiB
C++
// Created on: 2003-06-04
|
|
// Created by: Galina KULIKOVA
|
|
// 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.
|
|
|
|
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2
|
|
|
|
#include <Standard_Type.hxx>
|
|
#include <StepBasic_MeasureWithUnit.hxx>
|
|
#include <StepDimTol_ModifiedGeometricTolerance.hxx>
|
|
#include <StepRepr_ShapeAspect.hxx>
|
|
#include <TCollection_HAsciiString.hxx>
|
|
|
|
//=======================================================================
|
|
//function : StepDimTol_ModifiedGeometricTolerance
|
|
//purpose :
|
|
//=======================================================================
|
|
StepDimTol_ModifiedGeometricTolerance::StepDimTol_ModifiedGeometricTolerance ()
|
|
{
|
|
}
|
|
|
|
//=======================================================================
|
|
//function : Init
|
|
//purpose :
|
|
//=======================================================================
|
|
|
|
void StepDimTol_ModifiedGeometricTolerance::Init (const Handle(TCollection_HAsciiString) &aGeometricTolerance_Name,
|
|
const Handle(TCollection_HAsciiString) &aGeometricTolerance_Description,
|
|
const Handle(StepBasic_MeasureWithUnit) &aGeometricTolerance_Magnitude,
|
|
const Handle(StepRepr_ShapeAspect) &aGeometricTolerance_TolerancedShapeAspect,
|
|
const StepDimTol_LimitCondition aModifier)
|
|
{
|
|
StepDimTol_GeometricTolerance::Init(aGeometricTolerance_Name,
|
|
aGeometricTolerance_Description,
|
|
aGeometricTolerance_Magnitude,
|
|
aGeometricTolerance_TolerancedShapeAspect);
|
|
|
|
theModifier = aModifier;
|
|
}
|
|
|
|
//=======================================================================
|
|
//function : Modifier
|
|
//purpose :
|
|
//=======================================================================
|
|
|
|
StepDimTol_LimitCondition StepDimTol_ModifiedGeometricTolerance::Modifier () const
|
|
{
|
|
return theModifier;
|
|
}
|
|
|
|
//=======================================================================
|
|
//function : SetModifier
|
|
//purpose :
|
|
//=======================================================================
|
|
|
|
void StepDimTol_ModifiedGeometricTolerance::SetModifier (const StepDimTol_LimitCondition aModifier)
|
|
{
|
|
theModifier = aModifier;
|
|
}
|