summaryrefslogtreecommitdiff
path: root/src/StepShape/StepShape_PlusMinusTolerance.cxx
blob: 75cafd499499656869bcb27b686a6d4efd4d8dba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include <StepShape_PlusMinusTolerance.ixx>

StepShape_PlusMinusTolerance::StepShape_PlusMinusTolerance  ()    {  }

void  StepShape_PlusMinusTolerance::Init
  (const StepShape_ToleranceMethodDefinition& range,
   const StepShape_DimensionalCharacteristic& toleranced_dimension)
{
  theRange = range;
  theTolerancedDimension = toleranced_dimension;
}

StepShape_ToleranceMethodDefinition  StepShape_PlusMinusTolerance::Range () const
{  return theRange;  }

void  StepShape_PlusMinusTolerance::SetRange (const StepShape_ToleranceMethodDefinition& range)
{  theRange = range;  }

StepShape_DimensionalCharacteristic  StepShape_PlusMinusTolerance::TolerancedDimension () const
{  return theTolerancedDimension;  }

void  StepShape_PlusMinusTolerance::SetTolerancedDimension (const StepShape_DimensionalCharacteristic& toleranced_dimension)
{  theTolerancedDimension = toleranced_dimension;  }