mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-16 10:08:36 +03:00
0033099: Data Exchange, Step Import - Wrong PMI values in GDT
measure_with_unit entity is changed to be translated as Handle(Standard_Transient) and to be processed later, depending on the underlying type being used.
This commit is contained in:
parent
700ba20c7b
commit
49d628667b
@ -16,74 +16,72 @@
|
|||||||
#include <RWStepBasic_RWConversionBasedUnit.hxx>
|
#include <RWStepBasic_RWConversionBasedUnit.hxx>
|
||||||
#include <StepBasic_ConversionBasedUnit.hxx>
|
#include <StepBasic_ConversionBasedUnit.hxx>
|
||||||
#include <StepBasic_DimensionalExponents.hxx>
|
#include <StepBasic_DimensionalExponents.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepData_StepReaderData.hxx>
|
#include <StepData_StepReaderData.hxx>
|
||||||
#include <StepData_StepWriter.hxx>
|
#include <StepData_StepWriter.hxx>
|
||||||
|
|
||||||
RWStepBasic_RWConversionBasedUnit::RWStepBasic_RWConversionBasedUnit () {}
|
RWStepBasic_RWConversionBasedUnit::RWStepBasic_RWConversionBasedUnit () {}
|
||||||
|
|
||||||
void RWStepBasic_RWConversionBasedUnit::ReadStep
|
void RWStepBasic_RWConversionBasedUnit::ReadStep(const Handle(StepData_StepReaderData)& data,
|
||||||
(const Handle(StepData_StepReaderData)& data,
|
const Standard_Integer num,
|
||||||
const Standard_Integer num,
|
Handle(Interface_Check)& ach,
|
||||||
Handle(Interface_Check)& ach,
|
const Handle(StepBasic_ConversionBasedUnit)& ent) const
|
||||||
const Handle(StepBasic_ConversionBasedUnit)& ent) const
|
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
// --- Number of Parameter Control ---
|
// --- Number of Parameter Control ---
|
||||||
|
|
||||||
if (!data->CheckNbParams(num,3,ach,"conversion_based_unit")) return;
|
if (!data->CheckNbParams(num,3,ach,"conversion_based_unit")) return;
|
||||||
|
|
||||||
// --- inherited field : dimensions ---
|
// --- inherited field : dimensions ---
|
||||||
|
|
||||||
Handle(StepBasic_DimensionalExponents) aDimensions;
|
Handle(StepBasic_DimensionalExponents) aDimensions;
|
||||||
//szv#4:S4163:12Mar99 `Standard_Boolean stat1 =` not needed
|
//szv#4:S4163:12Mar99 `Standard_Boolean stat1 =` not needed
|
||||||
data->ReadEntity(num, 1,"dimensions", ach, STANDARD_TYPE(StepBasic_DimensionalExponents), aDimensions);
|
data->ReadEntity(num, 1,"dimensions", ach, STANDARD_TYPE(StepBasic_DimensionalExponents), aDimensions);
|
||||||
|
|
||||||
// --- own field : name ---
|
// --- own field : name ---
|
||||||
|
|
||||||
Handle(TCollection_HAsciiString) aName;
|
Handle(TCollection_HAsciiString) aName;
|
||||||
//szv#4:S4163:12Mar99 `Standard_Boolean stat2 =` not needed
|
//szv#4:S4163:12Mar99 `Standard_Boolean stat2 =` not needed
|
||||||
data->ReadString (num,2,"name",ach,aName);
|
data->ReadString (num,2,"name",ach,aName);
|
||||||
|
|
||||||
// --- own field : conversionFactor ---
|
// --- own field : conversionFactor ---
|
||||||
|
|
||||||
Handle(StepBasic_MeasureWithUnit) aConversionFactor;
|
//szv#4:S4163:12Mar99 `Standard_Boolean stat3 =` not needed
|
||||||
//szv#4:S4163:12Mar99 `Standard_Boolean stat3 =` not needed
|
Handle(Standard_Transient) aConversionFactor;
|
||||||
data->ReadEntity(num, 3,"conversion_factor", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aConversionFactor);
|
data->ReadEntity (num, 3, "conversion_factor", ach, STANDARD_TYPE(Standard_Transient), aConversionFactor);
|
||||||
|
|
||||||
//--- Initialisation of the read entity ---
|
//--- Initialisation of the read entity ---
|
||||||
|
|
||||||
|
|
||||||
ent->Init(aDimensions, aName, aConversionFactor);
|
ent->Init(aDimensions, aName, aConversionFactor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void RWStepBasic_RWConversionBasedUnit::WriteStep
|
void RWStepBasic_RWConversionBasedUnit::WriteStep
|
||||||
(StepData_StepWriter& SW,
|
(StepData_StepWriter& SW,
|
||||||
const Handle(StepBasic_ConversionBasedUnit)& ent) const
|
const Handle(StepBasic_ConversionBasedUnit)& ent) const
|
||||||
{
|
{
|
||||||
|
|
||||||
// --- inherited field dimensions ---
|
// --- inherited field dimensions ---
|
||||||
|
|
||||||
SW.Send(ent->Dimensions());
|
SW.Send(ent->Dimensions());
|
||||||
|
|
||||||
// --- own field : name ---
|
// --- own field : name ---
|
||||||
|
|
||||||
SW.Send(ent->Name());
|
SW.Send(ent->Name());
|
||||||
|
|
||||||
// --- own field : conversionFactor ---
|
// --- own field : conversionFactor ---
|
||||||
|
|
||||||
SW.Send(ent->ConversionFactor());
|
SW.Send(ent->ConversionFactor());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void RWStepBasic_RWConversionBasedUnit::Share(const Handle(StepBasic_ConversionBasedUnit)& ent, Interface_EntityIterator& iter) const
|
void RWStepBasic_RWConversionBasedUnit::Share(const Handle(StepBasic_ConversionBasedUnit)& ent, Interface_EntityIterator& iter) const
|
||||||
{
|
{
|
||||||
|
|
||||||
iter.GetOneItem(ent->Dimensions());
|
iter.GetOneItem(ent->Dimensions());
|
||||||
|
|
||||||
|
|
||||||
iter.GetOneItem(ent->ConversionFactor());
|
iter.GetOneItem(ent->ConversionFactor());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -19,7 +19,6 @@
|
|||||||
#include <RWStepBasic_RWConversionBasedUnitAndAreaUnit.hxx>
|
#include <RWStepBasic_RWConversionBasedUnitAndAreaUnit.hxx>
|
||||||
#include <StepBasic_ConversionBasedUnitAndAreaUnit.hxx>
|
#include <StepBasic_ConversionBasedUnitAndAreaUnit.hxx>
|
||||||
#include <StepBasic_DimensionalExponents.hxx>
|
#include <StepBasic_DimensionalExponents.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepData_StepReaderData.hxx>
|
#include <StepData_StepReaderData.hxx>
|
||||||
#include <StepData_StepWriter.hxx>
|
#include <StepData_StepWriter.hxx>
|
||||||
|
|
||||||
@ -28,9 +27,9 @@ RWStepBasic_RWConversionBasedUnitAndAreaUnit::RWStepBasic_RWConversionBasedUnitA
|
|||||||
}
|
}
|
||||||
|
|
||||||
void RWStepBasic_RWConversionBasedUnitAndAreaUnit::ReadStep(const Handle(StepData_StepReaderData)& data,
|
void RWStepBasic_RWConversionBasedUnitAndAreaUnit::ReadStep(const Handle(StepData_StepReaderData)& data,
|
||||||
const Standard_Integer num0,
|
const Standard_Integer num0,
|
||||||
Handle(Interface_Check)& ach,
|
Handle(Interface_Check)& ach,
|
||||||
const Handle(StepBasic_ConversionBasedUnitAndAreaUnit)& ent) const
|
const Handle(StepBasic_ConversionBasedUnitAndAreaUnit)& ent) const
|
||||||
{
|
{
|
||||||
Standard_Integer num = num0;
|
Standard_Integer num = num0;
|
||||||
//data->NamedForComplex("AREA_UNIT",num0,num,ach);
|
//data->NamedForComplex("AREA_UNIT",num0,num,ach);
|
||||||
@ -43,15 +42,15 @@ void RWStepBasic_RWConversionBasedUnitAndAreaUnit::ReadStep(const Handle(StepDat
|
|||||||
data->ReadString (num,1,"name",ach,aName);
|
data->ReadString (num,1,"name",ach,aName);
|
||||||
|
|
||||||
// --- field : conversionFactor ---
|
// --- field : conversionFactor ---
|
||||||
Handle(StepBasic_MeasureWithUnit) aConversionFactor;
|
Handle(Standard_Transient) aConversionFactor;
|
||||||
data->ReadEntity(num, 2,"conversion_factor", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aConversionFactor);
|
data->ReadEntity (num, 2, "conversion_factor", ach, STANDARD_TYPE(Standard_Transient), aConversionFactor);
|
||||||
num = data->NextForComplex(num);
|
num = data->NextForComplex(num);
|
||||||
|
|
||||||
if (!data->CheckNbParams(num,1,ach,"named_unit")) return;
|
if (!data->CheckNbParams(num,1,ach,"named_unit")) return;
|
||||||
Handle(StepBasic_DimensionalExponents) aDimensions;
|
Handle(StepBasic_DimensionalExponents) aDimensions;
|
||||||
data->ReadEntity(num, 1,"dimensions", ach, STANDARD_TYPE(StepBasic_DimensionalExponents), aDimensions);
|
data->ReadEntity(num, 1,"dimensions", ach, STANDARD_TYPE(StepBasic_DimensionalExponents), aDimensions);
|
||||||
|
|
||||||
ent->Init(aDimensions,aName,aConversionFactor);
|
ent->Init(aDimensions,aName, aConversionFactor);
|
||||||
}
|
}
|
||||||
|
|
||||||
void RWStepBasic_RWConversionBasedUnitAndAreaUnit::WriteStep(StepData_StepWriter& SW,
|
void RWStepBasic_RWConversionBasedUnitAndAreaUnit::WriteStep(StepData_StepWriter& SW,
|
||||||
|
@ -17,96 +17,95 @@
|
|||||||
#include <StepBasic_ConversionBasedUnitAndLengthUnit.hxx>
|
#include <StepBasic_ConversionBasedUnitAndLengthUnit.hxx>
|
||||||
#include <StepBasic_DimensionalExponents.hxx>
|
#include <StepBasic_DimensionalExponents.hxx>
|
||||||
#include <StepBasic_LengthUnit.hxx>
|
#include <StepBasic_LengthUnit.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepData_StepReaderData.hxx>
|
#include <StepData_StepReaderData.hxx>
|
||||||
#include <StepData_StepWriter.hxx>
|
#include <StepData_StepWriter.hxx>
|
||||||
|
|
||||||
RWStepBasic_RWConversionBasedUnitAndLengthUnit::RWStepBasic_RWConversionBasedUnitAndLengthUnit () {}
|
RWStepBasic_RWConversionBasedUnitAndLengthUnit::RWStepBasic_RWConversionBasedUnitAndLengthUnit () {}
|
||||||
|
|
||||||
void RWStepBasic_RWConversionBasedUnitAndLengthUnit::ReadStep
|
void RWStepBasic_RWConversionBasedUnitAndLengthUnit::ReadStep
|
||||||
(const Handle(StepData_StepReaderData)& data,
|
(const Handle(StepData_StepReaderData)& data,
|
||||||
const Standard_Integer num0,
|
const Standard_Integer num0,
|
||||||
Handle(Interface_Check)& ach,
|
Handle(Interface_Check)& ach,
|
||||||
const Handle(StepBasic_ConversionBasedUnitAndLengthUnit)& ent) const
|
const Handle(StepBasic_ConversionBasedUnitAndLengthUnit)& ent) const
|
||||||
{
|
{
|
||||||
|
|
||||||
Standard_Integer num = num0;
|
Standard_Integer num = num0;
|
||||||
|
|
||||||
|
|
||||||
// --- Instance of plex component ConversionBasedUnit ---
|
// --- Instance of plex component ConversionBasedUnit ---
|
||||||
|
|
||||||
if (!data->CheckNbParams(num,2,ach,"conversion_based_unit")) return;
|
if (!data->CheckNbParams(num,2,ach,"conversion_based_unit")) return;
|
||||||
|
|
||||||
// --- field : name ---
|
// --- field : name ---
|
||||||
|
|
||||||
Handle(TCollection_HAsciiString) aName;
|
Handle(TCollection_HAsciiString) aName;
|
||||||
//szv#4:S4163:12Mar99 `Standard_Boolean stat1 =` not needed
|
//szv#4:S4163:12Mar99 `Standard_Boolean stat1 =` not needed
|
||||||
data->ReadString (num,1,"name",ach,aName);
|
data->ReadString (num,1,"name",ach,aName);
|
||||||
|
|
||||||
// --- field : conversionFactor ---
|
// --- field : conversionFactor ---
|
||||||
|
|
||||||
Handle(StepBasic_MeasureWithUnit) aConversionFactor;
|
//szv#4:S4163:12Mar99 `Standard_Boolean stat2 =` not needed
|
||||||
//szv#4:S4163:12Mar99 `Standard_Boolean stat2 =` not needed
|
Handle(Standard_Transient) aConversionFactor;
|
||||||
data->ReadEntity(num, 2,"conversion_factor", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aConversionFactor);
|
data->ReadEntity (num, 2, "conversion_factor", ach, STANDARD_TYPE(Standard_Transient), aConversionFactor);
|
||||||
|
|
||||||
num = data->NextForComplex(num);
|
num = data->NextForComplex(num);
|
||||||
|
|
||||||
// --- Instance of plex component LengthUnit ---
|
// --- Instance of plex component LengthUnit ---
|
||||||
|
|
||||||
if (!data->CheckNbParams(num,0,ach,"length_unit")) return;
|
if (!data->CheckNbParams(num,0,ach,"length_unit")) return;
|
||||||
|
|
||||||
num = data->NextForComplex(num);
|
num = data->NextForComplex(num);
|
||||||
|
|
||||||
// --- Instance of common supertype NamedUnit ---
|
// --- Instance of common supertype NamedUnit ---
|
||||||
|
|
||||||
if (!data->CheckNbParams(num,1,ach,"named_unit")) return;
|
if (!data->CheckNbParams(num,1,ach,"named_unit")) return;
|
||||||
// --- field : dimensions ---
|
// --- field : dimensions ---
|
||||||
|
|
||||||
|
|
||||||
Handle(StepBasic_DimensionalExponents) aDimensions;
|
Handle(StepBasic_DimensionalExponents) aDimensions;
|
||||||
//szv#4:S4163:12Mar99 `Standard_Boolean stat3 =` not needed
|
//szv#4:S4163:12Mar99 `Standard_Boolean stat3 =` not needed
|
||||||
data->ReadEntity(num, 1,"dimensions", ach, STANDARD_TYPE(StepBasic_DimensionalExponents), aDimensions);
|
data->ReadEntity(num, 1,"dimensions", ach, STANDARD_TYPE(StepBasic_DimensionalExponents), aDimensions);
|
||||||
|
|
||||||
//--- Initialisation of the red entity ---
|
//--- Initialisation of the red entity ---
|
||||||
|
|
||||||
ent->Init(aDimensions,aName,aConversionFactor);
|
ent->Init(aDimensions,aName,aConversionFactor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void RWStepBasic_RWConversionBasedUnitAndLengthUnit::WriteStep
|
void RWStepBasic_RWConversionBasedUnitAndLengthUnit::WriteStep
|
||||||
(StepData_StepWriter& SW,
|
(StepData_StepWriter& SW,
|
||||||
const Handle(StepBasic_ConversionBasedUnitAndLengthUnit)& ent) const
|
const Handle(StepBasic_ConversionBasedUnitAndLengthUnit)& ent) const
|
||||||
{
|
{
|
||||||
|
|
||||||
// --- Instance of plex component ConversionBasedUnit ---
|
// --- Instance of plex component ConversionBasedUnit ---
|
||||||
|
|
||||||
SW.StartEntity("CONVERSION_BASED_UNIT");
|
SW.StartEntity("CONVERSION_BASED_UNIT");
|
||||||
// --- field : name ---
|
// --- field : name ---
|
||||||
|
|
||||||
SW.Send(ent->Name());
|
SW.Send(ent->Name());
|
||||||
// --- field : conversionFactor ---
|
// --- field : conversionFactor ---
|
||||||
|
|
||||||
SW.Send(ent->ConversionFactor());
|
SW.Send(ent->ConversionFactor());
|
||||||
|
|
||||||
// --- Instance of plex component LengthUnit ---
|
// --- Instance of plex component LengthUnit ---
|
||||||
|
|
||||||
SW.StartEntity("LENGTH_UNIT");
|
SW.StartEntity("LENGTH_UNIT");
|
||||||
|
|
||||||
// --- Instance of common supertype NamedUnit ---
|
// --- Instance of common supertype NamedUnit ---
|
||||||
|
|
||||||
SW.StartEntity("NAMED_UNIT");
|
SW.StartEntity("NAMED_UNIT");
|
||||||
// --- field : dimensions ---
|
// --- field : dimensions ---
|
||||||
|
|
||||||
SW.Send(ent->Dimensions());
|
SW.Send(ent->Dimensions());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void RWStepBasic_RWConversionBasedUnitAndLengthUnit::Share(const Handle(StepBasic_ConversionBasedUnitAndLengthUnit)& ent, Interface_EntityIterator& iter) const
|
void RWStepBasic_RWConversionBasedUnitAndLengthUnit::Share(const Handle(StepBasic_ConversionBasedUnitAndLengthUnit)& ent, Interface_EntityIterator& iter) const
|
||||||
{
|
{
|
||||||
|
|
||||||
iter.GetOneItem(ent->Dimensions());
|
iter.GetOneItem(ent->Dimensions());
|
||||||
|
|
||||||
|
|
||||||
iter.GetOneItem(ent->ConversionFactor());
|
iter.GetOneItem(ent->ConversionFactor());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
#include <StepBasic_ConversionBasedUnitAndMassUnit.hxx>
|
#include <StepBasic_ConversionBasedUnitAndMassUnit.hxx>
|
||||||
#include <StepBasic_DimensionalExponents.hxx>
|
#include <StepBasic_DimensionalExponents.hxx>
|
||||||
#include <StepBasic_MassUnit.hxx>
|
#include <StepBasic_MassUnit.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepData_StepReaderData.hxx>
|
#include <StepData_StepReaderData.hxx>
|
||||||
#include <StepData_StepWriter.hxx>
|
#include <StepData_StepWriter.hxx>
|
||||||
|
|
||||||
@ -36,10 +35,10 @@ RWStepBasic_RWConversionBasedUnitAndMassUnit::RWStepBasic_RWConversionBasedUnitA
|
|||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
void RWStepBasic_RWConversionBasedUnitAndMassUnit::ReadStep
|
void RWStepBasic_RWConversionBasedUnitAndMassUnit::ReadStep
|
||||||
(const Handle(StepData_StepReaderData)& data,
|
(const Handle(StepData_StepReaderData)& data,
|
||||||
const Standard_Integer num0,
|
const Standard_Integer num0,
|
||||||
Handle(Interface_Check)& ach,
|
Handle(Interface_Check)& ach,
|
||||||
const Handle(StepBasic_ConversionBasedUnitAndMassUnit)& ent) const
|
const Handle(StepBasic_ConversionBasedUnitAndMassUnit)& ent) const
|
||||||
{
|
{
|
||||||
|
|
||||||
Standard_Integer num = num0;
|
Standard_Integer num = num0;
|
||||||
@ -51,9 +50,9 @@ void RWStepBasic_RWConversionBasedUnitAndMassUnit::ReadStep
|
|||||||
//szv#4:S4163:12Mar99 `Standard_Boolean stat1 =` not needed
|
//szv#4:S4163:12Mar99 `Standard_Boolean stat1 =` not needed
|
||||||
data->ReadString (num,1,"name",ach,aName);
|
data->ReadString (num,1,"name",ach,aName);
|
||||||
// --- field : conversionFactor ---
|
// --- field : conversionFactor ---
|
||||||
Handle(StepBasic_MeasureWithUnit) aConversionFactor;
|
|
||||||
//szv#4:S4163:12Mar99 `Standard_Boolean stat2 =` not needed
|
//szv#4:S4163:12Mar99 `Standard_Boolean stat2 =` not needed
|
||||||
data->ReadEntity(num, 2,"conversion_factor", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aConversionFactor);
|
Handle(Standard_Transient) aConversionFactor;
|
||||||
|
data->ReadEntity (num, 2, "conversion_factor", ach, STANDARD_TYPE(Standard_Transient), aConversionFactor);
|
||||||
|
|
||||||
num = data->NextForComplex(num);
|
num = data->NextForComplex(num);
|
||||||
|
|
||||||
@ -70,7 +69,7 @@ void RWStepBasic_RWConversionBasedUnitAndMassUnit::ReadStep
|
|||||||
data->ReadEntity(num, 1,"dimensions", ach, STANDARD_TYPE(StepBasic_DimensionalExponents), aDimensions);
|
data->ReadEntity(num, 1,"dimensions", ach, STANDARD_TYPE(StepBasic_DimensionalExponents), aDimensions);
|
||||||
|
|
||||||
//--- Initialisation of the red entity ---
|
//--- Initialisation of the red entity ---
|
||||||
ent->Init(aDimensions,aName,aConversionFactor);
|
ent->Init(aDimensions,aName, aConversionFactor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
#include <RWStepBasic_RWConversionBasedUnitAndPlaneAngleUnit.hxx>
|
#include <RWStepBasic_RWConversionBasedUnitAndPlaneAngleUnit.hxx>
|
||||||
#include <StepBasic_ConversionBasedUnitAndPlaneAngleUnit.hxx>
|
#include <StepBasic_ConversionBasedUnitAndPlaneAngleUnit.hxx>
|
||||||
#include <StepBasic_DimensionalExponents.hxx>
|
#include <StepBasic_DimensionalExponents.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepBasic_PlaneAngleUnit.hxx>
|
#include <StepBasic_PlaneAngleUnit.hxx>
|
||||||
#include <StepData_StepReaderData.hxx>
|
#include <StepData_StepReaderData.hxx>
|
||||||
#include <StepData_StepWriter.hxx>
|
#include <StepData_StepWriter.hxx>
|
||||||
@ -25,71 +24,72 @@
|
|||||||
RWStepBasic_RWConversionBasedUnitAndPlaneAngleUnit::RWStepBasic_RWConversionBasedUnitAndPlaneAngleUnit () {}
|
RWStepBasic_RWConversionBasedUnitAndPlaneAngleUnit::RWStepBasic_RWConversionBasedUnitAndPlaneAngleUnit () {}
|
||||||
|
|
||||||
void RWStepBasic_RWConversionBasedUnitAndPlaneAngleUnit::ReadStep
|
void RWStepBasic_RWConversionBasedUnitAndPlaneAngleUnit::ReadStep
|
||||||
(const Handle(StepData_StepReaderData)& data,
|
(const Handle(StepData_StepReaderData)& data,
|
||||||
const Standard_Integer num0,
|
const Standard_Integer num0,
|
||||||
Handle(Interface_Check)& ach,
|
Handle(Interface_Check)& ach,
|
||||||
const Handle(StepBasic_ConversionBasedUnitAndPlaneAngleUnit)& ent) const
|
const Handle(StepBasic_ConversionBasedUnitAndPlaneAngleUnit)& ent) const
|
||||||
{
|
{
|
||||||
// sln 09.10.2001. BUC61003. Correction of looking for items of complex entity in case of them do not saticfy to alphabetical order
|
// sln 09.10.2001. BUC61003. Correction of looking for items of complex entity in case of them do not saticfy to alphabetical order
|
||||||
// CONVERSION_BASED_UNIT
|
// CONVERSION_BASED_UNIT
|
||||||
Standard_Integer num = 0;//num0;
|
Standard_Integer num = 0;//num0;
|
||||||
data->NamedForComplex("CONVERSION_BASED_UNIT", "CNBSUN",num0,num,ach);
|
data->NamedForComplex("CONVERSION_BASED_UNIT", "CNBSUN",num0,num,ach);
|
||||||
if (!data->CheckNbParams(num,2,ach,"conversion_based_unit")) return;
|
if (!data->CheckNbParams(num,2,ach,"conversion_based_unit")) return;
|
||||||
Handle(TCollection_HAsciiString) aName;
|
Handle(TCollection_HAsciiString) aName;
|
||||||
data->ReadString (num,1,"name",ach,aName);
|
data->ReadString (num,1,"name",ach,aName);
|
||||||
Handle(StepBasic_MeasureWithUnit) aConversionFactor;
|
|
||||||
data->ReadEntity(num, 2,"conversion_factor", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aConversionFactor);
|
|
||||||
|
|
||||||
// NAMED_UNIT
|
Handle(Standard_Transient) aConversionFactor;
|
||||||
//num = 0; //gka TRJ9 c2-id-214.stp
|
data->ReadEntity (num, 2, "conversion_factor", ach, STANDARD_TYPE(Standard_Transient), aConversionFactor);
|
||||||
data->NamedForComplex("NAMED_UNIT", "NMDUNT",num0,num,ach);
|
|
||||||
if (!data->CheckNbParams(num,1,ach,"named_unit")) return;
|
|
||||||
Handle(StepBasic_DimensionalExponents) aDimensions;
|
|
||||||
data->ReadEntity(num, 1,"dimensions", ach, STANDARD_TYPE(StepBasic_DimensionalExponents), aDimensions);
|
|
||||||
|
|
||||||
// PLANE_ANGLE_UNIT
|
// NAMED_UNIT
|
||||||
//num = 0; //gka
|
//num = 0; //gka TRJ9 c2-id-214.stp
|
||||||
data->NamedForComplex("PLANE_ANGLE_UNIT", "PLANUN",num0,num,ach);
|
data->NamedForComplex("NAMED_UNIT", "NMDUNT",num0,num,ach);
|
||||||
if (!data->CheckNbParams(num,0,ach,"plane_angle_unit")) return;
|
if (!data->CheckNbParams(num,1,ach,"named_unit")) return;
|
||||||
|
Handle(StepBasic_DimensionalExponents) aDimensions;
|
||||||
|
data->ReadEntity(num, 1,"dimensions", ach, STANDARD_TYPE(StepBasic_DimensionalExponents), aDimensions);
|
||||||
|
|
||||||
ent->Init(aDimensions,aName,aConversionFactor);
|
// PLANE_ANGLE_UNIT
|
||||||
|
//num = 0; //gka
|
||||||
|
data->NamedForComplex("PLANE_ANGLE_UNIT", "PLANUN",num0,num,ach);
|
||||||
|
if (!data->CheckNbParams(num,0,ach,"plane_angle_unit")) return;
|
||||||
|
|
||||||
|
ent->Init(aDimensions,aName,aConversionFactor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void RWStepBasic_RWConversionBasedUnitAndPlaneAngleUnit::WriteStep
|
void RWStepBasic_RWConversionBasedUnitAndPlaneAngleUnit::WriteStep
|
||||||
(StepData_StepWriter& SW,
|
(StepData_StepWriter& SW,
|
||||||
const Handle(StepBasic_ConversionBasedUnitAndPlaneAngleUnit)& ent) const
|
const Handle(StepBasic_ConversionBasedUnitAndPlaneAngleUnit)& ent) const
|
||||||
{
|
{
|
||||||
|
|
||||||
// --- Instance of plex component ConversionBasedUnit ---
|
// --- Instance of plex component ConversionBasedUnit ---
|
||||||
|
|
||||||
SW.StartEntity("CONVERSION_BASED_UNIT");
|
SW.StartEntity("CONVERSION_BASED_UNIT");
|
||||||
// --- field : name ---
|
// --- field : name ---
|
||||||
|
|
||||||
SW.Send(ent->Name());
|
SW.Send(ent->Name());
|
||||||
// --- field : conversionFactor ---
|
// --- field : conversionFactor ---
|
||||||
|
|
||||||
SW.Send(ent->ConversionFactor());
|
SW.Send(ent->ConversionFactor());
|
||||||
|
|
||||||
// --- Instance of common supertype NamedUnit ---
|
// --- Instance of common supertype NamedUnit ---
|
||||||
|
|
||||||
SW.StartEntity("NAMED_UNIT");
|
SW.StartEntity("NAMED_UNIT");
|
||||||
// --- field : dimensions ---
|
// --- field : dimensions ---
|
||||||
|
|
||||||
SW.Send(ent->Dimensions());
|
SW.Send(ent->Dimensions());
|
||||||
|
|
||||||
// --- Instance of plex component PlaneAngleUnit ---
|
// --- Instance of plex component PlaneAngleUnit ---
|
||||||
|
|
||||||
SW.StartEntity("PLANE_ANGLE_UNIT");
|
SW.StartEntity("PLANE_ANGLE_UNIT");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void RWStepBasic_RWConversionBasedUnitAndPlaneAngleUnit::Share(const Handle(StepBasic_ConversionBasedUnitAndPlaneAngleUnit)& ent, Interface_EntityIterator& iter) const
|
void RWStepBasic_RWConversionBasedUnitAndPlaneAngleUnit::Share(const Handle(StepBasic_ConversionBasedUnitAndPlaneAngleUnit)& ent, Interface_EntityIterator& iter) const
|
||||||
{
|
{
|
||||||
|
|
||||||
iter.GetOneItem(ent->Dimensions());
|
iter.GetOneItem(ent->Dimensions());
|
||||||
|
|
||||||
|
|
||||||
iter.GetOneItem(ent->ConversionFactor());
|
iter.GetOneItem(ent->ConversionFactor());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
#include <RWStepBasic_RWConversionBasedUnitAndRatioUnit.hxx>
|
#include <RWStepBasic_RWConversionBasedUnitAndRatioUnit.hxx>
|
||||||
#include <StepBasic_ConversionBasedUnitAndRatioUnit.hxx>
|
#include <StepBasic_ConversionBasedUnitAndRatioUnit.hxx>
|
||||||
#include <StepBasic_DimensionalExponents.hxx>
|
#include <StepBasic_DimensionalExponents.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepBasic_RatioUnit.hxx>
|
#include <StepBasic_RatioUnit.hxx>
|
||||||
#include <StepData_StepReaderData.hxx>
|
#include <StepData_StepReaderData.hxx>
|
||||||
#include <StepData_StepWriter.hxx>
|
#include <StepData_StepWriter.hxx>
|
||||||
@ -24,89 +23,89 @@
|
|||||||
RWStepBasic_RWConversionBasedUnitAndRatioUnit::RWStepBasic_RWConversionBasedUnitAndRatioUnit () {}
|
RWStepBasic_RWConversionBasedUnitAndRatioUnit::RWStepBasic_RWConversionBasedUnitAndRatioUnit () {}
|
||||||
|
|
||||||
void RWStepBasic_RWConversionBasedUnitAndRatioUnit::ReadStep
|
void RWStepBasic_RWConversionBasedUnitAndRatioUnit::ReadStep
|
||||||
(const Handle(StepData_StepReaderData)& data,
|
(const Handle(StepData_StepReaderData)& data,
|
||||||
const Standard_Integer num0,
|
const Standard_Integer num0,
|
||||||
Handle(Interface_Check)& ach,
|
Handle(Interface_Check)& ach,
|
||||||
const Handle(StepBasic_ConversionBasedUnitAndRatioUnit)& ent) const
|
const Handle(StepBasic_ConversionBasedUnitAndRatioUnit)& ent) const
|
||||||
{
|
{
|
||||||
|
|
||||||
Standard_Integer num = num0;
|
Standard_Integer num = num0;
|
||||||
|
|
||||||
|
|
||||||
// --- Instance of plex component ConversionBasedUnit ---
|
// --- Instance of plex component ConversionBasedUnit ---
|
||||||
|
|
||||||
if (!data->CheckNbParams(num,2,ach,"conversion_based_unit")) return;
|
if (!data->CheckNbParams(num,2,ach,"conversion_based_unit")) return;
|
||||||
|
|
||||||
// --- field : name ---
|
// --- field : name ---
|
||||||
|
|
||||||
Handle(TCollection_HAsciiString) aName;
|
Handle(TCollection_HAsciiString) aName;
|
||||||
//szv#4:S4163:12Mar99 `Standard_Boolean stat1 =` not needed
|
//szv#4:S4163:12Mar99 `Standard_Boolean stat1 =` not needed
|
||||||
data->ReadString (num,1,"name",ach,aName);
|
data->ReadString (num,1,"name",ach,aName);
|
||||||
|
|
||||||
// --- field : conversionFactor ---
|
// --- field : conversionFactor ---
|
||||||
|
|
||||||
Handle(StepBasic_MeasureWithUnit) aConversionFactor;
|
//szv#4:S4163:12Mar99 `Standard_Boolean stat2 =` not needed
|
||||||
//szv#4:S4163:12Mar99 `Standard_Boolean stat2 =` not needed
|
Handle(Standard_Transient) aConversionFactor;
|
||||||
data->ReadEntity(num, 2,"conversion_factor", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aConversionFactor);
|
data->ReadEntity(num, 2, "conversion_factor", ach, STANDARD_TYPE(Standard_Transient), aConversionFactor);
|
||||||
|
|
||||||
num = data->NextForComplex(num);
|
num = data->NextForComplex(num);
|
||||||
|
|
||||||
// --- Instance of common supertype NamedUnit ---
|
// --- Instance of common supertype NamedUnit ---
|
||||||
|
|
||||||
if (!data->CheckNbParams(num,1,ach,"named_unit")) return;
|
if (!data->CheckNbParams(num,1,ach,"named_unit")) return;
|
||||||
|
|
||||||
// --- field : dimensions ---
|
// --- field : dimensions ---
|
||||||
|
|
||||||
Handle(StepBasic_DimensionalExponents) aDimensions;
|
Handle(StepBasic_DimensionalExponents) aDimensions;
|
||||||
//szv#4:S4163:12Mar99 `Standard_Boolean stat3 =` not needed
|
//szv#4:S4163:12Mar99 `Standard_Boolean stat3 =` not needed
|
||||||
data->ReadEntity(num, 1,"dimensions", ach, STANDARD_TYPE(StepBasic_DimensionalExponents), aDimensions);
|
data->ReadEntity(num, 1,"dimensions", ach, STANDARD_TYPE(StepBasic_DimensionalExponents), aDimensions);
|
||||||
|
|
||||||
num = data->NextForComplex(num);
|
num = data->NextForComplex(num);
|
||||||
|
|
||||||
// --- Instance of plex component RatioUnit ---
|
// --- Instance of plex component RatioUnit ---
|
||||||
|
|
||||||
if (!data->CheckNbParams(num,0,ach,"ratio_unit")) return;
|
if (!data->CheckNbParams(num,0,ach,"ratio_unit")) return;
|
||||||
|
|
||||||
//--- Initialisation of the red entity ---
|
//--- Initialisation of the red entity ---
|
||||||
|
|
||||||
ent->Init(aDimensions,aName,aConversionFactor);
|
ent->Init(aDimensions,aName, aConversionFactor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void RWStepBasic_RWConversionBasedUnitAndRatioUnit::WriteStep
|
void RWStepBasic_RWConversionBasedUnitAndRatioUnit::WriteStep
|
||||||
(StepData_StepWriter& SW,
|
(StepData_StepWriter& SW,
|
||||||
const Handle(StepBasic_ConversionBasedUnitAndRatioUnit)& ent) const
|
const Handle(StepBasic_ConversionBasedUnitAndRatioUnit)& ent) const
|
||||||
{
|
{
|
||||||
|
|
||||||
// --- Instance of plex component ConversionBasedUnit ---
|
// --- Instance of plex component ConversionBasedUnit ---
|
||||||
|
|
||||||
SW.StartEntity("CONVERSION_BASED_UNIT");
|
SW.StartEntity("CONVERSION_BASED_UNIT");
|
||||||
// --- field : name ---
|
// --- field : name ---
|
||||||
|
|
||||||
SW.Send(ent->Name());
|
SW.Send(ent->Name());
|
||||||
// --- field : conversionFactor ---
|
// --- field : conversionFactor ---
|
||||||
|
|
||||||
SW.Send(ent->ConversionFactor());
|
SW.Send(ent->ConversionFactor());
|
||||||
|
|
||||||
// --- Instance of plex component RatioUnit ---
|
// --- Instance of plex component RatioUnit ---
|
||||||
|
|
||||||
SW.StartEntity("RATIO_UNIT");
|
SW.StartEntity("RATIO_UNIT");
|
||||||
|
|
||||||
// --- Instance of common supertype NamedUnit ---
|
// --- Instance of common supertype NamedUnit ---
|
||||||
|
|
||||||
SW.StartEntity("NAMED_UNIT");
|
SW.StartEntity("NAMED_UNIT");
|
||||||
// --- field : dimensions ---
|
// --- field : dimensions ---
|
||||||
|
|
||||||
SW.Send(ent->Dimensions());
|
SW.Send(ent->Dimensions());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void RWStepBasic_RWConversionBasedUnitAndRatioUnit::Share(const Handle(StepBasic_ConversionBasedUnitAndRatioUnit)& ent, Interface_EntityIterator& iter) const
|
void RWStepBasic_RWConversionBasedUnitAndRatioUnit::Share(const Handle(StepBasic_ConversionBasedUnitAndRatioUnit)& ent, Interface_EntityIterator& iter) const
|
||||||
{
|
{
|
||||||
|
|
||||||
iter.GetOneItem(ent->Dimensions());
|
iter.GetOneItem(ent->Dimensions());
|
||||||
|
|
||||||
|
|
||||||
iter.GetOneItem(ent->ConversionFactor());
|
iter.GetOneItem(ent->ConversionFactor());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
#include <RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit.hxx>
|
#include <RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit.hxx>
|
||||||
#include <StepBasic_ConversionBasedUnitAndSolidAngleUnit.hxx>
|
#include <StepBasic_ConversionBasedUnitAndSolidAngleUnit.hxx>
|
||||||
#include <StepBasic_DimensionalExponents.hxx>
|
#include <StepBasic_DimensionalExponents.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepBasic_SolidAngleUnit.hxx>
|
#include <StepBasic_SolidAngleUnit.hxx>
|
||||||
#include <StepData_StepReaderData.hxx>
|
#include <StepData_StepReaderData.hxx>
|
||||||
#include <StepData_StepWriter.hxx>
|
#include <StepData_StepWriter.hxx>
|
||||||
@ -24,89 +23,89 @@
|
|||||||
RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit::RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit () {}
|
RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit::RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit () {}
|
||||||
|
|
||||||
void RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit::ReadStep
|
void RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit::ReadStep
|
||||||
(const Handle(StepData_StepReaderData)& data,
|
(const Handle(StepData_StepReaderData)& data,
|
||||||
const Standard_Integer num0,
|
const Standard_Integer num0,
|
||||||
Handle(Interface_Check)& ach,
|
Handle(Interface_Check)& ach,
|
||||||
const Handle(StepBasic_ConversionBasedUnitAndSolidAngleUnit)& ent) const
|
const Handle(StepBasic_ConversionBasedUnitAndSolidAngleUnit)& ent) const
|
||||||
{
|
{
|
||||||
|
|
||||||
Standard_Integer num = num0;
|
Standard_Integer num = num0;
|
||||||
|
|
||||||
|
|
||||||
// --- Instance of plex component ConversionBasedUnit ---
|
// --- Instance of plex component ConversionBasedUnit ---
|
||||||
|
|
||||||
if (!data->CheckNbParams(num,2,ach,"conversion_based_unit")) return;
|
if (!data->CheckNbParams(num,2,ach,"conversion_based_unit")) return;
|
||||||
|
|
||||||
// --- field : name ---
|
// --- field : name ---
|
||||||
|
|
||||||
Handle(TCollection_HAsciiString) aName;
|
Handle(TCollection_HAsciiString) aName;
|
||||||
//szv#4:S4163:12Mar99 `Standard_Boolean stat1 =` not needed
|
//szv#4:S4163:12Mar99 `Standard_Boolean stat1 =` not needed
|
||||||
data->ReadString (num,1,"name",ach,aName);
|
data->ReadString (num,1,"name",ach,aName);
|
||||||
|
|
||||||
// --- field : conversionFactor ---
|
// --- field : conversionFactor ---
|
||||||
|
|
||||||
Handle(StepBasic_MeasureWithUnit) aConversionFactor;
|
//szv#4:S4163:12Mar99 `Standard_Boolean stat2 =` not needed
|
||||||
//szv#4:S4163:12Mar99 `Standard_Boolean stat2 =` not needed
|
Handle(Standard_Transient) aConversionFactor;
|
||||||
data->ReadEntity(num, 2,"conversion_factor", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aConversionFactor);
|
data->ReadEntity (num, 2, "conversion_factor", ach, STANDARD_TYPE(Standard_Transient), aConversionFactor);
|
||||||
|
|
||||||
num = data->NextForComplex(num);
|
num = data->NextForComplex(num);
|
||||||
|
|
||||||
// --- Instance of common supertype NamedUnit ---
|
// --- Instance of common supertype NamedUnit ---
|
||||||
|
|
||||||
if (!data->CheckNbParams(num,1,ach,"named_unit")) return;
|
if (!data->CheckNbParams(num,1,ach,"named_unit")) return;
|
||||||
// --- field : dimensions ---
|
// --- field : dimensions ---
|
||||||
|
|
||||||
|
|
||||||
Handle(StepBasic_DimensionalExponents) aDimensions;
|
Handle(StepBasic_DimensionalExponents) aDimensions;
|
||||||
//szv#4:S4163:12Mar99 `Standard_Boolean stat3 =` not needed
|
//szv#4:S4163:12Mar99 `Standard_Boolean stat3 =` not needed
|
||||||
data->ReadEntity(num, 1,"dimensions", ach, STANDARD_TYPE(StepBasic_DimensionalExponents), aDimensions);
|
data->ReadEntity(num, 1,"dimensions", ach, STANDARD_TYPE(StepBasic_DimensionalExponents), aDimensions);
|
||||||
|
|
||||||
num = data->NextForComplex(num);
|
num = data->NextForComplex(num);
|
||||||
|
|
||||||
// --- Instance of plex component SolidAngleUnit ---
|
// --- Instance of plex component SolidAngleUnit ---
|
||||||
|
|
||||||
if (!data->CheckNbParams(num,0,ach,"solid_angle_unit")) return;
|
if (!data->CheckNbParams(num,0,ach,"solid_angle_unit")) return;
|
||||||
|
|
||||||
//--- Initialisation of the red entity ---
|
//--- Initialisation of the red entity ---
|
||||||
|
|
||||||
ent->Init(aDimensions,aName,aConversionFactor);
|
ent->Init(aDimensions,aName,aConversionFactor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit::WriteStep
|
void RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit::WriteStep
|
||||||
(StepData_StepWriter& SW,
|
(StepData_StepWriter& SW,
|
||||||
const Handle(StepBasic_ConversionBasedUnitAndSolidAngleUnit)& ent) const
|
const Handle(StepBasic_ConversionBasedUnitAndSolidAngleUnit)& ent) const
|
||||||
{
|
{
|
||||||
|
|
||||||
// --- Instance of plex component ConversionBasedUnit ---
|
// --- Instance of plex component ConversionBasedUnit ---
|
||||||
|
|
||||||
SW.StartEntity("CONVERSION_BASED_UNIT");
|
SW.StartEntity("CONVERSION_BASED_UNIT");
|
||||||
// --- field : name ---
|
// --- field : name ---
|
||||||
|
|
||||||
SW.Send(ent->Name());
|
SW.Send(ent->Name());
|
||||||
// --- field : conversionFactor ---
|
// --- field : conversionFactor ---
|
||||||
|
|
||||||
SW.Send(ent->ConversionFactor());
|
SW.Send(ent->ConversionFactor());
|
||||||
|
|
||||||
// --- Instance of common supertype NamedUnit ---
|
// --- Instance of common supertype NamedUnit ---
|
||||||
|
|
||||||
SW.StartEntity("NAMED_UNIT");
|
SW.StartEntity("NAMED_UNIT");
|
||||||
// --- field : dimensions ---
|
// --- field : dimensions ---
|
||||||
|
|
||||||
SW.Send(ent->Dimensions());
|
SW.Send(ent->Dimensions());
|
||||||
|
|
||||||
// --- Instance of plex component SolidAngleUnit ---
|
// --- Instance of plex component SolidAngleUnit ---
|
||||||
|
|
||||||
SW.StartEntity("SOLID_ANGLE_UNIT");
|
SW.StartEntity("SOLID_ANGLE_UNIT");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit::Share(const Handle(StepBasic_ConversionBasedUnitAndSolidAngleUnit)& ent, Interface_EntityIterator& iter) const
|
void RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit::Share(const Handle(StepBasic_ConversionBasedUnitAndSolidAngleUnit)& ent, Interface_EntityIterator& iter) const
|
||||||
{
|
{
|
||||||
|
|
||||||
iter.GetOneItem(ent->Dimensions());
|
iter.GetOneItem(ent->Dimensions());
|
||||||
|
|
||||||
|
|
||||||
iter.GetOneItem(ent->ConversionFactor());
|
iter.GetOneItem(ent->ConversionFactor());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
#include <RWStepBasic_RWConversionBasedUnitAndTimeUnit.hxx>
|
#include <RWStepBasic_RWConversionBasedUnitAndTimeUnit.hxx>
|
||||||
#include <StepBasic_ConversionBasedUnitAndTimeUnit.hxx>
|
#include <StepBasic_ConversionBasedUnitAndTimeUnit.hxx>
|
||||||
#include <StepBasic_DimensionalExponents.hxx>
|
#include <StepBasic_DimensionalExponents.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepBasic_TimeUnit.hxx>
|
#include <StepBasic_TimeUnit.hxx>
|
||||||
#include <StepData_StepReaderData.hxx>
|
#include <StepData_StepReaderData.hxx>
|
||||||
#include <StepData_StepWriter.hxx>
|
#include <StepData_StepWriter.hxx>
|
||||||
@ -24,89 +23,88 @@
|
|||||||
RWStepBasic_RWConversionBasedUnitAndTimeUnit::RWStepBasic_RWConversionBasedUnitAndTimeUnit () {}
|
RWStepBasic_RWConversionBasedUnitAndTimeUnit::RWStepBasic_RWConversionBasedUnitAndTimeUnit () {}
|
||||||
|
|
||||||
void RWStepBasic_RWConversionBasedUnitAndTimeUnit::ReadStep
|
void RWStepBasic_RWConversionBasedUnitAndTimeUnit::ReadStep
|
||||||
(const Handle(StepData_StepReaderData)& data,
|
(const Handle(StepData_StepReaderData)& data,
|
||||||
const Standard_Integer num0,
|
const Standard_Integer num0,
|
||||||
Handle(Interface_Check)& ach,
|
Handle(Interface_Check)& ach,
|
||||||
const Handle(StepBasic_ConversionBasedUnitAndTimeUnit)& ent) const
|
const Handle(StepBasic_ConversionBasedUnitAndTimeUnit)& ent) const
|
||||||
{
|
{
|
||||||
|
|
||||||
Standard_Integer num = num0;
|
Standard_Integer num = num0;
|
||||||
|
|
||||||
|
|
||||||
// --- Instance of plex component ConversionBasedUnit ---
|
// --- Instance of plex component ConversionBasedUnit ---
|
||||||
|
|
||||||
if (!data->CheckNbParams(num,2,ach,"conversion_based_unit")) return;
|
if (!data->CheckNbParams(num,2,ach,"conversion_based_unit")) return;
|
||||||
|
|
||||||
// --- field : name ---
|
// --- field : name ---
|
||||||
|
|
||||||
Handle(TCollection_HAsciiString) aName;
|
Handle(TCollection_HAsciiString) aName;
|
||||||
//szv#4:S4163:12Mar99 `Standard_Boolean stat1 =` not needed
|
//szv#4:S4163:12Mar99 `Standard_Boolean stat1 =` not needed
|
||||||
data->ReadString (num,1,"name",ach,aName);
|
data->ReadString (num,1,"name",ach,aName);
|
||||||
|
|
||||||
// --- field : conversionFactor ---
|
// --- field : conversionFactor ---
|
||||||
|
|
||||||
Handle(StepBasic_MeasureWithUnit) aConversionFactor;
|
//szv#4:S4163:12Mar99 `Standard_Boolean stat2 =` not needed
|
||||||
//szv#4:S4163:12Mar99 `Standard_Boolean stat2 =` not needed
|
Handle(Standard_Transient) aConversionFactor;
|
||||||
data->ReadEntity(num, 2,"conversion_factor", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aConversionFactor);
|
data->ReadEntity (num, 2, "conversion_factor", ach, STANDARD_TYPE(Standard_Transient), aConversionFactor);
|
||||||
|
|
||||||
num = data->NextForComplex(num);
|
num = data->NextForComplex(num);
|
||||||
|
|
||||||
// --- Instance of common supertype NamedUnit ---
|
// --- Instance of common supertype NamedUnit ---
|
||||||
|
|
||||||
if (!data->CheckNbParams(num,1,ach,"named_unit")) return;
|
if (!data->CheckNbParams(num,1,ach,"named_unit")) return;
|
||||||
// --- field : dimensions ---
|
// --- field : dimensions ---
|
||||||
|
|
||||||
|
|
||||||
Handle(StepBasic_DimensionalExponents) aDimensions;
|
Handle(StepBasic_DimensionalExponents) aDimensions;
|
||||||
//szv#4:S4163:12Mar99 `Standard_Boolean stat3 =` not needed
|
//szv#4:S4163:12Mar99 `Standard_Boolean stat3 =` not needed
|
||||||
data->ReadEntity(num, 1,"dimensions", ach, STANDARD_TYPE(StepBasic_DimensionalExponents), aDimensions);
|
data->ReadEntity(num, 1,"dimensions", ach, STANDARD_TYPE(StepBasic_DimensionalExponents), aDimensions);
|
||||||
|
|
||||||
num = data->NextForComplex(num);
|
num = data->NextForComplex(num);
|
||||||
|
|
||||||
// --- Instance of plex component TimeUnit ---
|
// --- Instance of plex component TimeUnit ---
|
||||||
|
|
||||||
if (!data->CheckNbParams(num,0,ach,"time_unit")) return;
|
if (!data->CheckNbParams(num,0,ach,"time_unit")) return;
|
||||||
|
|
||||||
//--- Initialisation of the red entity ---
|
//--- Initialisation of the red entity ---
|
||||||
|
|
||||||
ent->Init(aDimensions,aName,aConversionFactor);
|
ent->Init(aDimensions,aName, aConversionFactor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void RWStepBasic_RWConversionBasedUnitAndTimeUnit::WriteStep
|
void RWStepBasic_RWConversionBasedUnitAndTimeUnit::WriteStep(StepData_StepWriter& SW,
|
||||||
(StepData_StepWriter& SW,
|
const Handle(StepBasic_ConversionBasedUnitAndTimeUnit)& ent) const
|
||||||
const Handle(StepBasic_ConversionBasedUnitAndTimeUnit)& ent) const
|
|
||||||
{
|
{
|
||||||
|
|
||||||
// --- Instance of plex component ConversionBasedUnit ---
|
// --- Instance of plex component ConversionBasedUnit ---
|
||||||
|
|
||||||
SW.StartEntity("CONVERSION_BASED_UNIT");
|
SW.StartEntity("CONVERSION_BASED_UNIT");
|
||||||
// --- field : name ---
|
// --- field : name ---
|
||||||
|
|
||||||
SW.Send(ent->Name());
|
SW.Send(ent->Name());
|
||||||
// --- field : conversionFactor ---
|
// --- field : conversionFactor ---
|
||||||
|
|
||||||
SW.Send(ent->ConversionFactor());
|
SW.Send(ent->ConversionFactor());
|
||||||
|
|
||||||
// --- Instance of plex component TimeUnit ---
|
// --- Instance of plex component TimeUnit ---
|
||||||
|
|
||||||
SW.StartEntity("TIME_UNIT");
|
SW.StartEntity("TIME_UNIT");
|
||||||
|
|
||||||
// --- Instance of common supertype NamedUnit ---
|
// --- Instance of common supertype NamedUnit ---
|
||||||
|
|
||||||
SW.StartEntity("NAMED_UNIT");
|
SW.StartEntity("NAMED_UNIT");
|
||||||
// --- field : dimensions ---
|
// --- field : dimensions ---
|
||||||
|
|
||||||
SW.Send(ent->Dimensions());
|
SW.Send(ent->Dimensions());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void RWStepBasic_RWConversionBasedUnitAndTimeUnit::Share(const Handle(StepBasic_ConversionBasedUnitAndTimeUnit)& ent, Interface_EntityIterator& iter) const
|
void RWStepBasic_RWConversionBasedUnitAndTimeUnit::Share(const Handle(StepBasic_ConversionBasedUnitAndTimeUnit)& ent, Interface_EntityIterator& iter) const
|
||||||
{
|
{
|
||||||
|
|
||||||
iter.GetOneItem(ent->Dimensions());
|
iter.GetOneItem(ent->Dimensions());
|
||||||
|
|
||||||
|
|
||||||
iter.GetOneItem(ent->ConversionFactor());
|
iter.GetOneItem(ent->ConversionFactor());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -19,7 +19,6 @@
|
|||||||
#include <RWStepBasic_RWConversionBasedUnitAndVolumeUnit.hxx>
|
#include <RWStepBasic_RWConversionBasedUnitAndVolumeUnit.hxx>
|
||||||
#include <StepBasic_ConversionBasedUnitAndVolumeUnit.hxx>
|
#include <StepBasic_ConversionBasedUnitAndVolumeUnit.hxx>
|
||||||
#include <StepBasic_DimensionalExponents.hxx>
|
#include <StepBasic_DimensionalExponents.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepData_StepReaderData.hxx>
|
#include <StepData_StepReaderData.hxx>
|
||||||
#include <StepData_StepWriter.hxx>
|
#include <StepData_StepWriter.hxx>
|
||||||
|
|
||||||
@ -28,9 +27,9 @@ RWStepBasic_RWConversionBasedUnitAndVolumeUnit::RWStepBasic_RWConversionBasedUni
|
|||||||
}
|
}
|
||||||
|
|
||||||
void RWStepBasic_RWConversionBasedUnitAndVolumeUnit::ReadStep(const Handle(StepData_StepReaderData)& data,
|
void RWStepBasic_RWConversionBasedUnitAndVolumeUnit::ReadStep(const Handle(StepData_StepReaderData)& data,
|
||||||
const Standard_Integer num0,
|
const Standard_Integer num0,
|
||||||
Handle(Interface_Check)& ach,
|
Handle(Interface_Check)& ach,
|
||||||
const Handle(StepBasic_ConversionBasedUnitAndVolumeUnit)& ent) const
|
const Handle(StepBasic_ConversionBasedUnitAndVolumeUnit)& ent) const
|
||||||
{
|
{
|
||||||
Standard_Integer num = num0;
|
Standard_Integer num = num0;
|
||||||
// --- Instance of plex component ConversionBasedUnit ---
|
// --- Instance of plex component ConversionBasedUnit ---
|
||||||
@ -39,8 +38,8 @@ void RWStepBasic_RWConversionBasedUnitAndVolumeUnit::ReadStep(const Handle(StepD
|
|||||||
data->ReadString (num,1,"name",ach,aName);
|
data->ReadString (num,1,"name",ach,aName);
|
||||||
|
|
||||||
// --- field : conversionFactor ---
|
// --- field : conversionFactor ---
|
||||||
Handle(StepBasic_MeasureWithUnit) aConversionFactor;
|
Handle(Standard_Transient) aConversionFactor;
|
||||||
data->ReadEntity(num, 2,"conversion_factor", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aConversionFactor);
|
data->ReadEntity (num, 2, "conversion_factor", ach, STANDARD_TYPE(Standard_Transient), aConversionFactor);
|
||||||
|
|
||||||
num = data->NextForComplex(num);
|
num = data->NextForComplex(num);
|
||||||
if (!data->CheckNbParams(num,1,ach,"named_unit")) return;
|
if (!data->CheckNbParams(num,1,ach,"named_unit")) return;
|
||||||
@ -50,11 +49,11 @@ void RWStepBasic_RWConversionBasedUnitAndVolumeUnit::ReadStep(const Handle(StepD
|
|||||||
data->NamedForComplex("VOLUME_UNIT","VLMUNT",num0,num,ach);
|
data->NamedForComplex("VOLUME_UNIT","VLMUNT",num0,num,ach);
|
||||||
if (!data->CheckNbParams(num,0,ach,"volume_unit")) return;
|
if (!data->CheckNbParams(num,0,ach,"volume_unit")) return;
|
||||||
|
|
||||||
ent->Init(aDimensions,aName,aConversionFactor);
|
ent->Init(aDimensions,aName, aConversionFactor);
|
||||||
}
|
}
|
||||||
|
|
||||||
void RWStepBasic_RWConversionBasedUnitAndVolumeUnit::WriteStep(StepData_StepWriter& SW,
|
void RWStepBasic_RWConversionBasedUnitAndVolumeUnit::WriteStep(StepData_StepWriter& SW,
|
||||||
const Handle(StepBasic_ConversionBasedUnitAndVolumeUnit)& ent) const
|
const Handle(StepBasic_ConversionBasedUnitAndVolumeUnit)& ent) const
|
||||||
{
|
{
|
||||||
SW.StartEntity("CONVERSION_BASED_UNIT");
|
SW.StartEntity("CONVERSION_BASED_UNIT");
|
||||||
SW.Send(ent->Name());
|
SW.Send(ent->Name());
|
||||||
@ -65,7 +64,7 @@ void RWStepBasic_RWConversionBasedUnitAndVolumeUnit::WriteStep(StepData_StepWrit
|
|||||||
}
|
}
|
||||||
|
|
||||||
void RWStepBasic_RWConversionBasedUnitAndVolumeUnit::Share(const Handle(StepBasic_ConversionBasedUnitAndVolumeUnit)& ent,
|
void RWStepBasic_RWConversionBasedUnitAndVolumeUnit::Share(const Handle(StepBasic_ConversionBasedUnitAndVolumeUnit)& ent,
|
||||||
Interface_EntityIterator& iter) const
|
Interface_EntityIterator& iter) const
|
||||||
{
|
{
|
||||||
iter.GetOneItem(ent->Dimensions());
|
iter.GetOneItem(ent->Dimensions());
|
||||||
iter.GetOneItem(ent->ConversionFactor());
|
iter.GetOneItem(ent->ConversionFactor());
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
#include <Interface_Check.hxx>
|
#include <Interface_Check.hxx>
|
||||||
#include <Interface_EntityIterator.hxx>
|
#include <Interface_EntityIterator.hxx>
|
||||||
#include <RWStepDimTol_RWAngularityTolerance.hxx>
|
#include <RWStepDimTol_RWAngularityTolerance.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepData_StepReaderData.hxx>
|
#include <StepData_StepReaderData.hxx>
|
||||||
#include <StepData_StepWriter.hxx>
|
#include <StepData_StepWriter.hxx>
|
||||||
#include <StepDimTol_AngularityTolerance.hxx>
|
#include <StepDimTol_AngularityTolerance.hxx>
|
||||||
@ -54,8 +53,8 @@ void RWStepDimTol_RWAngularityTolerance::ReadStep (const Handle(StepData_StepRea
|
|||||||
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
|
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
|
||||||
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
|
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
|
||||||
|
|
||||||
Handle(StepBasic_MeasureWithUnit) aGeometricTolerance_Magnitude;
|
Handle(Standard_Transient) aMagnitude;
|
||||||
data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aGeometricTolerance_Magnitude);
|
data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
|
||||||
|
|
||||||
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
|
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
|
||||||
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
|
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
|
||||||
@ -78,7 +77,7 @@ void RWStepDimTol_RWAngularityTolerance::ReadStep (const Handle(StepData_StepRea
|
|||||||
// Initialize entity
|
// Initialize entity
|
||||||
ent->Init(aGeometricTolerance_Name,
|
ent->Init(aGeometricTolerance_Name,
|
||||||
aGeometricTolerance_Description,
|
aGeometricTolerance_Description,
|
||||||
aGeometricTolerance_Magnitude,
|
aMagnitude,
|
||||||
aGeometricTolerance_TolerancedShapeAspect,
|
aGeometricTolerance_TolerancedShapeAspect,
|
||||||
aGeometricToleranceWithDatumReference_DatumSystem);
|
aGeometricToleranceWithDatumReference_DatumSystem);
|
||||||
}
|
}
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
#include <Interface_Check.hxx>
|
#include <Interface_Check.hxx>
|
||||||
#include <Interface_EntityIterator.hxx>
|
#include <Interface_EntityIterator.hxx>
|
||||||
#include <RWStepDimTol_RWCircularRunoutTolerance.hxx>
|
#include <RWStepDimTol_RWCircularRunoutTolerance.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepData_StepReaderData.hxx>
|
#include <StepData_StepReaderData.hxx>
|
||||||
#include <StepData_StepWriter.hxx>
|
#include <StepData_StepWriter.hxx>
|
||||||
#include <StepDimTol_CircularRunoutTolerance.hxx>
|
#include <StepDimTol_CircularRunoutTolerance.hxx>
|
||||||
@ -54,8 +53,8 @@ void RWStepDimTol_RWCircularRunoutTolerance::ReadStep (const Handle(StepData_Ste
|
|||||||
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
|
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
|
||||||
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
|
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
|
||||||
|
|
||||||
Handle(StepBasic_MeasureWithUnit) aGeometricTolerance_Magnitude;
|
Handle(Standard_Transient) aMagnitude;
|
||||||
data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aGeometricTolerance_Magnitude);
|
data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
|
||||||
|
|
||||||
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
|
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
|
||||||
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
|
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
|
||||||
@ -78,7 +77,7 @@ void RWStepDimTol_RWCircularRunoutTolerance::ReadStep (const Handle(StepData_Ste
|
|||||||
// Initialize entity
|
// Initialize entity
|
||||||
ent->Init(aGeometricTolerance_Name,
|
ent->Init(aGeometricTolerance_Name,
|
||||||
aGeometricTolerance_Description,
|
aGeometricTolerance_Description,
|
||||||
aGeometricTolerance_Magnitude,
|
aMagnitude,
|
||||||
aGeometricTolerance_TolerancedShapeAspect,
|
aGeometricTolerance_TolerancedShapeAspect,
|
||||||
aGeometricToleranceWithDatumReference_DatumSystem);
|
aGeometricToleranceWithDatumReference_DatumSystem);
|
||||||
}
|
}
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
#include <Interface_Check.hxx>
|
#include <Interface_Check.hxx>
|
||||||
#include <Interface_EntityIterator.hxx>
|
#include <Interface_EntityIterator.hxx>
|
||||||
#include <RWStepDimTol_RWCoaxialityTolerance.hxx>
|
#include <RWStepDimTol_RWCoaxialityTolerance.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepData_StepReaderData.hxx>
|
#include <StepData_StepReaderData.hxx>
|
||||||
#include <StepData_StepWriter.hxx>
|
#include <StepData_StepWriter.hxx>
|
||||||
#include <StepDimTol_CoaxialityTolerance.hxx>
|
#include <StepDimTol_CoaxialityTolerance.hxx>
|
||||||
@ -54,8 +53,8 @@ void RWStepDimTol_RWCoaxialityTolerance::ReadStep (const Handle(StepData_StepRea
|
|||||||
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
|
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
|
||||||
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
|
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
|
||||||
|
|
||||||
Handle(StepBasic_MeasureWithUnit) aGeometricTolerance_Magnitude;
|
Handle(Standard_Transient) aMagnitude;
|
||||||
data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aGeometricTolerance_Magnitude);
|
data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
|
||||||
|
|
||||||
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
|
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
|
||||||
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
|
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
|
||||||
@ -78,7 +77,7 @@ void RWStepDimTol_RWCoaxialityTolerance::ReadStep (const Handle(StepData_StepRea
|
|||||||
// Initialize entity
|
// Initialize entity
|
||||||
ent->Init(aGeometricTolerance_Name,
|
ent->Init(aGeometricTolerance_Name,
|
||||||
aGeometricTolerance_Description,
|
aGeometricTolerance_Description,
|
||||||
aGeometricTolerance_Magnitude,
|
aMagnitude,
|
||||||
aGeometricTolerance_TolerancedShapeAspect,
|
aGeometricTolerance_TolerancedShapeAspect,
|
||||||
aGeometricToleranceWithDatumReference_DatumSystem);
|
aGeometricToleranceWithDatumReference_DatumSystem);
|
||||||
}
|
}
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
#include <Interface_Check.hxx>
|
#include <Interface_Check.hxx>
|
||||||
#include <Interface_EntityIterator.hxx>
|
#include <Interface_EntityIterator.hxx>
|
||||||
#include <RWStepDimTol_RWConcentricityTolerance.hxx>
|
#include <RWStepDimTol_RWConcentricityTolerance.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepData_StepReaderData.hxx>
|
#include <StepData_StepReaderData.hxx>
|
||||||
#include <StepData_StepWriter.hxx>
|
#include <StepData_StepWriter.hxx>
|
||||||
#include <StepDimTol_ConcentricityTolerance.hxx>
|
#include <StepDimTol_ConcentricityTolerance.hxx>
|
||||||
@ -54,8 +53,8 @@ void RWStepDimTol_RWConcentricityTolerance::ReadStep (const Handle(StepData_Step
|
|||||||
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
|
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
|
||||||
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
|
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
|
||||||
|
|
||||||
Handle(StepBasic_MeasureWithUnit) aGeometricTolerance_Magnitude;
|
Handle(Standard_Transient) aMagnitude;
|
||||||
data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aGeometricTolerance_Magnitude);
|
data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
|
||||||
|
|
||||||
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
|
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
|
||||||
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
|
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
|
||||||
@ -78,7 +77,7 @@ void RWStepDimTol_RWConcentricityTolerance::ReadStep (const Handle(StepData_Step
|
|||||||
// Initialize entity
|
// Initialize entity
|
||||||
ent->Init(aGeometricTolerance_Name,
|
ent->Init(aGeometricTolerance_Name,
|
||||||
aGeometricTolerance_Description,
|
aGeometricTolerance_Description,
|
||||||
aGeometricTolerance_Magnitude,
|
aMagnitude,
|
||||||
aGeometricTolerance_TolerancedShapeAspect,
|
aGeometricTolerance_TolerancedShapeAspect,
|
||||||
aGeometricToleranceWithDatumReference_DatumSystem);
|
aGeometricToleranceWithDatumReference_DatumSystem);
|
||||||
}
|
}
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
#include <Interface_EntityIterator.hxx>
|
#include <Interface_EntityIterator.hxx>
|
||||||
#include <RWStepDimTol_RWCylindricityTolerance.hxx>
|
#include <RWStepDimTol_RWCylindricityTolerance.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepData_StepReaderData.hxx>
|
#include <StepData_StepReaderData.hxx>
|
||||||
#include <StepData_StepWriter.hxx>
|
#include <StepData_StepWriter.hxx>
|
||||||
#include <StepDimTol_CylindricityTolerance.hxx>
|
#include <StepDimTol_CylindricityTolerance.hxx>
|
||||||
@ -52,8 +51,8 @@ void RWStepDimTol_RWCylindricityTolerance::ReadStep (const Handle(StepData_StepR
|
|||||||
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
|
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
|
||||||
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
|
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
|
||||||
|
|
||||||
Handle(StepBasic_MeasureWithUnit) aGeometricTolerance_Magnitude;
|
Handle(Standard_Transient) aMagnitude;
|
||||||
data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aGeometricTolerance_Magnitude);
|
data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
|
||||||
|
|
||||||
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
|
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
|
||||||
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
|
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
|
||||||
@ -61,7 +60,7 @@ void RWStepDimTol_RWCylindricityTolerance::ReadStep (const Handle(StepData_StepR
|
|||||||
// Initialize entity
|
// Initialize entity
|
||||||
ent->Init(aGeometricTolerance_Name,
|
ent->Init(aGeometricTolerance_Name,
|
||||||
aGeometricTolerance_Description,
|
aGeometricTolerance_Description,
|
||||||
aGeometricTolerance_Magnitude,
|
aMagnitude,
|
||||||
aGeometricTolerance_TolerancedShapeAspect);
|
aGeometricTolerance_TolerancedShapeAspect);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
#include <Interface_EntityIterator.hxx>
|
#include <Interface_EntityIterator.hxx>
|
||||||
#include <RWStepDimTol_RWFlatnessTolerance.hxx>
|
#include <RWStepDimTol_RWFlatnessTolerance.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepData_StepReaderData.hxx>
|
#include <StepData_StepReaderData.hxx>
|
||||||
#include <StepData_StepWriter.hxx>
|
#include <StepData_StepWriter.hxx>
|
||||||
#include <StepDimTol_FlatnessTolerance.hxx>
|
#include <StepDimTol_FlatnessTolerance.hxx>
|
||||||
@ -35,7 +34,6 @@ RWStepDimTol_RWFlatnessTolerance::RWStepDimTol_RWFlatnessTolerance ()
|
|||||||
//function : ReadStep
|
//function : ReadStep
|
||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
void RWStepDimTol_RWFlatnessTolerance::ReadStep (const Handle(StepData_StepReaderData)& data,
|
void RWStepDimTol_RWFlatnessTolerance::ReadStep (const Handle(StepData_StepReaderData)& data,
|
||||||
const Standard_Integer num,
|
const Standard_Integer num,
|
||||||
Handle(Interface_Check)& ach,
|
Handle(Interface_Check)& ach,
|
||||||
@ -52,8 +50,8 @@ void RWStepDimTol_RWFlatnessTolerance::ReadStep (const Handle(StepData_StepReade
|
|||||||
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
|
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
|
||||||
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
|
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
|
||||||
|
|
||||||
Handle(StepBasic_MeasureWithUnit) aGeometricTolerance_Magnitude;
|
Handle(Standard_Transient) aMagnitude;
|
||||||
data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aGeometricTolerance_Magnitude);
|
data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
|
||||||
|
|
||||||
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
|
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
|
||||||
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
|
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
|
||||||
@ -61,7 +59,7 @@ void RWStepDimTol_RWFlatnessTolerance::ReadStep (const Handle(StepData_StepReade
|
|||||||
// Initialize entity
|
// Initialize entity
|
||||||
ent->Init(aGeometricTolerance_Name,
|
ent->Init(aGeometricTolerance_Name,
|
||||||
aGeometricTolerance_Description,
|
aGeometricTolerance_Description,
|
||||||
aGeometricTolerance_Magnitude,
|
aMagnitude,
|
||||||
aGeometricTolerance_TolerancedShapeAspect);
|
aGeometricTolerance_TolerancedShapeAspect);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
#include <Interface_Check.hxx>
|
#include <Interface_Check.hxx>
|
||||||
#include <Interface_EntityIterator.hxx>
|
#include <Interface_EntityIterator.hxx>
|
||||||
#include <RWStepDimTol_RWGeoTolAndGeoTolWthDatRef.hxx>
|
#include <RWStepDimTol_RWGeoTolAndGeoTolWthDatRef.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepData_StepReaderData.hxx>
|
#include <StepData_StepReaderData.hxx>
|
||||||
#include <StepData_StepWriter.hxx>
|
#include <StepData_StepWriter.hxx>
|
||||||
#include <StepDimTol_GeometricToleranceWithDatumReference.hxx>
|
#include <StepDimTol_GeometricToleranceWithDatumReference.hxx>
|
||||||
@ -51,8 +50,10 @@ void RWStepDimTol_RWGeoTolAndGeoTolWthDatRef::ReadStep
|
|||||||
data->ReadString (num, 1, "name", ach, aName);
|
data->ReadString (num, 1, "name", ach, aName);
|
||||||
Handle(TCollection_HAsciiString) aDescription;
|
Handle(TCollection_HAsciiString) aDescription;
|
||||||
data->ReadString (num, 2, "description", ach, aDescription);
|
data->ReadString (num, 2, "description", ach, aDescription);
|
||||||
Handle(StepBasic_MeasureWithUnit) aMagnitude;
|
|
||||||
data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude);
|
Handle(Standard_Transient) aMagnitude;
|
||||||
|
data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
|
||||||
|
|
||||||
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
|
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
|
||||||
data->ReadEntity (num, 4, "toleranced_shape_aspect", ach, aTolerancedShapeAspect);
|
data->ReadEntity (num, 4, "toleranced_shape_aspect", ach, aTolerancedShapeAspect);
|
||||||
|
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
#include <Interface_EntityIterator.hxx>
|
#include <Interface_EntityIterator.hxx>
|
||||||
#include <RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndGeoTolWthMaxTol.hxx>
|
#include <RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndGeoTolWthMaxTol.hxx>
|
||||||
#include <StepBasic_LengthMeasureWithUnit.hxx>
|
#include <StepBasic_LengthMeasureWithUnit.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepData_StepReaderData.hxx>
|
#include <StepData_StepReaderData.hxx>
|
||||||
#include <StepData_StepWriter.hxx>
|
#include <StepData_StepWriter.hxx>
|
||||||
#include <StepDimTol_GeometricToleranceWithDatumReference.hxx>
|
#include <StepDimTol_GeometricToleranceWithDatumReference.hxx>
|
||||||
@ -53,8 +52,10 @@ void RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndGeoTolWthMaxTol::ReadStep
|
|||||||
data->ReadString (num, 1, "name", ach, aName);
|
data->ReadString (num, 1, "name", ach, aName);
|
||||||
Handle(TCollection_HAsciiString) aDescription;
|
Handle(TCollection_HAsciiString) aDescription;
|
||||||
data->ReadString (num, 2, "description", ach, aDescription);
|
data->ReadString (num, 2, "description", ach, aDescription);
|
||||||
Handle(StepBasic_MeasureWithUnit) aMagnitude;
|
|
||||||
data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude);
|
Handle(Standard_Transient) aMagnitude;
|
||||||
|
data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
|
||||||
|
|
||||||
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
|
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
|
||||||
data->ReadEntity (num, 4, "toleranced_shape_aspect", ach, aTolerancedShapeAspect);
|
data->ReadEntity (num, 4, "toleranced_shape_aspect", ach, aTolerancedShapeAspect);
|
||||||
|
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
#include <Interface_Check.hxx>
|
#include <Interface_Check.hxx>
|
||||||
#include <Interface_EntityIterator.hxx>
|
#include <Interface_EntityIterator.hxx>
|
||||||
#include <RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndGeoTolWthMod.hxx>
|
#include <RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndGeoTolWthMod.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepData_StepReaderData.hxx>
|
#include <StepData_StepReaderData.hxx>
|
||||||
#include <StepData_StepWriter.hxx>
|
#include <StepData_StepWriter.hxx>
|
||||||
#include <StepDimTol_GeometricToleranceWithDatumReference.hxx>
|
#include <StepDimTol_GeometricToleranceWithDatumReference.hxx>
|
||||||
@ -52,8 +51,10 @@ void RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndGeoTolWthMod::ReadStep
|
|||||||
data->ReadString (num, 1, "name", ach, aName);
|
data->ReadString (num, 1, "name", ach, aName);
|
||||||
Handle(TCollection_HAsciiString) aDescription;
|
Handle(TCollection_HAsciiString) aDescription;
|
||||||
data->ReadString (num, 2, "description", ach, aDescription);
|
data->ReadString (num, 2, "description", ach, aDescription);
|
||||||
Handle(StepBasic_MeasureWithUnit) aMagnitude;
|
|
||||||
data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude);
|
Handle(Standard_Transient) aMagnitude;
|
||||||
|
data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
|
||||||
|
|
||||||
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
|
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
|
||||||
data->ReadEntity (num, 4, "toleranced_shape_aspect", ach, aTolerancedShapeAspect);
|
data->ReadEntity (num, 4, "toleranced_shape_aspect", ach, aTolerancedShapeAspect);
|
||||||
|
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
#include <Interface_Check.hxx>
|
#include <Interface_Check.hxx>
|
||||||
#include <Interface_EntityIterator.hxx>
|
#include <Interface_EntityIterator.hxx>
|
||||||
#include <RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol.hxx>
|
#include <RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepData_StepReaderData.hxx>
|
#include <StepData_StepReaderData.hxx>
|
||||||
#include <StepData_StepWriter.hxx>
|
#include <StepData_StepWriter.hxx>
|
||||||
#include <StepDimTol_GeometricToleranceWithDatumReference.hxx>
|
#include <StepDimTol_GeometricToleranceWithDatumReference.hxx>
|
||||||
@ -50,8 +49,10 @@ void RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol::ReadStep
|
|||||||
data->ReadString (num, 1, "name", ach, aName);
|
data->ReadString (num, 1, "name", ach, aName);
|
||||||
Handle(TCollection_HAsciiString) aDescription;
|
Handle(TCollection_HAsciiString) aDescription;
|
||||||
data->ReadString (num, 2, "description", ach, aDescription);
|
data->ReadString (num, 2, "description", ach, aDescription);
|
||||||
Handle(StepBasic_MeasureWithUnit) aMagnitude;
|
|
||||||
data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude);
|
Handle(Standard_Transient) aMagnitude;
|
||||||
|
data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
|
||||||
|
|
||||||
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
|
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
|
||||||
data->ReadEntity (num, 4, "toleranced_shape_aspect", ach, aTolerancedShapeAspect);
|
data->ReadEntity (num, 4, "toleranced_shape_aspect", ach, aTolerancedShapeAspect);
|
||||||
|
|
||||||
|
@ -51,8 +51,10 @@ void RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndUneqDisGeoTol::ReadStep
|
|||||||
data->ReadString (num, 1, "name", ach, aName);
|
data->ReadString (num, 1, "name", ach, aName);
|
||||||
Handle(TCollection_HAsciiString) aDescription;
|
Handle(TCollection_HAsciiString) aDescription;
|
||||||
data->ReadString (num, 2, "description", ach, aDescription);
|
data->ReadString (num, 2, "description", ach, aDescription);
|
||||||
Handle(StepBasic_MeasureWithUnit) aMagnitude;
|
|
||||||
data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude);
|
Handle(Standard_Transient) aMagnitude;
|
||||||
|
data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
|
||||||
|
|
||||||
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
|
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
|
||||||
data->ReadEntity (num, 4, "toleranced_shape_aspect", ach, aTolerancedShapeAspect);
|
data->ReadEntity (num, 4, "toleranced_shape_aspect", ach, aTolerancedShapeAspect);
|
||||||
|
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
#include <Interface_EntityIterator.hxx>
|
#include <Interface_EntityIterator.hxx>
|
||||||
#include <RWStepDimTol_RWGeoTolAndGeoTolWthMaxTol.hxx>
|
#include <RWStepDimTol_RWGeoTolAndGeoTolWthMaxTol.hxx>
|
||||||
#include <StepBasic_LengthMeasureWithUnit.hxx>
|
#include <StepBasic_LengthMeasureWithUnit.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepData_StepReaderData.hxx>
|
#include <StepData_StepReaderData.hxx>
|
||||||
#include <StepData_StepWriter.hxx>
|
#include <StepData_StepWriter.hxx>
|
||||||
#include <StepDimTol_GeoTolAndGeoTolWthMaxTol.hxx>
|
#include <StepDimTol_GeoTolAndGeoTolWthMaxTol.hxx>
|
||||||
@ -51,8 +50,10 @@ void RWStepDimTol_RWGeoTolAndGeoTolWthMaxTol::ReadStep
|
|||||||
data->ReadString (num, 1, "name", ach, aName);
|
data->ReadString (num, 1, "name", ach, aName);
|
||||||
Handle(TCollection_HAsciiString) aDescription;
|
Handle(TCollection_HAsciiString) aDescription;
|
||||||
data->ReadString (num, 2, "description", ach, aDescription);
|
data->ReadString (num, 2, "description", ach, aDescription);
|
||||||
Handle(StepBasic_MeasureWithUnit) aMagnitude;
|
|
||||||
data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude);
|
Handle(Standard_Transient) aMagnitude;
|
||||||
|
data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
|
||||||
|
|
||||||
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
|
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
|
||||||
data->ReadEntity (num, 4, "toleranced_shape_aspect", ach, aTolerancedShapeAspect);
|
data->ReadEntity (num, 4, "toleranced_shape_aspect", ach, aTolerancedShapeAspect);
|
||||||
|
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
#include <Interface_Check.hxx>
|
#include <Interface_Check.hxx>
|
||||||
#include <Interface_EntityIterator.hxx>
|
#include <Interface_EntityIterator.hxx>
|
||||||
#include <RWStepDimTol_RWGeoTolAndGeoTolWthMod.hxx>
|
#include <RWStepDimTol_RWGeoTolAndGeoTolWthMod.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepData_StepReaderData.hxx>
|
#include <StepData_StepReaderData.hxx>
|
||||||
#include <StepData_StepWriter.hxx>
|
#include <StepData_StepWriter.hxx>
|
||||||
#include <StepDimTol_GeoTolAndGeoTolWthMod.hxx>
|
#include <StepDimTol_GeoTolAndGeoTolWthMod.hxx>
|
||||||
@ -50,8 +49,10 @@ void RWStepDimTol_RWGeoTolAndGeoTolWthMod::ReadStep
|
|||||||
data->ReadString (num, 1, "name", ach, aName);
|
data->ReadString (num, 1, "name", ach, aName);
|
||||||
Handle(TCollection_HAsciiString) aDescription;
|
Handle(TCollection_HAsciiString) aDescription;
|
||||||
data->ReadString (num, 2, "description", ach, aDescription);
|
data->ReadString (num, 2, "description", ach, aDescription);
|
||||||
Handle(StepBasic_MeasureWithUnit) aMagnitude;
|
|
||||||
data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude);
|
Handle(Standard_Transient) aMagnitude;
|
||||||
|
data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
|
||||||
|
|
||||||
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
|
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
|
||||||
data->ReadEntity (num, 4, "toleranced_shape_aspect", ach, aTolerancedShapeAspect);
|
data->ReadEntity (num, 4, "toleranced_shape_aspect", ach, aTolerancedShapeAspect);
|
||||||
|
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
#include <Interface_EntityIterator.hxx>
|
#include <Interface_EntityIterator.hxx>
|
||||||
#include <RWStepDimTol_RWGeometricTolerance.hxx>
|
#include <RWStepDimTol_RWGeometricTolerance.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepData_StepReaderData.hxx>
|
#include <StepData_StepReaderData.hxx>
|
||||||
#include <StepData_StepWriter.hxx>
|
#include <StepData_StepWriter.hxx>
|
||||||
#include <StepDimTol_GeometricTolerance.hxx>
|
#include <StepDimTol_GeometricTolerance.hxx>
|
||||||
@ -52,8 +51,8 @@ void RWStepDimTol_RWGeometricTolerance::ReadStep (const Handle(StepData_StepRead
|
|||||||
Handle(TCollection_HAsciiString) aDescription;
|
Handle(TCollection_HAsciiString) aDescription;
|
||||||
data->ReadString (num, 2, "description", ach, aDescription);
|
data->ReadString (num, 2, "description", ach, aDescription);
|
||||||
|
|
||||||
Handle(StepBasic_MeasureWithUnit) aMagnitude;
|
Handle(Standard_Transient) aMagnitude;
|
||||||
data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude);
|
data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
|
||||||
|
|
||||||
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
|
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
|
||||||
data->ReadEntity (num, 4, "toleranced_shape_aspect", ach, aTolerancedShapeAspect);
|
data->ReadEntity (num, 4, "toleranced_shape_aspect", ach, aTolerancedShapeAspect);
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
#include <Interface_Check.hxx>
|
#include <Interface_Check.hxx>
|
||||||
#include <Interface_EntityIterator.hxx>
|
#include <Interface_EntityIterator.hxx>
|
||||||
#include <RWStepDimTol_RWGeometricToleranceWithDatumReference.hxx>
|
#include <RWStepDimTol_RWGeometricToleranceWithDatumReference.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepData_StepReaderData.hxx>
|
#include <StepData_StepReaderData.hxx>
|
||||||
#include <StepData_StepWriter.hxx>
|
#include <StepData_StepWriter.hxx>
|
||||||
#include <StepDimTol_GeometricToleranceWithDatumReference.hxx>
|
#include <StepDimTol_GeometricToleranceWithDatumReference.hxx>
|
||||||
@ -53,8 +52,8 @@ void RWStepDimTol_RWGeometricToleranceWithDatumReference::ReadStep (const Handle
|
|||||||
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
|
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
|
||||||
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
|
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
|
||||||
|
|
||||||
Handle(StepBasic_MeasureWithUnit) aGeometricTolerance_Magnitude;
|
Handle(Standard_Transient) aMagnitude;
|
||||||
data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aGeometricTolerance_Magnitude);
|
data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
|
||||||
|
|
||||||
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
|
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
|
||||||
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
|
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
|
||||||
@ -77,7 +76,7 @@ void RWStepDimTol_RWGeometricToleranceWithDatumReference::ReadStep (const Handle
|
|||||||
// Initialize entity
|
// Initialize entity
|
||||||
ent->Init(aGeometricTolerance_Name,
|
ent->Init(aGeometricTolerance_Name,
|
||||||
aGeometricTolerance_Description,
|
aGeometricTolerance_Description,
|
||||||
aGeometricTolerance_Magnitude,
|
aMagnitude,
|
||||||
aGeometricTolerance_TolerancedShapeAspect,
|
aGeometricTolerance_TolerancedShapeAspect,
|
||||||
aDatumSystem);
|
aDatumSystem);
|
||||||
}
|
}
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
#include <Interface_EntityIterator.hxx>
|
#include <Interface_EntityIterator.hxx>
|
||||||
#include <StepBasic_LengthMeasureWithUnit.hxx>
|
#include <StepBasic_LengthMeasureWithUnit.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepData_StepReaderData.hxx>
|
#include <StepData_StepReaderData.hxx>
|
||||||
#include <StepData_StepWriter.hxx>
|
#include <StepData_StepWriter.hxx>
|
||||||
#include <StepDimTol_GeometricToleranceWithDefinedAreaUnit.hxx>
|
#include <StepDimTol_GeometricToleranceWithDefinedAreaUnit.hxx>
|
||||||
@ -53,8 +52,8 @@ void RWStepDimTol_RWGeometricToleranceWithDefinedAreaUnit::
|
|||||||
Handle(TCollection_HAsciiString) aDescription;
|
Handle(TCollection_HAsciiString) aDescription;
|
||||||
data->ReadString (num, 2, "geometric_tolerance.description", ach, aDescription);
|
data->ReadString (num, 2, "geometric_tolerance.description", ach, aDescription);
|
||||||
|
|
||||||
Handle(StepBasic_MeasureWithUnit) aMagnitude;
|
Handle(Standard_Transient) aMagnitude;
|
||||||
data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude);
|
data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
|
||||||
|
|
||||||
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
|
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
|
||||||
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aTolerancedShapeAspect);
|
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aTolerancedShapeAspect);
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
#include <Interface_EntityIterator.hxx>
|
#include <Interface_EntityIterator.hxx>
|
||||||
#include <StepBasic_LengthMeasureWithUnit.hxx>
|
#include <StepBasic_LengthMeasureWithUnit.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepData_StepReaderData.hxx>
|
#include <StepData_StepReaderData.hxx>
|
||||||
#include <StepData_StepWriter.hxx>
|
#include <StepData_StepWriter.hxx>
|
||||||
#include <StepDimTol_GeometricToleranceWithDefinedUnit.hxx>
|
#include <StepDimTol_GeometricToleranceWithDefinedUnit.hxx>
|
||||||
@ -52,8 +51,8 @@ void RWStepDimTol_RWGeometricToleranceWithDefinedUnit::ReadStep (const Handle(St
|
|||||||
Handle(TCollection_HAsciiString) aDescription;
|
Handle(TCollection_HAsciiString) aDescription;
|
||||||
data->ReadString (num, 2, "geometric_tolerance.description", ach, aDescription);
|
data->ReadString (num, 2, "geometric_tolerance.description", ach, aDescription);
|
||||||
|
|
||||||
Handle(StepBasic_MeasureWithUnit) aMagnitude;
|
Handle(Standard_Transient) aMagnitude;
|
||||||
data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude);
|
data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
|
||||||
|
|
||||||
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
|
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
|
||||||
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aTolerancedShapeAspect);
|
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aTolerancedShapeAspect);
|
||||||
|
@ -21,7 +21,6 @@
|
|||||||
#include <StepData_StepWriter.hxx>
|
#include <StepData_StepWriter.hxx>
|
||||||
#include <StepDimTol_GeometricToleranceWithMaximumTolerance.hxx>
|
#include <StepDimTol_GeometricToleranceWithMaximumTolerance.hxx>
|
||||||
#include <StepDimTol_HArray1OfGeometricToleranceModifier.hxx>
|
#include <StepDimTol_HArray1OfGeometricToleranceModifier.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
//function : RWStepDimTol_RWGeometricTolerance
|
//function : RWStepDimTol_RWGeometricTolerance
|
||||||
@ -54,8 +53,8 @@ void RWStepDimTol_RWGeometricToleranceWithMaximumTolerance::
|
|||||||
Handle(TCollection_HAsciiString) aDescription;
|
Handle(TCollection_HAsciiString) aDescription;
|
||||||
data->ReadString (num, 2, "geometric_tolerance.description", ach, aDescription);
|
data->ReadString (num, 2, "geometric_tolerance.description", ach, aDescription);
|
||||||
|
|
||||||
Handle(StepBasic_MeasureWithUnit) aMagnitude;
|
Handle(Standard_Transient) aMagnitude;
|
||||||
data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude);
|
data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
|
||||||
|
|
||||||
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
|
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
|
||||||
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aTolerancedShapeAspect);
|
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aTolerancedShapeAspect);
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
#include <Interface_Check.hxx>
|
#include <Interface_Check.hxx>
|
||||||
#include <Interface_EntityIterator.hxx>
|
#include <Interface_EntityIterator.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepData_StepReaderData.hxx>
|
#include <StepData_StepReaderData.hxx>
|
||||||
#include <StepData_StepWriter.hxx>
|
#include <StepData_StepWriter.hxx>
|
||||||
#include <StepDimTol_GeometricToleranceWithModifiers.hxx>
|
#include <StepDimTol_GeometricToleranceWithModifiers.hxx>
|
||||||
@ -54,8 +53,8 @@ void RWStepDimTol_RWGeometricToleranceWithModifiers::
|
|||||||
Handle(TCollection_HAsciiString) aDescription;
|
Handle(TCollection_HAsciiString) aDescription;
|
||||||
data->ReadString (num, 2, "geometric_tolerance.description", ach, aDescription);
|
data->ReadString (num, 2, "geometric_tolerance.description", ach, aDescription);
|
||||||
|
|
||||||
Handle(StepBasic_MeasureWithUnit) aMagnitude;
|
Handle(Standard_Transient) aMagnitude;
|
||||||
data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude);
|
data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
|
||||||
|
|
||||||
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
|
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
|
||||||
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aTolerancedShapeAspect);
|
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aTolerancedShapeAspect);
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
#include <Interface_EntityIterator.hxx>
|
#include <Interface_EntityIterator.hxx>
|
||||||
#include <RWStepDimTol_RWLineProfileTolerance.hxx>
|
#include <RWStepDimTol_RWLineProfileTolerance.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepData_StepReaderData.hxx>
|
#include <StepData_StepReaderData.hxx>
|
||||||
#include <StepData_StepWriter.hxx>
|
#include <StepData_StepWriter.hxx>
|
||||||
#include <StepDimTol_LineProfileTolerance.hxx>
|
#include <StepDimTol_LineProfileTolerance.hxx>
|
||||||
@ -51,8 +50,8 @@ void RWStepDimTol_RWLineProfileTolerance::ReadStep (const Handle(StepData_StepRe
|
|||||||
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
|
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
|
||||||
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
|
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
|
||||||
|
|
||||||
Handle(StepBasic_MeasureWithUnit) aGeometricTolerance_Magnitude;
|
Handle(Standard_Transient) aMagnitude;
|
||||||
data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aGeometricTolerance_Magnitude);
|
data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
|
||||||
|
|
||||||
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
|
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
|
||||||
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
|
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
|
||||||
@ -60,7 +59,7 @@ void RWStepDimTol_RWLineProfileTolerance::ReadStep (const Handle(StepData_StepRe
|
|||||||
// Initialize entity
|
// Initialize entity
|
||||||
ent->Init(aGeometricTolerance_Name,
|
ent->Init(aGeometricTolerance_Name,
|
||||||
aGeometricTolerance_Description,
|
aGeometricTolerance_Description,
|
||||||
aGeometricTolerance_Magnitude,
|
aMagnitude,
|
||||||
aGeometricTolerance_TolerancedShapeAspect);
|
aGeometricTolerance_TolerancedShapeAspect);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
#include <Interface_EntityIterator.hxx>
|
#include <Interface_EntityIterator.hxx>
|
||||||
#include <RWStepDimTol_RWModifiedGeometricTolerance.hxx>
|
#include <RWStepDimTol_RWModifiedGeometricTolerance.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepData_StepReaderData.hxx>
|
#include <StepData_StepReaderData.hxx>
|
||||||
#include <StepData_StepWriter.hxx>
|
#include <StepData_StepWriter.hxx>
|
||||||
#include <StepDimTol_ModifiedGeometricTolerance.hxx>
|
#include <StepDimTol_ModifiedGeometricTolerance.hxx>
|
||||||
@ -51,8 +50,8 @@ void RWStepDimTol_RWModifiedGeometricTolerance::ReadStep (const Handle(StepData_
|
|||||||
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
|
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
|
||||||
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
|
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
|
||||||
|
|
||||||
Handle(StepBasic_MeasureWithUnit) aGeometricTolerance_Magnitude;
|
Handle(Standard_Transient) aMagnitude;
|
||||||
data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aGeometricTolerance_Magnitude);
|
data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
|
||||||
|
|
||||||
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
|
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
|
||||||
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
|
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
|
||||||
@ -72,7 +71,7 @@ void RWStepDimTol_RWModifiedGeometricTolerance::ReadStep (const Handle(StepData_
|
|||||||
// Initialize entity
|
// Initialize entity
|
||||||
ent->Init(aGeometricTolerance_Name,
|
ent->Init(aGeometricTolerance_Name,
|
||||||
aGeometricTolerance_Description,
|
aGeometricTolerance_Description,
|
||||||
aGeometricTolerance_Magnitude,
|
aMagnitude,
|
||||||
aGeometricTolerance_TolerancedShapeAspect,
|
aGeometricTolerance_TolerancedShapeAspect,
|
||||||
aModifier);
|
aModifier);
|
||||||
}
|
}
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
#include <Interface_Check.hxx>
|
#include <Interface_Check.hxx>
|
||||||
#include <Interface_EntityIterator.hxx>
|
#include <Interface_EntityIterator.hxx>
|
||||||
#include <RWStepDimTol_RWParallelismTolerance.hxx>
|
#include <RWStepDimTol_RWParallelismTolerance.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepData_StepReaderData.hxx>
|
#include <StepData_StepReaderData.hxx>
|
||||||
#include <StepData_StepWriter.hxx>
|
#include <StepData_StepWriter.hxx>
|
||||||
#include <StepDimTol_ParallelismTolerance.hxx>
|
#include <StepDimTol_ParallelismTolerance.hxx>
|
||||||
@ -52,8 +51,8 @@ void RWStepDimTol_RWParallelismTolerance::ReadStep (const Handle(StepData_StepRe
|
|||||||
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
|
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
|
||||||
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
|
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
|
||||||
|
|
||||||
Handle(StepBasic_MeasureWithUnit) aGeometricTolerance_Magnitude;
|
Handle(Standard_Transient) aMagnitude;
|
||||||
data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aGeometricTolerance_Magnitude);
|
data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
|
||||||
|
|
||||||
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
|
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
|
||||||
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
|
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
|
||||||
@ -76,7 +75,7 @@ void RWStepDimTol_RWParallelismTolerance::ReadStep (const Handle(StepData_StepRe
|
|||||||
// Initialize entity
|
// Initialize entity
|
||||||
ent->Init(aGeometricTolerance_Name,
|
ent->Init(aGeometricTolerance_Name,
|
||||||
aGeometricTolerance_Description,
|
aGeometricTolerance_Description,
|
||||||
aGeometricTolerance_Magnitude,
|
aMagnitude,
|
||||||
aGeometricTolerance_TolerancedShapeAspect,
|
aGeometricTolerance_TolerancedShapeAspect,
|
||||||
aGeometricToleranceWithDatumReference_DatumSystem);
|
aGeometricToleranceWithDatumReference_DatumSystem);
|
||||||
}
|
}
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
#include <Interface_Check.hxx>
|
#include <Interface_Check.hxx>
|
||||||
#include <Interface_EntityIterator.hxx>
|
#include <Interface_EntityIterator.hxx>
|
||||||
#include <RWStepDimTol_RWPerpendicularityTolerance.hxx>
|
#include <RWStepDimTol_RWPerpendicularityTolerance.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepData_StepReaderData.hxx>
|
#include <StepData_StepReaderData.hxx>
|
||||||
#include <StepData_StepWriter.hxx>
|
#include <StepData_StepWriter.hxx>
|
||||||
#include <StepDimTol_PerpendicularityTolerance.hxx>
|
#include <StepDimTol_PerpendicularityTolerance.hxx>
|
||||||
@ -52,8 +51,8 @@ void RWStepDimTol_RWPerpendicularityTolerance::ReadStep (const Handle(StepData_S
|
|||||||
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
|
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
|
||||||
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
|
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
|
||||||
|
|
||||||
Handle(StepBasic_MeasureWithUnit) aGeometricTolerance_Magnitude;
|
Handle(Standard_Transient) aMagnitude;
|
||||||
data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aGeometricTolerance_Magnitude);
|
data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
|
||||||
|
|
||||||
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
|
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
|
||||||
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
|
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
|
||||||
@ -76,7 +75,7 @@ void RWStepDimTol_RWPerpendicularityTolerance::ReadStep (const Handle(StepData_S
|
|||||||
// Initialize entity
|
// Initialize entity
|
||||||
ent->Init(aGeometricTolerance_Name,
|
ent->Init(aGeometricTolerance_Name,
|
||||||
aGeometricTolerance_Description,
|
aGeometricTolerance_Description,
|
||||||
aGeometricTolerance_Magnitude,
|
aMagnitude,
|
||||||
aGeometricTolerance_TolerancedShapeAspect,
|
aGeometricTolerance_TolerancedShapeAspect,
|
||||||
aGeometricToleranceWithDatumReference_DatumSystem);
|
aGeometricToleranceWithDatumReference_DatumSystem);
|
||||||
}
|
}
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
#include <Interface_EntityIterator.hxx>
|
#include <Interface_EntityIterator.hxx>
|
||||||
#include <RWStepDimTol_RWPositionTolerance.hxx>
|
#include <RWStepDimTol_RWPositionTolerance.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepData_StepReaderData.hxx>
|
#include <StepData_StepReaderData.hxx>
|
||||||
#include <StepData_StepWriter.hxx>
|
#include <StepData_StepWriter.hxx>
|
||||||
#include <StepDimTol_PositionTolerance.hxx>
|
#include <StepDimTol_PositionTolerance.hxx>
|
||||||
@ -51,8 +50,8 @@ void RWStepDimTol_RWPositionTolerance::ReadStep (const Handle(StepData_StepReade
|
|||||||
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
|
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
|
||||||
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
|
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
|
||||||
|
|
||||||
Handle(StepBasic_MeasureWithUnit) aGeometricTolerance_Magnitude;
|
Handle(Standard_Transient) aMagnitude;
|
||||||
data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aGeometricTolerance_Magnitude);
|
data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
|
||||||
|
|
||||||
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
|
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
|
||||||
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
|
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
|
||||||
@ -60,7 +59,7 @@ void RWStepDimTol_RWPositionTolerance::ReadStep (const Handle(StepData_StepReade
|
|||||||
// Initialize entity
|
// Initialize entity
|
||||||
ent->Init(aGeometricTolerance_Name,
|
ent->Init(aGeometricTolerance_Name,
|
||||||
aGeometricTolerance_Description,
|
aGeometricTolerance_Description,
|
||||||
aGeometricTolerance_Magnitude,
|
aMagnitude,
|
||||||
aGeometricTolerance_TolerancedShapeAspect);
|
aGeometricTolerance_TolerancedShapeAspect);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
#include <Interface_EntityIterator.hxx>
|
#include <Interface_EntityIterator.hxx>
|
||||||
#include <RWStepDimTol_RWRoundnessTolerance.hxx>
|
#include <RWStepDimTol_RWRoundnessTolerance.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepData_StepReaderData.hxx>
|
#include <StepData_StepReaderData.hxx>
|
||||||
#include <StepData_StepWriter.hxx>
|
#include <StepData_StepWriter.hxx>
|
||||||
#include <StepDimTol_RoundnessTolerance.hxx>
|
#include <StepDimTol_RoundnessTolerance.hxx>
|
||||||
@ -51,8 +50,8 @@ void RWStepDimTol_RWRoundnessTolerance::ReadStep (const Handle(StepData_StepRead
|
|||||||
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
|
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
|
||||||
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
|
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
|
||||||
|
|
||||||
Handle(StepBasic_MeasureWithUnit) aGeometricTolerance_Magnitude;
|
Handle(Standard_Transient) aMagnitude;
|
||||||
data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aGeometricTolerance_Magnitude);
|
data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
|
||||||
|
|
||||||
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
|
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
|
||||||
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
|
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
|
||||||
@ -60,7 +59,7 @@ void RWStepDimTol_RWRoundnessTolerance::ReadStep (const Handle(StepData_StepRead
|
|||||||
// Initialize entity
|
// Initialize entity
|
||||||
ent->Init(aGeometricTolerance_Name,
|
ent->Init(aGeometricTolerance_Name,
|
||||||
aGeometricTolerance_Description,
|
aGeometricTolerance_Description,
|
||||||
aGeometricTolerance_Magnitude,
|
aMagnitude,
|
||||||
aGeometricTolerance_TolerancedShapeAspect);
|
aGeometricTolerance_TolerancedShapeAspect);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
#include <Interface_EntityIterator.hxx>
|
#include <Interface_EntityIterator.hxx>
|
||||||
#include <RWStepDimTol_RWStraightnessTolerance.hxx>
|
#include <RWStepDimTol_RWStraightnessTolerance.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepData_StepReaderData.hxx>
|
#include <StepData_StepReaderData.hxx>
|
||||||
#include <StepData_StepWriter.hxx>
|
#include <StepData_StepWriter.hxx>
|
||||||
#include <StepDimTol_StraightnessTolerance.hxx>
|
#include <StepDimTol_StraightnessTolerance.hxx>
|
||||||
@ -51,8 +50,8 @@ void RWStepDimTol_RWStraightnessTolerance::ReadStep (const Handle(StepData_StepR
|
|||||||
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
|
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
|
||||||
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
|
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
|
||||||
|
|
||||||
Handle(StepBasic_MeasureWithUnit) aGeometricTolerance_Magnitude;
|
Handle(Standard_Transient) aMagnitude;
|
||||||
data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aGeometricTolerance_Magnitude);
|
data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
|
||||||
|
|
||||||
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
|
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
|
||||||
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
|
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
|
||||||
@ -60,7 +59,7 @@ void RWStepDimTol_RWStraightnessTolerance::ReadStep (const Handle(StepData_StepR
|
|||||||
// Initialize entity
|
// Initialize entity
|
||||||
ent->Init(aGeometricTolerance_Name,
|
ent->Init(aGeometricTolerance_Name,
|
||||||
aGeometricTolerance_Description,
|
aGeometricTolerance_Description,
|
||||||
aGeometricTolerance_Magnitude,
|
aMagnitude,
|
||||||
aGeometricTolerance_TolerancedShapeAspect);
|
aGeometricTolerance_TolerancedShapeAspect);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
#include <Interface_EntityIterator.hxx>
|
#include <Interface_EntityIterator.hxx>
|
||||||
#include <RWStepDimTol_RWSurfaceProfileTolerance.hxx>
|
#include <RWStepDimTol_RWSurfaceProfileTolerance.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepData_StepReaderData.hxx>
|
#include <StepData_StepReaderData.hxx>
|
||||||
#include <StepData_StepWriter.hxx>
|
#include <StepData_StepWriter.hxx>
|
||||||
#include <StepDimTol_SurfaceProfileTolerance.hxx>
|
#include <StepDimTol_SurfaceProfileTolerance.hxx>
|
||||||
@ -51,8 +50,8 @@ void RWStepDimTol_RWSurfaceProfileTolerance::ReadStep (const Handle(StepData_Ste
|
|||||||
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
|
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
|
||||||
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
|
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
|
||||||
|
|
||||||
Handle(StepBasic_MeasureWithUnit) aGeometricTolerance_Magnitude;
|
Handle(Standard_Transient) aMagnitude;
|
||||||
data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aGeometricTolerance_Magnitude);
|
data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
|
||||||
|
|
||||||
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
|
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
|
||||||
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
|
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
|
||||||
@ -60,7 +59,7 @@ void RWStepDimTol_RWSurfaceProfileTolerance::ReadStep (const Handle(StepData_Ste
|
|||||||
// Initialize entity
|
// Initialize entity
|
||||||
ent->Init(aGeometricTolerance_Name,
|
ent->Init(aGeometricTolerance_Name,
|
||||||
aGeometricTolerance_Description,
|
aGeometricTolerance_Description,
|
||||||
aGeometricTolerance_Magnitude,
|
aMagnitude,
|
||||||
aGeometricTolerance_TolerancedShapeAspect);
|
aGeometricTolerance_TolerancedShapeAspect);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
#include <Interface_Check.hxx>
|
#include <Interface_Check.hxx>
|
||||||
#include <Interface_EntityIterator.hxx>
|
#include <Interface_EntityIterator.hxx>
|
||||||
#include <RWStepDimTol_RWSymmetryTolerance.hxx>
|
#include <RWStepDimTol_RWSymmetryTolerance.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepData_StepReaderData.hxx>
|
#include <StepData_StepReaderData.hxx>
|
||||||
#include <StepData_StepWriter.hxx>
|
#include <StepData_StepWriter.hxx>
|
||||||
#include <StepDimTol_SymmetryTolerance.hxx>
|
#include <StepDimTol_SymmetryTolerance.hxx>
|
||||||
@ -52,8 +51,8 @@ void RWStepDimTol_RWSymmetryTolerance::ReadStep (const Handle(StepData_StepReade
|
|||||||
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
|
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
|
||||||
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
|
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
|
||||||
|
|
||||||
Handle(StepBasic_MeasureWithUnit) aGeometricTolerance_Magnitude;
|
Handle(Standard_Transient) aMagnitude;
|
||||||
data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aGeometricTolerance_Magnitude);
|
data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
|
||||||
|
|
||||||
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
|
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
|
||||||
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
|
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
|
||||||
@ -76,7 +75,7 @@ void RWStepDimTol_RWSymmetryTolerance::ReadStep (const Handle(StepData_StepReade
|
|||||||
// Initialize entity
|
// Initialize entity
|
||||||
ent->Init(aGeometricTolerance_Name,
|
ent->Init(aGeometricTolerance_Name,
|
||||||
aGeometricTolerance_Description,
|
aGeometricTolerance_Description,
|
||||||
aGeometricTolerance_Magnitude,
|
aMagnitude,
|
||||||
aGeometricTolerance_TolerancedShapeAspect,
|
aGeometricTolerance_TolerancedShapeAspect,
|
||||||
aGeometricToleranceWithDatumReference_DatumSystem);
|
aGeometricToleranceWithDatumReference_DatumSystem);
|
||||||
}
|
}
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
#include <Interface_Check.hxx>
|
#include <Interface_Check.hxx>
|
||||||
#include <Interface_EntityIterator.hxx>
|
#include <Interface_EntityIterator.hxx>
|
||||||
#include <RWStepDimTol_RWTotalRunoutTolerance.hxx>
|
#include <RWStepDimTol_RWTotalRunoutTolerance.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepData_StepReaderData.hxx>
|
#include <StepData_StepReaderData.hxx>
|
||||||
#include <StepData_StepWriter.hxx>
|
#include <StepData_StepWriter.hxx>
|
||||||
#include <StepDimTol_TotalRunoutTolerance.hxx>
|
#include <StepDimTol_TotalRunoutTolerance.hxx>
|
||||||
@ -52,8 +51,8 @@ void RWStepDimTol_RWTotalRunoutTolerance::ReadStep (const Handle(StepData_StepRe
|
|||||||
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
|
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
|
||||||
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
|
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
|
||||||
|
|
||||||
Handle(StepBasic_MeasureWithUnit) aGeometricTolerance_Magnitude;
|
Handle(Standard_Transient) aMagnitude;
|
||||||
data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aGeometricTolerance_Magnitude);
|
data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
|
||||||
|
|
||||||
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
|
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
|
||||||
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
|
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
|
||||||
@ -76,7 +75,7 @@ void RWStepDimTol_RWTotalRunoutTolerance::ReadStep (const Handle(StepData_StepRe
|
|||||||
// Initialize entity
|
// Initialize entity
|
||||||
ent->Init(aGeometricTolerance_Name,
|
ent->Init(aGeometricTolerance_Name,
|
||||||
aGeometricTolerance_Description,
|
aGeometricTolerance_Description,
|
||||||
aGeometricTolerance_Magnitude,
|
aMagnitude,
|
||||||
aGeometricTolerance_TolerancedShapeAspect,
|
aGeometricTolerance_TolerancedShapeAspect,
|
||||||
aGeometricToleranceWithDatumReference_DatumSystem);
|
aGeometricToleranceWithDatumReference_DatumSystem);
|
||||||
}
|
}
|
||||||
|
@ -51,8 +51,8 @@ void RWStepDimTol_RWUnequallyDisposedGeometricTolerance::
|
|||||||
Handle(TCollection_HAsciiString) aDescription;
|
Handle(TCollection_HAsciiString) aDescription;
|
||||||
data->ReadString (num, 2, "geometric_tolerance.description", ach, aDescription);
|
data->ReadString (num, 2, "geometric_tolerance.description", ach, aDescription);
|
||||||
|
|
||||||
Handle(StepBasic_MeasureWithUnit) aMagnitude;
|
Handle(Standard_Transient) aMagnitude;
|
||||||
data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude);
|
data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
|
||||||
|
|
||||||
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
|
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
|
||||||
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aTolerancedShapeAspect);
|
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aTolerancedShapeAspect);
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
#include <Interface_EntityIterator.hxx>
|
#include <Interface_EntityIterator.hxx>
|
||||||
#include <RWStepRepr_RWMakeFromUsageOption.hxx>
|
#include <RWStepRepr_RWMakeFromUsageOption.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepData_StepReaderData.hxx>
|
#include <StepData_StepReaderData.hxx>
|
||||||
#include <StepData_StepWriter.hxx>
|
#include <StepData_StepWriter.hxx>
|
||||||
#include <StepRepr_MakeFromUsageOption.hxx>
|
#include <StepRepr_MakeFromUsageOption.hxx>
|
||||||
@ -74,8 +73,8 @@ void RWStepRepr_RWMakeFromUsageOption::ReadStep (const Handle(StepData_StepReade
|
|||||||
Handle(TCollection_HAsciiString) aRankingRationale;
|
Handle(TCollection_HAsciiString) aRankingRationale;
|
||||||
data->ReadString (num, 7, "ranking_rationale", ach, aRankingRationale);
|
data->ReadString (num, 7, "ranking_rationale", ach, aRankingRationale);
|
||||||
|
|
||||||
Handle(StepBasic_MeasureWithUnit) aQuantity;
|
Handle(Standard_Transient) aQuantity;
|
||||||
data->ReadEntity (num, 8, "quantity", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aQuantity);
|
data->ReadEntity (num, 8, "quantity", ach, STANDARD_TYPE(Standard_Transient), aQuantity);
|
||||||
|
|
||||||
// Initialize entity
|
// Initialize entity
|
||||||
ent->Init(aProductDefinitionRelationship_Id,
|
ent->Init(aProductDefinitionRelationship_Id,
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
#include <RWStepRepr_RWParallelOffset.hxx>
|
#include <RWStepRepr_RWParallelOffset.hxx>
|
||||||
|
|
||||||
#include <Interface_EntityIterator.hxx>
|
#include <Interface_EntityIterator.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepData_StepReaderData.hxx>
|
#include <StepData_StepReaderData.hxx>
|
||||||
#include <StepData_StepWriter.hxx>
|
#include <StepData_StepWriter.hxx>
|
||||||
#include <StepRepr_ParallelOffset.hxx>
|
#include <StepRepr_ParallelOffset.hxx>
|
||||||
@ -62,8 +61,8 @@ void RWStepRepr_RWParallelOffset::ReadStep (const Handle(StepData_StepReaderData
|
|||||||
|
|
||||||
// Own fields of ParallelOffset
|
// Own fields of ParallelOffset
|
||||||
|
|
||||||
Handle(StepBasic_MeasureWithUnit) anOffset;
|
Handle(Standard_Transient) anOffset;
|
||||||
data->ReadEntity (num, 5, "offset", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), anOffset);
|
data->ReadEntity(num, 5, "offset", ach, STANDARD_TYPE(Standard_Transient), anOffset);
|
||||||
|
|
||||||
// Initialize entity
|
// Initialize entity
|
||||||
ent->Init(aShapeAspect_Name,
|
ent->Init(aShapeAspect_Name,
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
#include <Interface_EntityIterator.hxx>
|
#include <Interface_EntityIterator.hxx>
|
||||||
#include <RWStepRepr_RWQuantifiedAssemblyComponentUsage.hxx>
|
#include <RWStepRepr_RWQuantifiedAssemblyComponentUsage.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepData_StepReaderData.hxx>
|
#include <StepData_StepReaderData.hxx>
|
||||||
#include <StepData_StepWriter.hxx>
|
#include <StepData_StepWriter.hxx>
|
||||||
#include <StepRepr_QuantifiedAssemblyComponentUsage.hxx>
|
#include <StepRepr_QuantifiedAssemblyComponentUsage.hxx>
|
||||||
@ -79,8 +78,8 @@ void RWStepRepr_RWQuantifiedAssemblyComponentUsage::ReadStep (const Handle(StepD
|
|||||||
|
|
||||||
// Own fields of QuantifiedAssemblyComponentUsage
|
// Own fields of QuantifiedAssemblyComponentUsage
|
||||||
|
|
||||||
Handle(StepBasic_MeasureWithUnit) aQuantity;
|
Handle(Standard_Transient) aQuantity;
|
||||||
data->ReadEntity (num, 7, "quantity", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aQuantity);
|
data->ReadEntity (num, 7, "quantity", ach, STANDARD_TYPE(Standard_Transient), aQuantity);
|
||||||
|
|
||||||
// Initialize entity
|
// Initialize entity
|
||||||
ent->Init(aProductDefinitionRelationship_Id,
|
ent->Init(aProductDefinitionRelationship_Id,
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
#include <Interface_Check.hxx>
|
#include <Interface_Check.hxx>
|
||||||
#include <Interface_EntityIterator.hxx>
|
#include <Interface_EntityIterator.hxx>
|
||||||
#include <RWStepShape_RWMeasureQualification.hxx>
|
#include <RWStepShape_RWMeasureQualification.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepData_StepReaderData.hxx>
|
#include <StepData_StepReaderData.hxx>
|
||||||
#include <StepData_StepWriter.hxx>
|
#include <StepData_StepWriter.hxx>
|
||||||
#include <StepShape_MeasureQualification.hxx>
|
#include <StepShape_MeasureQualification.hxx>
|
||||||
@ -24,57 +23,53 @@
|
|||||||
|
|
||||||
RWStepShape_RWMeasureQualification::RWStepShape_RWMeasureQualification () {}
|
RWStepShape_RWMeasureQualification::RWStepShape_RWMeasureQualification () {}
|
||||||
|
|
||||||
void RWStepShape_RWMeasureQualification::ReadStep
|
void RWStepShape_RWMeasureQualification::ReadStep(const Handle(StepData_StepReaderData)& data,
|
||||||
(const Handle(StepData_StepReaderData)& data,
|
const Standard_Integer num,
|
||||||
const Standard_Integer num,
|
Handle(Interface_Check)& ach,
|
||||||
Handle(Interface_Check)& ach,
|
const Handle(StepShape_MeasureQualification)& ent) const
|
||||||
const Handle(StepShape_MeasureQualification)& ent) const
|
|
||||||
{
|
{
|
||||||
|
|
||||||
|
// --- Number of Parameter Control ---
|
||||||
|
|
||||||
// --- Number of Parameter Control ---
|
if (!data->CheckNbParams(num,4,ach,"measure_qualification")) return;
|
||||||
|
|
||||||
if (!data->CheckNbParams(num,4,ach,"measure_qualification")) return;
|
// --- own field : name ---
|
||||||
|
|
||||||
// --- own field : name ---
|
Handle(TCollection_HAsciiString) aName;
|
||||||
|
data->ReadString (num,1,"name",ach,aName);
|
||||||
|
|
||||||
Handle(TCollection_HAsciiString) aName;
|
// --- own field : description ---
|
||||||
data->ReadString (num,1,"name",ach,aName);
|
|
||||||
|
|
||||||
// --- own field : description ---
|
Handle(TCollection_HAsciiString) aDescr;
|
||||||
|
data->ReadString (num,2,"description",ach,aDescr);
|
||||||
|
|
||||||
Handle(TCollection_HAsciiString) aDescr;
|
// --- own field : qualified_measure ---
|
||||||
data->ReadString (num,2,"description",ach,aDescr);
|
|
||||||
|
|
||||||
// --- own field : qualified_measure ---
|
Handle(Standard_Transient) aQualifiedMeasure;
|
||||||
|
data->ReadEntity (num, 3, "qualified_measure", ach, STANDARD_TYPE(Standard_Transient), aQualifiedMeasure);
|
||||||
|
|
||||||
Handle(StepBasic_MeasureWithUnit) aQM;
|
// --- own field : qualifiers ---
|
||||||
data->ReadEntity (num,3,"qualified_measure",ach,
|
|
||||||
STANDARD_TYPE(StepBasic_MeasureWithUnit),aQM);
|
|
||||||
|
|
||||||
// --- own field : qualifiers ---
|
Handle(StepShape_HArray1OfValueQualifier) quals;
|
||||||
|
Standard_Integer nsub4;
|
||||||
|
if (data->ReadSubList (num,4,"qualifiers",ach,nsub4)) {
|
||||||
|
Standard_Integer nb4 = data->NbParams(nsub4);
|
||||||
|
quals = new StepShape_HArray1OfValueQualifier (1,nb4);
|
||||||
|
for (Standard_Integer i4 = 1; i4 <= nb4; i4 ++) {
|
||||||
|
StepShape_ValueQualifier VQ;
|
||||||
|
if (data->ReadEntity (nsub4,i4,"qualifier",ach,VQ))
|
||||||
|
quals->SetValue (i4,VQ);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Handle(StepShape_HArray1OfValueQualifier) quals;
|
//--- Initialisation of the read entity ---
|
||||||
Standard_Integer nsub4;
|
|
||||||
if (data->ReadSubList (num,4,"qualifiers",ach,nsub4)) {
|
|
||||||
Standard_Integer nb4 = data->NbParams(nsub4);
|
|
||||||
quals = new StepShape_HArray1OfValueQualifier (1,nb4);
|
|
||||||
for (Standard_Integer i4 = 1; i4 <= nb4; i4 ++) {
|
|
||||||
StepShape_ValueQualifier VQ;
|
|
||||||
if (data->ReadEntity (nsub4,i4,"qualifier",ach,VQ))
|
|
||||||
quals->SetValue (i4,VQ);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
//--- Initialisation of the read entity ---
|
ent->Init(aName, aDescr, aQualifiedMeasure, quals);
|
||||||
|
|
||||||
ent->Init(aName, aDescr, aQM, quals);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void RWStepShape_RWMeasureQualification::WriteStep
|
void RWStepShape_RWMeasureQualification::WriteStep(StepData_StepWriter& SW,
|
||||||
(StepData_StepWriter& SW,
|
const Handle(StepShape_MeasureQualification)& ent) const
|
||||||
const Handle(StepShape_MeasureQualification)& ent) const
|
|
||||||
{
|
{
|
||||||
SW.Send(ent->Name());
|
SW.Send(ent->Name());
|
||||||
SW.Send(ent->Description());
|
SW.Send(ent->Description());
|
||||||
|
@ -14,12 +14,9 @@
|
|||||||
|
|
||||||
#include <Interface_EntityIterator.hxx>
|
#include <Interface_EntityIterator.hxx>
|
||||||
#include <RWStepShape_RWToleranceValue.hxx>
|
#include <RWStepShape_RWToleranceValue.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepData_StepReaderData.hxx>
|
#include <StepData_StepReaderData.hxx>
|
||||||
#include <StepData_StepWriter.hxx>
|
#include <StepData_StepWriter.hxx>
|
||||||
#include <StepShape_ToleranceValue.hxx>
|
#include <StepShape_ToleranceValue.hxx>
|
||||||
#include <StepRepr_MeasureRepresentationItem.hxx>
|
|
||||||
#include <StepRepr_ReprItemAndMeasureWithUnit.hxx>
|
|
||||||
|
|
||||||
RWStepShape_RWToleranceValue::RWStepShape_RWToleranceValue () {}
|
RWStepShape_RWToleranceValue::RWStepShape_RWToleranceValue () {}
|
||||||
|
|
||||||
@ -29,52 +26,26 @@ void RWStepShape_RWToleranceValue::ReadStep
|
|||||||
Handle(Interface_Check)& ach,
|
Handle(Interface_Check)& ach,
|
||||||
const Handle(StepShape_ToleranceValue)& ent) const
|
const Handle(StepShape_ToleranceValue)& ent) const
|
||||||
{
|
{
|
||||||
// --- Number of Parameter Control ---
|
// --- Number of Parameter Control ---
|
||||||
|
|
||||||
if (!data->CheckNbParams(num,2,ach,"tolerance_value")) return;
|
if (!data->CheckNbParams(num,2,ach,"tolerance_value")) return;
|
||||||
|
|
||||||
// --- own field : lower_bound ---
|
// --- own field : lower_bound ---
|
||||||
|
|
||||||
Handle(Standard_Transient) LB;
|
Handle(Standard_Transient) aLowerBound;
|
||||||
if(!data->ReadEntity (num,1,"lower_bound",ach,
|
data->ReadEntity (num, 1, "lower_bound", ach, STANDARD_TYPE(Standard_Transient), aLowerBound);
|
||||||
STANDARD_TYPE(StepBasic_MeasureWithUnit),LB))
|
|
||||||
{
|
|
||||||
Handle(StepRepr_MeasureRepresentationItem) aMSR;
|
|
||||||
Handle(StepRepr_ReprItemAndMeasureWithUnit) aRIMU;
|
|
||||||
|
|
||||||
if(data->ReadEntity (num,1,"lower_bound",ach,
|
|
||||||
STANDARD_TYPE(StepRepr_MeasureRepresentationItem),aMSR) ||
|
|
||||||
data->ReadEntity (num,1,"lower_bound",ach,STANDARD_TYPE(StepRepr_ReprItemAndMeasureWithUnit), aRIMU))
|
|
||||||
{
|
|
||||||
if(!aMSR.IsNull())
|
|
||||||
LB = aMSR;
|
|
||||||
else if(!aRIMU.IsNull())
|
|
||||||
LB = aRIMU;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// --- own field : upper_bound ---
|
// --- own field : upper_bound ---
|
||||||
|
|
||||||
Handle(Standard_Transient) UB;
|
Handle(Standard_Transient) anUpperBound;
|
||||||
if(!data->ReadEntity (num,2,"upper_bound",ach,
|
data->ReadEntity (num, 2, "upper_bound", ach, STANDARD_TYPE(Standard_Transient), anUpperBound);
|
||||||
STANDARD_TYPE(StepBasic_MeasureWithUnit),UB))
|
|
||||||
{
|
|
||||||
Handle(StepRepr_MeasureRepresentationItem) aMSR1;
|
|
||||||
Handle(StepRepr_ReprItemAndMeasureWithUnit) aRIMU1;
|
|
||||||
if(data->ReadEntity (num,2,"upper_bound",ach,STANDARD_TYPE(StepRepr_MeasureRepresentationItem),aMSR1) ||
|
|
||||||
data->ReadEntity (num,2,"upper_bound",ach,STANDARD_TYPE(StepRepr_ReprItemAndMeasureWithUnit), aRIMU1))
|
|
||||||
{
|
|
||||||
if(!aMSR1.IsNull())
|
|
||||||
UB = aMSR1;
|
|
||||||
else if(!aRIMU1.IsNull())
|
|
||||||
UB = aRIMU1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
//--- Initialisation of the read entity ---
|
//--- Initialisation of the read entity ---
|
||||||
if( !LB.IsNull() && !UB.IsNull())
|
if (!aLowerBound.IsNull() && !anUpperBound.IsNull())
|
||||||
|
{
|
||||||
ach->ClearFails();
|
ach->ClearFails();
|
||||||
ent->Init(LB,UB);
|
}
|
||||||
|
ent->Init(aLowerBound, anUpperBound);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1959,27 +1959,55 @@ Standard_Boolean STEPCAFControl_Reader::ReadSHUOs(const Handle(XSControl_WorkSes
|
|||||||
return Standard_True;
|
return Standard_True;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//=======================================================================
|
||||||
|
//function : GetMeasureWithUnit
|
||||||
|
//purpose :
|
||||||
|
//=======================================================================
|
||||||
|
static Handle(StepBasic_MeasureWithUnit) GetMeasureWithUnit(const Handle(Standard_Transient)& theMeasure)
|
||||||
|
{
|
||||||
|
Handle(StepBasic_MeasureWithUnit) aMeasureWithUnit;
|
||||||
|
if (theMeasure->IsKind(STANDARD_TYPE(StepBasic_MeasureWithUnit)))
|
||||||
|
{
|
||||||
|
aMeasureWithUnit = Handle(StepBasic_MeasureWithUnit)::DownCast(theMeasure);
|
||||||
|
}
|
||||||
|
else if (theMeasure->IsKind(STANDARD_TYPE(StepRepr_ReprItemAndMeasureWithUnit)))
|
||||||
|
{
|
||||||
|
Handle(StepRepr_ReprItemAndMeasureWithUnit) aReprMeasureItem =
|
||||||
|
Handle(StepRepr_ReprItemAndMeasureWithUnit)::DownCast(theMeasure);
|
||||||
|
aMeasureWithUnit = aReprMeasureItem->GetMeasureWithUnit();
|
||||||
|
}
|
||||||
|
return aMeasureWithUnit;
|
||||||
|
}
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
//function : GetMassConversionFactor
|
//function : GetMassConversionFactor
|
||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
static Standard_Boolean GetMassConversionFactor(Handle(StepBasic_NamedUnit)& NU,
|
static Standard_Boolean GetMassConversionFactor(Handle(StepBasic_NamedUnit)& theNUnit,
|
||||||
Standard_Real& afact)
|
Standard_Real& theFact)
|
||||||
{
|
{
|
||||||
afact = 1.;
|
theFact = 1.;
|
||||||
if (!NU->IsKind(STANDARD_TYPE(StepBasic_ConversionBasedUnitAndMassUnit))) return Standard_False;
|
if (!theNUnit->IsKind(STANDARD_TYPE(StepBasic_ConversionBasedUnitAndMassUnit)))
|
||||||
Handle(StepBasic_ConversionBasedUnitAndMassUnit) CBUMU =
|
{
|
||||||
Handle(StepBasic_ConversionBasedUnitAndMassUnit)::DownCast(NU);
|
return Standard_False;
|
||||||
Handle(StepBasic_MeasureWithUnit) MWUCBU = CBUMU->ConversionFactor();
|
}
|
||||||
afact = MWUCBU->ValueComponent();
|
Handle(StepBasic_ConversionBasedUnitAndMassUnit) aCBUMU =
|
||||||
StepBasic_Unit anUnit2 = MWUCBU->UnitComponent();
|
Handle(StepBasic_ConversionBasedUnitAndMassUnit)::DownCast(theNUnit);
|
||||||
if (anUnit2.CaseNum(anUnit2.Value()) == 1) {
|
Handle(StepBasic_MeasureWithUnit) aMWUCBU = GetMeasureWithUnit(aCBUMU->ConversionFactor());
|
||||||
|
theFact = aMWUCBU->ValueComponent();
|
||||||
|
StepBasic_Unit anUnit2 = aMWUCBU->UnitComponent();
|
||||||
|
if (anUnit2.CaseNum(anUnit2.Value()) == 1)
|
||||||
|
{
|
||||||
Handle(StepBasic_NamedUnit) NU2 = anUnit2.NamedUnit();
|
Handle(StepBasic_NamedUnit) NU2 = anUnit2.NamedUnit();
|
||||||
if (NU2->IsKind(STANDARD_TYPE(StepBasic_SiUnit))) {
|
if (NU2->IsKind(STANDARD_TYPE(StepBasic_SiUnit)))
|
||||||
|
{
|
||||||
Handle(StepBasic_SiUnit) SU = Handle(StepBasic_SiUnit)::DownCast(NU2);
|
Handle(StepBasic_SiUnit) SU = Handle(StepBasic_SiUnit)::DownCast(NU2);
|
||||||
if (SU->Name() == StepBasic_sunGram) {
|
if (SU->Name() == StepBasic_sunGram)
|
||||||
|
{
|
||||||
if (SU->HasPrefix())
|
if (SU->HasPrefix())
|
||||||
afact *= STEPConstruct_UnitContext::ConvertSiPrefix(SU->Prefix());
|
{
|
||||||
|
theFact *= STEPConstruct_UnitContext::ConvertSiPrefix(SU->Prefix());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -3341,24 +3369,32 @@ TDF_Label STEPCAFControl_Reader::createGDTObjectInXCAF(const Handle(Standard_Tra
|
|||||||
aDGTTool->SetDimTol(shL, 1, arr, aName, DimSize->Name());
|
aDGTTool->SetDimTol(shL, 1, arr, aName, DimSize->Name());
|
||||||
}
|
}
|
||||||
// read tolerances and datums
|
// read tolerances and datums
|
||||||
else if (theEnt->IsKind(STANDARD_TYPE(StepDimTol_GeometricTolerance))) {
|
else if (theEnt->IsKind(STANDARD_TYPE(StepDimTol_GeometricTolerance)))
|
||||||
|
{
|
||||||
Handle(StepDimTol_GeometricTolerance) GT =
|
Handle(StepDimTol_GeometricTolerance) GT =
|
||||||
Handle(StepDimTol_GeometricTolerance)::DownCast(theEnt);
|
Handle(StepDimTol_GeometricTolerance)::DownCast(theEnt);
|
||||||
// read common data for tolerance
|
// read common data for tolerance
|
||||||
//Standard_Real dim = GT->Magnitude()->ValueComponent();
|
//Standard_Real dim = GT->Magnitude()->ValueComponent();
|
||||||
Handle(StepBasic_MeasureWithUnit) dim3 = GT->Magnitude();
|
if (GT->Magnitude().IsNull())
|
||||||
if (dim3.IsNull()) continue;
|
{
|
||||||
Standard_Real dim = dim3->ValueComponent();
|
continue;
|
||||||
StepBasic_Unit anUnit = GT->Magnitude()->UnitComponent();
|
}
|
||||||
|
Handle(StepBasic_MeasureWithUnit) aMWU = GetMeasureWithUnit(GT->Magnitude());
|
||||||
|
if (aMWU.IsNull())
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
Standard_Real aVal = aMWU->ValueComponent();
|
||||||
|
StepBasic_Unit anUnit = aMWU->UnitComponent();
|
||||||
if (anUnit.IsNull()) continue;
|
if (anUnit.IsNull()) continue;
|
||||||
if (!(anUnit.CaseNum(anUnit.Value()) == 1)) continue;
|
if (!(anUnit.CaseNum(anUnit.Value()) == 1)) continue;
|
||||||
Handle(StepBasic_NamedUnit) NU = anUnit.NamedUnit();
|
Handle(StepBasic_NamedUnit) NU = anUnit.NamedUnit();
|
||||||
STEPConstruct_UnitContext anUnitCtx;
|
STEPConstruct_UnitContext anUnitCtx;
|
||||||
anUnitCtx.ComputeFactors(NU, theLocalFactors);
|
anUnitCtx.ComputeFactors(NU, theLocalFactors);
|
||||||
dim = dim * anUnitCtx.LengthFactor();
|
aVal = aVal * anUnitCtx.LengthFactor();
|
||||||
//std::cout<<"GeometricTolerance: Magnitude = "<<dim<<std::endl;
|
//std::cout<<"GeometricTolerance: Magnitude = "<<dim<<std::endl;
|
||||||
Handle(TColStd_HArray1OfReal) arr = new TColStd_HArray1OfReal(1, 1);
|
Handle(TColStd_HArray1OfReal) arr = new TColStd_HArray1OfReal(1, 1);
|
||||||
arr->SetValue(1, dim);
|
arr->SetValue(1, aVal);
|
||||||
Handle(TCollection_HAsciiString) aName = GT->Name();
|
Handle(TCollection_HAsciiString) aName = GT->Name();
|
||||||
Handle(TCollection_HAsciiString) aDescription = GT->Description();
|
Handle(TCollection_HAsciiString) aDescription = GT->Description();
|
||||||
Handle(StepShape_AdvancedFace) AF = Handle(StepShape_AdvancedFace)::DownCast(RI);
|
Handle(StepShape_AdvancedFace) AF = Handle(StepShape_AdvancedFace)::DownCast(RI);
|
||||||
@ -3888,16 +3924,7 @@ static void setDimObjectToXCAF(const Handle(Standard_Transient)& theEnt,
|
|||||||
Handle(Standard_Transient) aUpperBound = aTV->UpperBound();
|
Handle(Standard_Transient) aUpperBound = aTV->UpperBound();
|
||||||
if(aUpperBound.IsNull())
|
if(aUpperBound.IsNull())
|
||||||
continue;
|
continue;
|
||||||
Handle(StepBasic_MeasureWithUnit) aMWU;
|
Handle(StepBasic_MeasureWithUnit) aMWU = GetMeasureWithUnit(aUpperBound);
|
||||||
if(aUpperBound->IsKind(STANDARD_TYPE(StepBasic_MeasureWithUnit)) )
|
|
||||||
aMWU = Handle(StepBasic_MeasureWithUnit)::DownCast(aUpperBound);
|
|
||||||
else if(aUpperBound->IsKind(STANDARD_TYPE(StepRepr_ReprItemAndMeasureWithUnit)) )
|
|
||||||
{
|
|
||||||
Handle(StepRepr_ReprItemAndMeasureWithUnit) aReprMeasureItem =
|
|
||||||
Handle(StepRepr_ReprItemAndMeasureWithUnit)::DownCast(aUpperBound);
|
|
||||||
aMWU = aReprMeasureItem->GetMeasureWithUnit();
|
|
||||||
|
|
||||||
}
|
|
||||||
if(aMWU.IsNull())
|
if(aMWU.IsNull())
|
||||||
continue;
|
continue;
|
||||||
Standard_Real aVal = aMWU->ValueComponent();
|
Standard_Real aVal = aMWU->ValueComponent();
|
||||||
@ -3924,15 +3951,7 @@ static void setDimObjectToXCAF(const Handle(Standard_Transient)& theEnt,
|
|||||||
if(aLowerBound.IsNull())
|
if(aLowerBound.IsNull())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if(aLowerBound->IsKind(STANDARD_TYPE(StepBasic_MeasureWithUnit)) )
|
aMWU = GetMeasureWithUnit(aLowerBound);
|
||||||
aMWU = Handle(StepBasic_MeasureWithUnit)::DownCast(aLowerBound);
|
|
||||||
else if(aLowerBound->IsKind(STANDARD_TYPE(StepRepr_ReprItemAndMeasureWithUnit)) )
|
|
||||||
{
|
|
||||||
Handle(StepRepr_ReprItemAndMeasureWithUnit) aReprMeasureItem =
|
|
||||||
Handle(StepRepr_ReprItemAndMeasureWithUnit)::DownCast(aLowerBound);
|
|
||||||
aMWU = aReprMeasureItem->GetMeasureWithUnit();
|
|
||||||
|
|
||||||
}
|
|
||||||
if(aMWU.IsNull())
|
if(aMWU.IsNull())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
@ -4294,17 +4313,26 @@ static void setGeomTolObjectToXCAF(const Handle(Standard_Transient)& theEnt,
|
|||||||
XCAFDimTolObjects_GeomToleranceType aType = XCAFDimTolObjects_GeomToleranceType_None;
|
XCAFDimTolObjects_GeomToleranceType aType = XCAFDimTolObjects_GeomToleranceType_None;
|
||||||
getTolType(theEnt, aType);
|
getTolType(theEnt, aType);
|
||||||
aTolObj->SetType(aType);
|
aTolObj->SetType(aType);
|
||||||
if (!aTolEnt->Magnitude().IsNull()) {
|
if (!aTolEnt->Magnitude().IsNull())
|
||||||
//get value
|
{
|
||||||
Standard_Real aVal = aTolEnt->Magnitude()->ValueComponent();
|
Handle(StepBasic_MeasureWithUnit) aMWU = GetMeasureWithUnit(aTolEnt->Magnitude());
|
||||||
StepBasic_Unit anUnit = aTolEnt->Magnitude()->UnitComponent();
|
if (!aMWU.IsNull())
|
||||||
if (anUnit.IsNull()) return;
|
{
|
||||||
if (!(anUnit.CaseNum(anUnit.Value()) == 1)) return;
|
// Get value
|
||||||
Handle(StepBasic_NamedUnit) NU = anUnit.NamedUnit();
|
Standard_Real aVal = aMWU->ValueComponent();
|
||||||
STEPConstruct_UnitContext anUnitCtx;
|
StepBasic_Unit anUnit = aMWU->UnitComponent();
|
||||||
anUnitCtx.ComputeFactors(NU, theLocalFactors);
|
if (!anUnit.IsNull() && anUnit.CaseNum(anUnit.Value()) == 1)
|
||||||
aVal = aVal * anUnitCtx.LengthFactor();
|
{
|
||||||
aTolObj->SetValue(aVal);
|
Handle(StepBasic_NamedUnit) aNU = anUnit.NamedUnit();
|
||||||
|
STEPConstruct_UnitContext anUnitCtx;
|
||||||
|
anUnitCtx.ComputeFactors(aNU, theLocalFactors);
|
||||||
|
if (anUnitCtx.LengthFactor() > 0.)
|
||||||
|
{
|
||||||
|
aVal = aVal * anUnitCtx.LengthFactor();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
aTolObj->SetValue(aVal);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
//get modifiers
|
//get modifiers
|
||||||
XCAFDimTolObjects_GeomToleranceTypeValue aTypeV = XCAFDimTolObjects_GeomToleranceTypeValue_None;
|
XCAFDimTolObjects_GeomToleranceTypeValue aTypeV = XCAFDimTolObjects_GeomToleranceTypeValue_None;
|
||||||
|
@ -39,6 +39,7 @@
|
|||||||
#include <StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx.hxx>
|
#include <StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx.hxx>
|
||||||
#include <StepRepr_GlobalUncertaintyAssignedContext.hxx>
|
#include <StepRepr_GlobalUncertaintyAssignedContext.hxx>
|
||||||
#include <StepRepr_GlobalUnitAssignedContext.hxx>
|
#include <StepRepr_GlobalUnitAssignedContext.hxx>
|
||||||
|
#include <StepRepr_ReprItemAndMeasureWithUnit.hxx>
|
||||||
#include <TCollection_HAsciiString.hxx>
|
#include <TCollection_HAsciiString.hxx>
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
@ -116,12 +117,12 @@ void STEPConstruct_UnitContext::Init(const Standard_Real Tol3d,
|
|||||||
Handle(StepBasic_DimensionalExponents) theDimExp = new StepBasic_DimensionalExponents;
|
Handle(StepBasic_DimensionalExponents) theDimExp = new StepBasic_DimensionalExponents;
|
||||||
theDimExp->Init ( 1., 0., 0., 0., 0., 0., 0. );
|
theDimExp->Init ( 1., 0., 0., 0., 0., 0., 0. );
|
||||||
|
|
||||||
Handle(TCollection_HAsciiString) convName = new TCollection_HAsciiString ( uName );
|
Handle(TCollection_HAsciiString) aConvName = new TCollection_HAsciiString(uName);
|
||||||
Handle(StepBasic_ConversionBasedUnitAndLengthUnit) convUnit =
|
Handle(StepBasic_ConversionBasedUnitAndLengthUnit) aConvUnit =
|
||||||
new StepBasic_ConversionBasedUnitAndLengthUnit;
|
new StepBasic_ConversionBasedUnitAndLengthUnit;
|
||||||
convUnit->Init ( theDimExp, convName, measure );
|
aConvUnit->Init(theDimExp, aConvName, measure);
|
||||||
|
|
||||||
lengthUnit = convUnit;
|
lengthUnit = aConvUnit;
|
||||||
}
|
}
|
||||||
else lengthUnit = siUnit;
|
else lengthUnit = siUnit;
|
||||||
|
|
||||||
@ -282,61 +283,75 @@ Standard_Integer STEPConstruct_UnitContext::ComputeFactors(const Handle(StepRepr
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Standard_Integer STEPConstruct_UnitContext::ComputeFactors(const Handle(StepBasic_NamedUnit)& aUnit,
|
Standard_Integer STEPConstruct_UnitContext::ComputeFactors(const Handle(StepBasic_NamedUnit)& theUnit,
|
||||||
const StepData_Factors& theLocalFactors)
|
const StepData_Factors& theLocalFactors)
|
||||||
{
|
{
|
||||||
|
|
||||||
//:f3 abv 8 Apr 98: ProSTEP TR8 tr8_as_sd_sw: the case of unrecognized entity
|
//:f3 abv 8 Apr 98: ProSTEP TR8 tr8_as_sd_sw: the case of unrecognized entity
|
||||||
if ( aUnit.IsNull() )
|
if (theUnit.IsNull())
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
Standard_Integer status = 0;
|
Standard_Integer status = 0;
|
||||||
Standard_Real theFactor= 0.;
|
Standard_Real theFactor = 0.;
|
||||||
Standard_Real theSIUNF = 0.;
|
Standard_Real theSIUNF = 0.;
|
||||||
|
|
||||||
Standard_Real parameter= 0.;
|
Standard_Real parameter= 0.;
|
||||||
Standard_Boolean parameterDone = Standard_False;
|
Standard_Boolean parameterDone = Standard_False;
|
||||||
if(aUnit->IsKind(STANDARD_TYPE(StepBasic_ConversionBasedUnit))) {
|
if(theUnit->IsKind(STANDARD_TYPE(StepBasic_ConversionBasedUnit)))
|
||||||
Handle(StepBasic_ConversionBasedUnit) theCBU =
|
{
|
||||||
Handle(StepBasic_ConversionBasedUnit)::DownCast(aUnit);
|
Handle(StepBasic_ConversionBasedUnit) aCBU =
|
||||||
|
Handle(StepBasic_ConversionBasedUnit)::DownCast(theUnit);
|
||||||
// Handle(StepBasic_DimensionalExponents) theDimExp = theCBU->Dimensions();
|
// Handle(StepBasic_DimensionalExponents) theDimExp = theCBU->Dimensions();
|
||||||
Handle(StepBasic_MeasureWithUnit) theMWU;
|
Handle(StepBasic_MeasureWithUnit) aMWU;
|
||||||
if(!theCBU.IsNull()) {
|
if(!aCBU.IsNull())
|
||||||
theMWU = theCBU->ConversionFactor();
|
{
|
||||||
// sln 8.10.2001: the case of unrecognized entity
|
Handle(Standard_Transient) aConvFactor = aCBU->ConversionFactor();
|
||||||
if(theMWU.IsNull())
|
if (aConvFactor->IsKind(STANDARD_TYPE(StepBasic_MeasureWithUnit)))
|
||||||
return -1;
|
{
|
||||||
|
aMWU = Handle(StepBasic_MeasureWithUnit)::DownCast(aConvFactor);
|
||||||
|
}
|
||||||
|
else if (aConvFactor->IsKind(STANDARD_TYPE(StepRepr_ReprItemAndMeasureWithUnit)))
|
||||||
|
{
|
||||||
|
Handle(StepRepr_ReprItemAndMeasureWithUnit) aReprMeasureItem =
|
||||||
|
Handle(StepRepr_ReprItemAndMeasureWithUnit)::DownCast(aConvFactor);
|
||||||
|
aMWU = aReprMeasureItem->GetMeasureWithUnit();
|
||||||
|
}
|
||||||
|
// sln 8.10.2001: the case of unrecognized entity
|
||||||
|
if(aMWU.IsNull())
|
||||||
|
return -1;
|
||||||
//if (!theMWU->IsKind(STANDARD_TYPE(StepBasic_LengthMeasureWithUnit))) { gka
|
//if (!theMWU->IsKind(STANDARD_TYPE(StepBasic_LengthMeasureWithUnit))) { gka
|
||||||
// return 2;
|
// return 2;
|
||||||
//}
|
//}
|
||||||
Handle(StepBasic_NamedUnit) theTargetUnit = theMWU->UnitComponent().NamedUnit();
|
Handle(StepBasic_NamedUnit) theTargetUnit = aMWU->UnitComponent().NamedUnit();
|
||||||
//StepBasic_Unit theTargetUnit = theMWU->UnitComponent();
|
//StepBasic_Unit theTargetUnit = theMWU->UnitComponent();
|
||||||
Standard_Real theSIPFactor = 1.;
|
Standard_Real theSIPFactor = 1.;
|
||||||
|
|
||||||
//:f5 abv 24 Apr 98: ProSTEP TR8 tr8_bv1_tc: INCHES
|
//:f5 abv 24 Apr 98: ProSTEP TR8 tr8_bv1_tc: INCHES
|
||||||
//gka Handle(StepBasic_SiUnitAndLengthUnit) theSUALU =
|
//gka
|
||||||
// Handle(StepBasic_SiUnitAndLengthUnit)::DownCast(theTargetUnit);
|
//Handle(StepBasic_SiUnitAndLengthUnit) theSUALU =
|
||||||
// Handle(StepBasic_SiUnit) theSIU;
|
//Handle(StepBasic_SiUnitAndLengthUnit)::DownCast(theTargetUnit);
|
||||||
// if ( ! theSUALU.IsNull() ) theSIU = Handle(StepBasic_SiUnit)::DownCast(theSUALU);
|
//Handle(StepBasic_SiUnit) theSIU;
|
||||||
Handle(StepBasic_SiUnit) theSIU = //f5
|
//if ( ! theSUALU.IsNull() ) theSIU = Handle(StepBasic_SiUnit)::DownCast(theSUALU);
|
||||||
Handle(StepBasic_SiUnit)::DownCast(theTargetUnit);//f5
|
Handle(StepBasic_SiUnit) theSIU = Handle(StepBasic_SiUnit)::DownCast(theTargetUnit); //f5
|
||||||
|
|
||||||
if (!theSIU.IsNull()) {
|
if (!theSIU.IsNull())
|
||||||
if (theSIU->HasPrefix()) {
|
{
|
||||||
// Treat the prefix
|
if (theSIU->HasPrefix())
|
||||||
StepBasic_SiPrefix aPrefix = theSIU->Prefix();
|
{
|
||||||
theSIPFactor = ConvertSiPrefix(aPrefix);
|
// Treat the prefix
|
||||||
}
|
StepBasic_SiPrefix aPrefix = theSIU->Prefix();
|
||||||
// Treat the SiUnitName
|
theSIPFactor = ConvertSiPrefix(aPrefix);
|
||||||
if (!SiUnitNameFactor(theSIU,theSIUNF)) status = 11; // et continue
|
}
|
||||||
//std::cout << "The SiUnitNameFactor is :";
|
// Treat the SiUnitName
|
||||||
//std::cout << theSIUNF << std::endl;
|
if (!SiUnitNameFactor(theSIU,theSIUNF)) status = 11; // et continue
|
||||||
|
//std::cout << "The SiUnitNameFactor is :";
|
||||||
|
//std::cout << theSIUNF << std::endl;
|
||||||
}
|
}
|
||||||
else {
|
else
|
||||||
// std::cout << "Recursive algo required - Aborted" << std::endl;
|
{
|
||||||
return 3;
|
//std::cout << "Recursive algo required - Aborted" << std::endl;
|
||||||
|
return 3;
|
||||||
}
|
}
|
||||||
Standard_Real theMVAL = theMWU->ValueComponent();
|
Standard_Real theMVAL = aMWU->ValueComponent();
|
||||||
theFactor = theSIPFactor * theMVAL; // * theSIUNF * pow(10.,theLExp)
|
theFactor = theSIPFactor * theMVAL; // * theSIUNF * pow(10.,theLExp)
|
||||||
}
|
}
|
||||||
parameter = theFactor;
|
parameter = theFactor;
|
||||||
@ -350,8 +365,9 @@ Standard_Integer STEPConstruct_UnitContext::ComputeFactors(const Handle(StepBasi
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (aUnit->IsKind(STANDARD_TYPE(StepBasic_SiUnit))) {
|
else if (theUnit->IsKind(STANDARD_TYPE(StepBasic_SiUnit)))
|
||||||
Handle(StepBasic_SiUnit) theSIU = Handle(StepBasic_SiUnit)::DownCast(aUnit);
|
{
|
||||||
|
Handle(StepBasic_SiUnit) theSIU = Handle(StepBasic_SiUnit)::DownCast(theUnit);
|
||||||
Standard_Real theSIPFactor = 1.;
|
Standard_Real theSIPFactor = 1.;
|
||||||
if (theSIU->HasPrefix()) {
|
if (theSIU->HasPrefix()) {
|
||||||
// Treat the prefix
|
// Treat the prefix
|
||||||
@ -385,8 +401,9 @@ Standard_Integer STEPConstruct_UnitContext::ComputeFactors(const Handle(StepBasi
|
|||||||
}
|
}
|
||||||
|
|
||||||
const Standard_Real aCascadeUnit = theLocalFactors.CascadeUnit();
|
const Standard_Real aCascadeUnit = theLocalFactors.CascadeUnit();
|
||||||
if (aUnit->IsKind(STANDARD_TYPE(StepBasic_ConversionBasedUnitAndLengthUnit))||
|
if (theUnit->IsKind(STANDARD_TYPE(StepBasic_ConversionBasedUnitAndLengthUnit))||
|
||||||
aUnit->IsKind(STANDARD_TYPE(StepBasic_SiUnitAndLengthUnit))) {
|
theUnit->IsKind(STANDARD_TYPE(StepBasic_SiUnitAndLengthUnit)))
|
||||||
|
{
|
||||||
#ifdef METER
|
#ifdef METER
|
||||||
lengthFactor = parameter;
|
lengthFactor = parameter;
|
||||||
#else
|
#else
|
||||||
@ -401,18 +418,21 @@ Standard_Integer STEPConstruct_UnitContext::ComputeFactors(const Handle(StepBasi
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
} // end of LengthUnit
|
} // end of LengthUnit
|
||||||
else if (aUnit->IsKind(STANDARD_TYPE(StepBasic_ConversionBasedUnitAndPlaneAngleUnit))||
|
else if (theUnit->IsKind(STANDARD_TYPE(StepBasic_ConversionBasedUnitAndPlaneAngleUnit)) ||
|
||||||
aUnit->IsKind(STANDARD_TYPE(StepBasic_SiUnitAndPlaneAngleUnit))) {
|
theUnit->IsKind(STANDARD_TYPE(StepBasic_SiUnitAndPlaneAngleUnit)))
|
||||||
|
{
|
||||||
planeAngleFactor = parameter;
|
planeAngleFactor = parameter;
|
||||||
planeAngleDone = Standard_True;
|
planeAngleDone = Standard_True;
|
||||||
} // end of PlaneAngleUnit
|
} // end of PlaneAngleUnit
|
||||||
else if (aUnit->IsKind(STANDARD_TYPE(StepBasic_ConversionBasedUnitAndSolidAngleUnit))||
|
else if (theUnit->IsKind(STANDARD_TYPE(StepBasic_ConversionBasedUnitAndSolidAngleUnit)) ||
|
||||||
aUnit->IsKind(STANDARD_TYPE(StepBasic_SiUnitAndSolidAngleUnit))) {
|
theUnit->IsKind(STANDARD_TYPE(StepBasic_SiUnitAndSolidAngleUnit)))
|
||||||
|
{
|
||||||
solidAngleFactor = parameter;
|
solidAngleFactor = parameter;
|
||||||
solidAngleDone = Standard_True;
|
solidAngleDone = Standard_True;
|
||||||
} // end of SolidAngleUnit
|
} // end of SolidAngleUnit
|
||||||
else if (aUnit->IsKind(STANDARD_TYPE(StepBasic_ConversionBasedUnitAndAreaUnit)) ||
|
else if (theUnit->IsKind(STANDARD_TYPE(StepBasic_ConversionBasedUnitAndAreaUnit)) ||
|
||||||
aUnit->IsKind(STANDARD_TYPE(StepBasic_SiUnitAndAreaUnit))) {
|
theUnit->IsKind(STANDARD_TYPE(StepBasic_SiUnitAndAreaUnit)))
|
||||||
|
{
|
||||||
Standard_Real af;
|
Standard_Real af;
|
||||||
#ifdef METER
|
#ifdef METER
|
||||||
af = parameter;
|
af = parameter;
|
||||||
@ -422,8 +442,9 @@ Standard_Integer STEPConstruct_UnitContext::ComputeFactors(const Handle(StepBasi
|
|||||||
areaDone = Standard_True;
|
areaDone = Standard_True;
|
||||||
areaFactor = pow(af,2);
|
areaFactor = pow(af,2);
|
||||||
}
|
}
|
||||||
else if (aUnit->IsKind(STANDARD_TYPE(StepBasic_ConversionBasedUnitAndVolumeUnit)) ||
|
else if (theUnit->IsKind(STANDARD_TYPE(StepBasic_ConversionBasedUnitAndVolumeUnit)) ||
|
||||||
aUnit->IsKind(STANDARD_TYPE(StepBasic_SiUnitAndVolumeUnit))) {
|
theUnit->IsKind(STANDARD_TYPE(StepBasic_SiUnitAndVolumeUnit)))
|
||||||
|
{
|
||||||
Standard_Real af;
|
Standard_Real af;
|
||||||
#ifdef METER
|
#ifdef METER
|
||||||
af = parameter;
|
af = parameter;
|
||||||
|
@ -48,6 +48,7 @@
|
|||||||
#include <StepRepr_RepresentationContext.hxx>
|
#include <StepRepr_RepresentationContext.hxx>
|
||||||
#include <StepRepr_RepresentationMap.hxx>
|
#include <StepRepr_RepresentationMap.hxx>
|
||||||
#include <StepRepr_RepresentationRelationship.hxx>
|
#include <StepRepr_RepresentationRelationship.hxx>
|
||||||
|
#include <StepRepr_ReprItemAndMeasureWithUnit.hxx>
|
||||||
#include <StepRepr_ShapeAspect.hxx>
|
#include <StepRepr_ShapeAspect.hxx>
|
||||||
#include <StepShape_ManifoldSolidBrep.hxx>
|
#include <StepShape_ManifoldSolidBrep.hxx>
|
||||||
#include <StepShape_ShapeDefinitionRepresentation.hxx>
|
#include <StepShape_ShapeDefinitionRepresentation.hxx>
|
||||||
@ -681,17 +682,28 @@ Standard_Boolean STEPControl_Reader::findUnits(
|
|||||||
Handle(StepBasic_HArray1OfNamedUnit) anUnits = aContext->Units();
|
Handle(StepBasic_HArray1OfNamedUnit) anUnits = aContext->Units();
|
||||||
Standard_Integer nbU = aContext->NbUnits();
|
Standard_Integer nbU = aContext->NbUnits();
|
||||||
Standard_Integer nbFind = 0;
|
Standard_Integer nbFind = 0;
|
||||||
for (Standard_Integer i = 1; i <= nbU; i++) {
|
for (Standard_Integer i = 1; i <= nbU; i++)
|
||||||
|
{
|
||||||
Handle(StepBasic_NamedUnit) aNamedUnit = aContext->UnitsValue(i);
|
Handle(StepBasic_NamedUnit) aNamedUnit = aContext->UnitsValue(i);
|
||||||
Handle(StepBasic_ConversionBasedUnit) aConvUnit =
|
Handle(StepBasic_ConversionBasedUnit) aConvUnit =
|
||||||
Handle(StepBasic_ConversionBasedUnit)::DownCast(aNamedUnit);
|
Handle(StepBasic_ConversionBasedUnit)::DownCast(aNamedUnit);
|
||||||
Standard_Integer anInd = 0;
|
Standard_Integer anInd = 0;
|
||||||
TCollection_AsciiString aName;
|
TCollection_AsciiString aName;
|
||||||
Standard_Real anUnitFact = 0;
|
Standard_Real anUnitFact = 0;
|
||||||
if( !aConvUnit.IsNull() )
|
if(!aConvUnit.IsNull())
|
||||||
{
|
{
|
||||||
Handle(StepBasic_MeasureWithUnit) aMeasWithUnit =
|
Handle(StepBasic_MeasureWithUnit) aMeasWithUnit;
|
||||||
aConvUnit->ConversionFactor();
|
Handle(Standard_Transient) aConvFactor = aConvUnit->ConversionFactor();
|
||||||
|
if (aConvFactor->IsKind(STANDARD_TYPE(StepBasic_MeasureWithUnit)))
|
||||||
|
{
|
||||||
|
aMeasWithUnit = Handle(StepBasic_MeasureWithUnit)::DownCast(aConvFactor);
|
||||||
|
}
|
||||||
|
else if (aConvFactor->IsKind(STANDARD_TYPE(StepRepr_ReprItemAndMeasureWithUnit)))
|
||||||
|
{
|
||||||
|
Handle(StepRepr_ReprItemAndMeasureWithUnit) aReprMeasureItem =
|
||||||
|
Handle(StepRepr_ReprItemAndMeasureWithUnit)::DownCast(aConvFactor);
|
||||||
|
aMeasWithUnit = aReprMeasureItem->GetMeasureWithUnit();
|
||||||
|
}
|
||||||
|
|
||||||
if(aMeasWithUnit.IsNull())
|
if(aMeasWithUnit.IsNull())
|
||||||
continue;
|
continue;
|
||||||
|
@ -14,42 +14,40 @@
|
|||||||
|
|
||||||
#include <StepBasic_ConversionBasedUnit.hxx>
|
#include <StepBasic_ConversionBasedUnit.hxx>
|
||||||
#include <StepBasic_DimensionalExponents.hxx>
|
#include <StepBasic_DimensionalExponents.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <TCollection_HAsciiString.hxx>
|
#include <TCollection_HAsciiString.hxx>
|
||||||
|
|
||||||
IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ConversionBasedUnit,StepBasic_NamedUnit)
|
IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ConversionBasedUnit,StepBasic_NamedUnit)
|
||||||
|
|
||||||
StepBasic_ConversionBasedUnit::StepBasic_ConversionBasedUnit () {}
|
StepBasic_ConversionBasedUnit::StepBasic_ConversionBasedUnit () {}
|
||||||
|
|
||||||
void StepBasic_ConversionBasedUnit::Init(
|
void StepBasic_ConversionBasedUnit::Init(const Handle(StepBasic_DimensionalExponents)& theDimensions,
|
||||||
const Handle(StepBasic_DimensionalExponents)& aDimensions,
|
const Handle(TCollection_HAsciiString)& theName,
|
||||||
const Handle(TCollection_HAsciiString)& aName,
|
const Handle(Standard_Transient)& theConversionFactor)
|
||||||
const Handle(StepBasic_MeasureWithUnit)& aConversionFactor)
|
|
||||||
{
|
{
|
||||||
// --- classe own fields ---
|
// --- classe own fields ---
|
||||||
name = aName;
|
myName = theName;
|
||||||
conversionFactor = aConversionFactor;
|
myConversionFactor = theConversionFactor;
|
||||||
// --- classe inherited fields ---
|
// --- classe inherited fields ---
|
||||||
StepBasic_NamedUnit::Init(aDimensions);
|
StepBasic_NamedUnit::Init(theDimensions);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void StepBasic_ConversionBasedUnit::SetName(const Handle(TCollection_HAsciiString)& aName)
|
void StepBasic_ConversionBasedUnit::SetName(const Handle(TCollection_HAsciiString)& theName)
|
||||||
{
|
{
|
||||||
name = aName;
|
myName = theName;
|
||||||
}
|
}
|
||||||
|
|
||||||
Handle(TCollection_HAsciiString) StepBasic_ConversionBasedUnit::Name() const
|
Handle(TCollection_HAsciiString) StepBasic_ConversionBasedUnit::Name() const
|
||||||
{
|
{
|
||||||
return name;
|
return myName;
|
||||||
}
|
}
|
||||||
|
|
||||||
void StepBasic_ConversionBasedUnit::SetConversionFactor(const Handle(StepBasic_MeasureWithUnit)& aConversionFactor)
|
void StepBasic_ConversionBasedUnit::SetConversionFactor(const Handle(Standard_Transient)& theConversionFactor)
|
||||||
{
|
{
|
||||||
conversionFactor = aConversionFactor;
|
myConversionFactor = theConversionFactor;
|
||||||
}
|
}
|
||||||
|
|
||||||
Handle(StepBasic_MeasureWithUnit) StepBasic_ConversionBasedUnit::ConversionFactor() const
|
Handle(Standard_Transient) StepBasic_ConversionBasedUnit::ConversionFactor() const
|
||||||
{
|
{
|
||||||
return conversionFactor;
|
return myConversionFactor;
|
||||||
}
|
}
|
||||||
|
@ -22,7 +22,6 @@
|
|||||||
|
|
||||||
#include <StepBasic_NamedUnit.hxx>
|
#include <StepBasic_NamedUnit.hxx>
|
||||||
class TCollection_HAsciiString;
|
class TCollection_HAsciiString;
|
||||||
class StepBasic_MeasureWithUnit;
|
|
||||||
class StepBasic_DimensionalExponents;
|
class StepBasic_DimensionalExponents;
|
||||||
|
|
||||||
|
|
||||||
@ -39,15 +38,17 @@ public:
|
|||||||
//! Returns a ConversionBasedUnit
|
//! Returns a ConversionBasedUnit
|
||||||
Standard_EXPORT StepBasic_ConversionBasedUnit();
|
Standard_EXPORT StepBasic_ConversionBasedUnit();
|
||||||
|
|
||||||
Standard_EXPORT void Init (const Handle(StepBasic_DimensionalExponents)& aDimensions, const Handle(TCollection_HAsciiString)& aName, const Handle(StepBasic_MeasureWithUnit)& aConversionFactor);
|
Standard_EXPORT void Init (const Handle(StepBasic_DimensionalExponents)& theDimensions,
|
||||||
|
const Handle(TCollection_HAsciiString)& theName,
|
||||||
|
const Handle(Standard_Transient)& theConversionFactor);
|
||||||
|
|
||||||
Standard_EXPORT void SetName (const Handle(TCollection_HAsciiString)& aName);
|
Standard_EXPORT void SetName (const Handle(TCollection_HAsciiString)& theName);
|
||||||
|
|
||||||
Standard_EXPORT Handle(TCollection_HAsciiString) Name() const;
|
Standard_EXPORT Handle(TCollection_HAsciiString) Name() const;
|
||||||
|
|
||||||
Standard_EXPORT void SetConversionFactor (const Handle(StepBasic_MeasureWithUnit)& aConversionFactor);
|
Standard_EXPORT void SetConversionFactor (const Handle(Standard_Transient)& theConversionFactor);
|
||||||
|
|
||||||
Standard_EXPORT Handle(StepBasic_MeasureWithUnit) ConversionFactor() const;
|
Standard_EXPORT Handle(Standard_Transient) ConversionFactor() const;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -62,8 +63,8 @@ protected:
|
|||||||
private:
|
private:
|
||||||
|
|
||||||
|
|
||||||
Handle(TCollection_HAsciiString) name;
|
Handle(TCollection_HAsciiString) myName;
|
||||||
Handle(StepBasic_MeasureWithUnit) conversionFactor;
|
Handle(Standard_Transient) myConversionFactor;
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -16,33 +16,32 @@
|
|||||||
#include <StepBasic_ConversionBasedUnitAndLengthUnit.hxx>
|
#include <StepBasic_ConversionBasedUnitAndLengthUnit.hxx>
|
||||||
#include <StepBasic_DimensionalExponents.hxx>
|
#include <StepBasic_DimensionalExponents.hxx>
|
||||||
#include <StepBasic_LengthUnit.hxx>
|
#include <StepBasic_LengthUnit.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <TCollection_HAsciiString.hxx>
|
#include <TCollection_HAsciiString.hxx>
|
||||||
|
|
||||||
IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ConversionBasedUnitAndLengthUnit,StepBasic_ConversionBasedUnit)
|
IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ConversionBasedUnitAndLengthUnit,StepBasic_ConversionBasedUnit)
|
||||||
|
|
||||||
StepBasic_ConversionBasedUnitAndLengthUnit::StepBasic_ConversionBasedUnitAndLengthUnit () {}
|
StepBasic_ConversionBasedUnitAndLengthUnit::StepBasic_ConversionBasedUnitAndLengthUnit () {}
|
||||||
|
|
||||||
void StepBasic_ConversionBasedUnitAndLengthUnit::Init(const Handle(StepBasic_DimensionalExponents)& aDimensions,
|
void StepBasic_ConversionBasedUnitAndLengthUnit::Init(const Handle(StepBasic_DimensionalExponents)& theDimensions,
|
||||||
const Handle(TCollection_HAsciiString)& aName,
|
const Handle(TCollection_HAsciiString)& theName,
|
||||||
const Handle(StepBasic_MeasureWithUnit)& aConversionFactor)
|
const Handle(Standard_Transient)& theConversionFactor)
|
||||||
{
|
{
|
||||||
// --- ANDOR component fields ---
|
// --- ANDOR component fields ---
|
||||||
StepBasic_ConversionBasedUnit::Init(aDimensions, aName, aConversionFactor);
|
StepBasic_ConversionBasedUnit::Init(theDimensions, theName, theConversionFactor);
|
||||||
|
|
||||||
// --- ANDOR component fields ---
|
// --- ANDOR component fields ---
|
||||||
lengthUnit = new StepBasic_LengthUnit();
|
myLengthUnit = new StepBasic_LengthUnit();
|
||||||
lengthUnit->Init(aDimensions);
|
myLengthUnit->Init(theDimensions);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void StepBasic_ConversionBasedUnitAndLengthUnit::SetLengthUnit(const Handle(StepBasic_LengthUnit)& aLengthUnit)
|
void StepBasic_ConversionBasedUnitAndLengthUnit::SetLengthUnit(const Handle(StepBasic_LengthUnit)& theLengthUnit)
|
||||||
{
|
{
|
||||||
lengthUnit = aLengthUnit;
|
myLengthUnit = theLengthUnit;
|
||||||
}
|
}
|
||||||
|
|
||||||
Handle(StepBasic_LengthUnit) StepBasic_ConversionBasedUnitAndLengthUnit::LengthUnit() const
|
Handle(StepBasic_LengthUnit) StepBasic_ConversionBasedUnitAndLengthUnit::LengthUnit() const
|
||||||
{
|
{
|
||||||
return lengthUnit;
|
return myLengthUnit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -24,7 +24,6 @@
|
|||||||
class StepBasic_LengthUnit;
|
class StepBasic_LengthUnit;
|
||||||
class StepBasic_DimensionalExponents;
|
class StepBasic_DimensionalExponents;
|
||||||
class TCollection_HAsciiString;
|
class TCollection_HAsciiString;
|
||||||
class StepBasic_MeasureWithUnit;
|
|
||||||
|
|
||||||
|
|
||||||
class StepBasic_ConversionBasedUnitAndLengthUnit;
|
class StepBasic_ConversionBasedUnitAndLengthUnit;
|
||||||
@ -40,9 +39,11 @@ public:
|
|||||||
//! Returns a ConversionBasedUnitAndLengthUnit
|
//! Returns a ConversionBasedUnitAndLengthUnit
|
||||||
Standard_EXPORT StepBasic_ConversionBasedUnitAndLengthUnit();
|
Standard_EXPORT StepBasic_ConversionBasedUnitAndLengthUnit();
|
||||||
|
|
||||||
Standard_EXPORT void Init (const Handle(StepBasic_DimensionalExponents)& aDimensions, const Handle(TCollection_HAsciiString)& aName, const Handle(StepBasic_MeasureWithUnit)& aConversionFactor);
|
Standard_EXPORT void Init (const Handle(StepBasic_DimensionalExponents)& theDimensions,
|
||||||
|
const Handle(TCollection_HAsciiString)& theName,
|
||||||
|
const Handle(Standard_Transient)& theConversionFactor);
|
||||||
|
|
||||||
Standard_EXPORT void SetLengthUnit (const Handle(StepBasic_LengthUnit)& aLengthUnit);
|
Standard_EXPORT void SetLengthUnit (const Handle(StepBasic_LengthUnit)& theLengthUnit);
|
||||||
|
|
||||||
Standard_EXPORT Handle(StepBasic_LengthUnit) LengthUnit() const;
|
Standard_EXPORT Handle(StepBasic_LengthUnit) LengthUnit() const;
|
||||||
|
|
||||||
@ -59,7 +60,7 @@ protected:
|
|||||||
private:
|
private:
|
||||||
|
|
||||||
|
|
||||||
Handle(StepBasic_LengthUnit) lengthUnit;
|
Handle(StepBasic_LengthUnit) myLengthUnit;
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
#include <StepBasic_ConversionBasedUnitAndMassUnit.hxx>
|
#include <StepBasic_ConversionBasedUnitAndMassUnit.hxx>
|
||||||
#include <StepBasic_DimensionalExponents.hxx>
|
#include <StepBasic_DimensionalExponents.hxx>
|
||||||
#include <StepBasic_MassUnit.hxx>
|
#include <StepBasic_MassUnit.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <TCollection_HAsciiString.hxx>
|
#include <TCollection_HAsciiString.hxx>
|
||||||
|
|
||||||
IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ConversionBasedUnitAndMassUnit,StepBasic_ConversionBasedUnit)
|
IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ConversionBasedUnitAndMassUnit,StepBasic_ConversionBasedUnit)
|
||||||
@ -35,17 +34,16 @@ StepBasic_ConversionBasedUnitAndMassUnit::StepBasic_ConversionBasedUnitAndMassUn
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
void StepBasic_ConversionBasedUnitAndMassUnit::Init
|
void StepBasic_ConversionBasedUnitAndMassUnit::Init(const Handle(StepBasic_DimensionalExponents)& theDimensions,
|
||||||
(const Handle(StepBasic_DimensionalExponents)& aDimensions,
|
const Handle(TCollection_HAsciiString)& theName,
|
||||||
const Handle(TCollection_HAsciiString)& aName,
|
const Handle(Standard_Transient)& theConversionFactor)
|
||||||
const Handle(StepBasic_MeasureWithUnit)& aConversionFactor)
|
|
||||||
{
|
{
|
||||||
// --- ANDOR component fields ---
|
// --- ANDOR component fields ---
|
||||||
StepBasic_ConversionBasedUnit::Init(aDimensions, aName, aConversionFactor);
|
StepBasic_ConversionBasedUnit::Init(theDimensions, theName, theConversionFactor);
|
||||||
|
|
||||||
// --- ANDOR component fields ---
|
// --- ANDOR component fields ---
|
||||||
massUnit = new StepBasic_MassUnit();
|
myMassUnit = new StepBasic_MassUnit();
|
||||||
massUnit->Init(aDimensions);
|
myMassUnit->Init(theDimensions);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -54,10 +52,9 @@ void StepBasic_ConversionBasedUnitAndMassUnit::Init
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
void StepBasic_ConversionBasedUnitAndMassUnit::SetMassUnit
|
void StepBasic_ConversionBasedUnitAndMassUnit::SetMassUnit(const Handle(StepBasic_MassUnit)& theMassUnit)
|
||||||
(const Handle(StepBasic_MassUnit)& aMassUnit)
|
|
||||||
{
|
{
|
||||||
massUnit = aMassUnit;
|
myMassUnit = theMassUnit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -68,6 +65,6 @@ void StepBasic_ConversionBasedUnitAndMassUnit::SetMassUnit
|
|||||||
|
|
||||||
Handle(StepBasic_MassUnit) StepBasic_ConversionBasedUnitAndMassUnit::MassUnit() const
|
Handle(StepBasic_MassUnit) StepBasic_ConversionBasedUnitAndMassUnit::MassUnit() const
|
||||||
{
|
{
|
||||||
return massUnit;
|
return myMassUnit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -23,7 +23,6 @@
|
|||||||
class StepBasic_MassUnit;
|
class StepBasic_MassUnit;
|
||||||
class StepBasic_DimensionalExponents;
|
class StepBasic_DimensionalExponents;
|
||||||
class TCollection_HAsciiString;
|
class TCollection_HAsciiString;
|
||||||
class StepBasic_MeasureWithUnit;
|
|
||||||
|
|
||||||
|
|
||||||
class StepBasic_ConversionBasedUnitAndMassUnit;
|
class StepBasic_ConversionBasedUnitAndMassUnit;
|
||||||
@ -39,9 +38,11 @@ public:
|
|||||||
//! Returns a ConversionBasedUnitAndLengthUnit
|
//! Returns a ConversionBasedUnitAndLengthUnit
|
||||||
Standard_EXPORT StepBasic_ConversionBasedUnitAndMassUnit();
|
Standard_EXPORT StepBasic_ConversionBasedUnitAndMassUnit();
|
||||||
|
|
||||||
Standard_EXPORT void Init (const Handle(StepBasic_DimensionalExponents)& aDimensions, const Handle(TCollection_HAsciiString)& aName, const Handle(StepBasic_MeasureWithUnit)& aConversionFactor);
|
Standard_EXPORT void Init (const Handle(StepBasic_DimensionalExponents)& theDimensions,
|
||||||
|
const Handle(TCollection_HAsciiString)& theName,
|
||||||
|
const Handle(Standard_Transient)& theConversionFactor);
|
||||||
|
|
||||||
Standard_EXPORT void SetMassUnit (const Handle(StepBasic_MassUnit)& aMassUnit);
|
Standard_EXPORT void SetMassUnit (const Handle(StepBasic_MassUnit)& theMassUnit);
|
||||||
|
|
||||||
Standard_EXPORT Handle(StepBasic_MassUnit) MassUnit() const;
|
Standard_EXPORT Handle(StepBasic_MassUnit) MassUnit() const;
|
||||||
|
|
||||||
@ -58,7 +59,7 @@ protected:
|
|||||||
private:
|
private:
|
||||||
|
|
||||||
|
|
||||||
Handle(StepBasic_MassUnit) massUnit;
|
Handle(StepBasic_MassUnit) myMassUnit;
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
#include <Standard_Type.hxx>
|
#include <Standard_Type.hxx>
|
||||||
#include <StepBasic_ConversionBasedUnitAndPlaneAngleUnit.hxx>
|
#include <StepBasic_ConversionBasedUnitAndPlaneAngleUnit.hxx>
|
||||||
#include <StepBasic_DimensionalExponents.hxx>
|
#include <StepBasic_DimensionalExponents.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepBasic_PlaneAngleUnit.hxx>
|
#include <StepBasic_PlaneAngleUnit.hxx>
|
||||||
#include <TCollection_HAsciiString.hxx>
|
#include <TCollection_HAsciiString.hxx>
|
||||||
|
|
||||||
@ -25,26 +24,26 @@ StepBasic_ConversionBasedUnitAndPlaneAngleUnit::StepBasic_ConversionBasedUnitAnd
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
void StepBasic_ConversionBasedUnitAndPlaneAngleUnit::Init(const Handle(StepBasic_DimensionalExponents)& aDimensions,
|
void StepBasic_ConversionBasedUnitAndPlaneAngleUnit::Init(const Handle(StepBasic_DimensionalExponents)& theDimensions,
|
||||||
const Handle(TCollection_HAsciiString)& aName,
|
const Handle(TCollection_HAsciiString)& theName,
|
||||||
const Handle(StepBasic_MeasureWithUnit)& aConversionFactor)
|
const Handle(Standard_Transient)& theConversionFactor)
|
||||||
{
|
{
|
||||||
// --- ANDOR component fields ---
|
// --- ANDOR component fields ---
|
||||||
StepBasic_ConversionBasedUnit::Init(aDimensions, aName, aConversionFactor);
|
StepBasic_ConversionBasedUnit::Init(theDimensions, theName, theConversionFactor);
|
||||||
|
|
||||||
// --- ANDOR component fields ---
|
// --- ANDOR component fields ---
|
||||||
planeAngleUnit = new StepBasic_PlaneAngleUnit();
|
myPlaneAngleUnit = new StepBasic_PlaneAngleUnit();
|
||||||
planeAngleUnit->Init(aDimensions);
|
myPlaneAngleUnit->Init(theDimensions);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void StepBasic_ConversionBasedUnitAndPlaneAngleUnit::SetPlaneAngleUnit(const Handle(StepBasic_PlaneAngleUnit)& aPlaneAngleUnit)
|
void StepBasic_ConversionBasedUnitAndPlaneAngleUnit::SetPlaneAngleUnit(const Handle(StepBasic_PlaneAngleUnit)& thePlaneAngleUnit)
|
||||||
{
|
{
|
||||||
planeAngleUnit = aPlaneAngleUnit;
|
myPlaneAngleUnit = thePlaneAngleUnit;
|
||||||
}
|
}
|
||||||
|
|
||||||
Handle(StepBasic_PlaneAngleUnit) StepBasic_ConversionBasedUnitAndPlaneAngleUnit::PlaneAngleUnit() const
|
Handle(StepBasic_PlaneAngleUnit) StepBasic_ConversionBasedUnitAndPlaneAngleUnit::PlaneAngleUnit() const
|
||||||
{
|
{
|
||||||
return planeAngleUnit;
|
return myPlaneAngleUnit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -24,7 +24,6 @@
|
|||||||
class StepBasic_PlaneAngleUnit;
|
class StepBasic_PlaneAngleUnit;
|
||||||
class StepBasic_DimensionalExponents;
|
class StepBasic_DimensionalExponents;
|
||||||
class TCollection_HAsciiString;
|
class TCollection_HAsciiString;
|
||||||
class StepBasic_MeasureWithUnit;
|
|
||||||
|
|
||||||
|
|
||||||
class StepBasic_ConversionBasedUnitAndPlaneAngleUnit;
|
class StepBasic_ConversionBasedUnitAndPlaneAngleUnit;
|
||||||
@ -40,9 +39,11 @@ public:
|
|||||||
//! Returns a ConversionBasedUnitAndPlaneAngleUnit
|
//! Returns a ConversionBasedUnitAndPlaneAngleUnit
|
||||||
Standard_EXPORT StepBasic_ConversionBasedUnitAndPlaneAngleUnit();
|
Standard_EXPORT StepBasic_ConversionBasedUnitAndPlaneAngleUnit();
|
||||||
|
|
||||||
Standard_EXPORT void Init (const Handle(StepBasic_DimensionalExponents)& aDimensions, const Handle(TCollection_HAsciiString)& aName, const Handle(StepBasic_MeasureWithUnit)& aConversionFactor);
|
Standard_EXPORT void Init (const Handle(StepBasic_DimensionalExponents)& theDimensions,
|
||||||
|
const Handle(TCollection_HAsciiString)& theName,
|
||||||
|
const Handle(Standard_Transient)& theConversionFactor);
|
||||||
|
|
||||||
Standard_EXPORT void SetPlaneAngleUnit (const Handle(StepBasic_PlaneAngleUnit)& aPlaneAngleUnit);
|
Standard_EXPORT void SetPlaneAngleUnit (const Handle(StepBasic_PlaneAngleUnit)& thePlaneAngleUnit);
|
||||||
|
|
||||||
Standard_EXPORT Handle(StepBasic_PlaneAngleUnit) PlaneAngleUnit() const;
|
Standard_EXPORT Handle(StepBasic_PlaneAngleUnit) PlaneAngleUnit() const;
|
||||||
|
|
||||||
@ -59,7 +60,7 @@ protected:
|
|||||||
private:
|
private:
|
||||||
|
|
||||||
|
|
||||||
Handle(StepBasic_PlaneAngleUnit) planeAngleUnit;
|
Handle(StepBasic_PlaneAngleUnit) myPlaneAngleUnit;
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
#include <Standard_Type.hxx>
|
#include <Standard_Type.hxx>
|
||||||
#include <StepBasic_ConversionBasedUnitAndRatioUnit.hxx>
|
#include <StepBasic_ConversionBasedUnitAndRatioUnit.hxx>
|
||||||
#include <StepBasic_DimensionalExponents.hxx>
|
#include <StepBasic_DimensionalExponents.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepBasic_RatioUnit.hxx>
|
#include <StepBasic_RatioUnit.hxx>
|
||||||
#include <TCollection_HAsciiString.hxx>
|
#include <TCollection_HAsciiString.hxx>
|
||||||
|
|
||||||
@ -25,25 +24,25 @@ StepBasic_ConversionBasedUnitAndRatioUnit::StepBasic_ConversionBasedUnitAndRatio
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
void StepBasic_ConversionBasedUnitAndRatioUnit::Init(const Handle(StepBasic_DimensionalExponents)& aDimensions,
|
void StepBasic_ConversionBasedUnitAndRatioUnit::Init(const Handle(StepBasic_DimensionalExponents)& theDimensions,
|
||||||
const Handle(TCollection_HAsciiString)& aName,
|
const Handle(TCollection_HAsciiString)& theName,
|
||||||
const Handle(StepBasic_MeasureWithUnit)& aConversionFactor)
|
const Handle(Standard_Transient)& theConversionFactor)
|
||||||
{
|
{
|
||||||
// --- ANDOR component fields ---
|
// --- ANDOR component fields ---
|
||||||
StepBasic_ConversionBasedUnit::Init(aDimensions, aName, aConversionFactor);
|
StepBasic_ConversionBasedUnit::Init(theDimensions, theName, theConversionFactor);
|
||||||
|
|
||||||
// --- ANDOR component fields ---
|
// --- ANDOR component fields ---
|
||||||
ratioUnit = new StepBasic_RatioUnit();
|
myRatioUnit = new StepBasic_RatioUnit();
|
||||||
ratioUnit->Init(aDimensions);
|
myRatioUnit->Init(theDimensions);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void StepBasic_ConversionBasedUnitAndRatioUnit::SetRatioUnit(const Handle(StepBasic_RatioUnit)& aRatioUnit)
|
void StepBasic_ConversionBasedUnitAndRatioUnit::SetRatioUnit(const Handle(StepBasic_RatioUnit)& theRatioUnit)
|
||||||
{
|
{
|
||||||
ratioUnit = aRatioUnit;
|
myRatioUnit = theRatioUnit;
|
||||||
}
|
}
|
||||||
|
|
||||||
Handle(StepBasic_RatioUnit) StepBasic_ConversionBasedUnitAndRatioUnit::RatioUnit() const
|
Handle(StepBasic_RatioUnit) StepBasic_ConversionBasedUnitAndRatioUnit::RatioUnit() const
|
||||||
{
|
{
|
||||||
return ratioUnit;
|
return myRatioUnit;
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,6 @@
|
|||||||
class StepBasic_RatioUnit;
|
class StepBasic_RatioUnit;
|
||||||
class StepBasic_DimensionalExponents;
|
class StepBasic_DimensionalExponents;
|
||||||
class TCollection_HAsciiString;
|
class TCollection_HAsciiString;
|
||||||
class StepBasic_MeasureWithUnit;
|
|
||||||
|
|
||||||
|
|
||||||
class StepBasic_ConversionBasedUnitAndRatioUnit;
|
class StepBasic_ConversionBasedUnitAndRatioUnit;
|
||||||
@ -40,9 +39,11 @@ public:
|
|||||||
//! Returns a ConversionBasedUnitAndRatioUnit
|
//! Returns a ConversionBasedUnitAndRatioUnit
|
||||||
Standard_EXPORT StepBasic_ConversionBasedUnitAndRatioUnit();
|
Standard_EXPORT StepBasic_ConversionBasedUnitAndRatioUnit();
|
||||||
|
|
||||||
Standard_EXPORT void Init (const Handle(StepBasic_DimensionalExponents)& aDimensions, const Handle(TCollection_HAsciiString)& aName, const Handle(StepBasic_MeasureWithUnit)& aConversionFactor);
|
Standard_EXPORT void Init (const Handle(StepBasic_DimensionalExponents)& theDimensions,
|
||||||
|
const Handle(TCollection_HAsciiString)& theName,
|
||||||
|
const Handle(Standard_Transient)& theConversionFactor);
|
||||||
|
|
||||||
Standard_EXPORT void SetRatioUnit (const Handle(StepBasic_RatioUnit)& aRatioUnit);
|
Standard_EXPORT void SetRatioUnit (const Handle(StepBasic_RatioUnit)& theRatioUnit);
|
||||||
|
|
||||||
Standard_EXPORT Handle(StepBasic_RatioUnit) RatioUnit() const;
|
Standard_EXPORT Handle(StepBasic_RatioUnit) RatioUnit() const;
|
||||||
|
|
||||||
@ -59,7 +60,7 @@ protected:
|
|||||||
private:
|
private:
|
||||||
|
|
||||||
|
|
||||||
Handle(StepBasic_RatioUnit) ratioUnit;
|
Handle(StepBasic_RatioUnit) myRatioUnit;
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
#include <Standard_Type.hxx>
|
#include <Standard_Type.hxx>
|
||||||
#include <StepBasic_ConversionBasedUnitAndSolidAngleUnit.hxx>
|
#include <StepBasic_ConversionBasedUnitAndSolidAngleUnit.hxx>
|
||||||
#include <StepBasic_DimensionalExponents.hxx>
|
#include <StepBasic_DimensionalExponents.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepBasic_SolidAngleUnit.hxx>
|
#include <StepBasic_SolidAngleUnit.hxx>
|
||||||
#include <TCollection_HAsciiString.hxx>
|
#include <TCollection_HAsciiString.hxx>
|
||||||
|
|
||||||
@ -25,26 +24,26 @@ StepBasic_ConversionBasedUnitAndSolidAngleUnit::StepBasic_ConversionBasedUnitAnd
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
void StepBasic_ConversionBasedUnitAndSolidAngleUnit::Init(const Handle(StepBasic_DimensionalExponents)& aDimensions,
|
void StepBasic_ConversionBasedUnitAndSolidAngleUnit::Init(const Handle(StepBasic_DimensionalExponents)& theDimensions,
|
||||||
const Handle(TCollection_HAsciiString)& aName,
|
const Handle(TCollection_HAsciiString)& theName,
|
||||||
const Handle(StepBasic_MeasureWithUnit)& aConversionFactor)
|
const Handle(Standard_Transient)& theConversionFactor)
|
||||||
{
|
{
|
||||||
// --- ANDOR component fields ---
|
// --- ANDOR component fields ---
|
||||||
StepBasic_ConversionBasedUnit::Init(aDimensions, aName, aConversionFactor);
|
StepBasic_ConversionBasedUnit::Init(theDimensions, theName, theConversionFactor);
|
||||||
|
|
||||||
// --- ANDOR component fields ---
|
// --- ANDOR component fields ---
|
||||||
solidAngleUnit = new StepBasic_SolidAngleUnit();
|
mySolidAngleUnit = new StepBasic_SolidAngleUnit();
|
||||||
solidAngleUnit->Init(aDimensions);
|
mySolidAngleUnit->Init(theDimensions);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void StepBasic_ConversionBasedUnitAndSolidAngleUnit::SetSolidAngleUnit(const Handle(StepBasic_SolidAngleUnit)& aSolidAngleUnit)
|
void StepBasic_ConversionBasedUnitAndSolidAngleUnit::SetSolidAngleUnit(const Handle(StepBasic_SolidAngleUnit)& theSolidAngleUnit)
|
||||||
{
|
{
|
||||||
solidAngleUnit = aSolidAngleUnit;
|
mySolidAngleUnit = theSolidAngleUnit;
|
||||||
}
|
}
|
||||||
|
|
||||||
Handle(StepBasic_SolidAngleUnit) StepBasic_ConversionBasedUnitAndSolidAngleUnit::SolidAngleUnit() const
|
Handle(StepBasic_SolidAngleUnit) StepBasic_ConversionBasedUnitAndSolidAngleUnit::SolidAngleUnit() const
|
||||||
{
|
{
|
||||||
return solidAngleUnit;
|
return mySolidAngleUnit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -24,7 +24,6 @@
|
|||||||
class StepBasic_SolidAngleUnit;
|
class StepBasic_SolidAngleUnit;
|
||||||
class StepBasic_DimensionalExponents;
|
class StepBasic_DimensionalExponents;
|
||||||
class TCollection_HAsciiString;
|
class TCollection_HAsciiString;
|
||||||
class StepBasic_MeasureWithUnit;
|
|
||||||
|
|
||||||
|
|
||||||
class StepBasic_ConversionBasedUnitAndSolidAngleUnit;
|
class StepBasic_ConversionBasedUnitAndSolidAngleUnit;
|
||||||
@ -40,9 +39,11 @@ public:
|
|||||||
//! Returns a ConversionBasedUnitAndSolidAngleUnit
|
//! Returns a ConversionBasedUnitAndSolidAngleUnit
|
||||||
Standard_EXPORT StepBasic_ConversionBasedUnitAndSolidAngleUnit();
|
Standard_EXPORT StepBasic_ConversionBasedUnitAndSolidAngleUnit();
|
||||||
|
|
||||||
Standard_EXPORT void Init (const Handle(StepBasic_DimensionalExponents)& aDimensions, const Handle(TCollection_HAsciiString)& aName, const Handle(StepBasic_MeasureWithUnit)& aConversionFactor);
|
Standard_EXPORT void Init (const Handle(StepBasic_DimensionalExponents)& theDimensions,
|
||||||
|
const Handle(TCollection_HAsciiString)& theName,
|
||||||
|
const Handle(Standard_Transient)& theConversionFactor);
|
||||||
|
|
||||||
Standard_EXPORT void SetSolidAngleUnit (const Handle(StepBasic_SolidAngleUnit)& aSolidAngleUnit);
|
Standard_EXPORT void SetSolidAngleUnit (const Handle(StepBasic_SolidAngleUnit)& theSolidAngleUnit);
|
||||||
|
|
||||||
Standard_EXPORT Handle(StepBasic_SolidAngleUnit) SolidAngleUnit() const;
|
Standard_EXPORT Handle(StepBasic_SolidAngleUnit) SolidAngleUnit() const;
|
||||||
|
|
||||||
@ -59,7 +60,7 @@ protected:
|
|||||||
private:
|
private:
|
||||||
|
|
||||||
|
|
||||||
Handle(StepBasic_SolidAngleUnit) solidAngleUnit;
|
Handle(StepBasic_SolidAngleUnit) mySolidAngleUnit;
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
#include <Standard_Type.hxx>
|
#include <Standard_Type.hxx>
|
||||||
#include <StepBasic_ConversionBasedUnitAndTimeUnit.hxx>
|
#include <StepBasic_ConversionBasedUnitAndTimeUnit.hxx>
|
||||||
#include <StepBasic_DimensionalExponents.hxx>
|
#include <StepBasic_DimensionalExponents.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepBasic_TimeUnit.hxx>
|
#include <StepBasic_TimeUnit.hxx>
|
||||||
#include <TCollection_HAsciiString.hxx>
|
#include <TCollection_HAsciiString.hxx>
|
||||||
|
|
||||||
@ -25,26 +24,26 @@ StepBasic_ConversionBasedUnitAndTimeUnit::StepBasic_ConversionBasedUnitAndTimeUn
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
void StepBasic_ConversionBasedUnitAndTimeUnit::Init(const Handle(StepBasic_DimensionalExponents)& aDimensions,
|
void StepBasic_ConversionBasedUnitAndTimeUnit::Init(const Handle(StepBasic_DimensionalExponents)& theDimensions,
|
||||||
const Handle(TCollection_HAsciiString)& aName,
|
const Handle(TCollection_HAsciiString)& theName,
|
||||||
const Handle(StepBasic_MeasureWithUnit)& aConversionFactor)
|
const Handle(Standard_Transient)& theConversionFactor)
|
||||||
{
|
{
|
||||||
// --- ANDOR component fields ---
|
// --- ANDOR component fields ---
|
||||||
StepBasic_ConversionBasedUnit::Init(aDimensions, aName, aConversionFactor);
|
StepBasic_ConversionBasedUnit::Init(theDimensions, theName, theConversionFactor);
|
||||||
|
|
||||||
// --- ANDOR component fields ---
|
// --- ANDOR component fields ---
|
||||||
timeUnit = new StepBasic_TimeUnit();
|
myTimeUnit = new StepBasic_TimeUnit();
|
||||||
timeUnit->Init(aDimensions);
|
myTimeUnit->Init(theDimensions);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void StepBasic_ConversionBasedUnitAndTimeUnit::SetTimeUnit(const Handle(StepBasic_TimeUnit)& aTimeUnit)
|
void StepBasic_ConversionBasedUnitAndTimeUnit::SetTimeUnit(const Handle(StepBasic_TimeUnit)& theTimeUnit)
|
||||||
{
|
{
|
||||||
timeUnit = aTimeUnit;
|
myTimeUnit = theTimeUnit;
|
||||||
}
|
}
|
||||||
|
|
||||||
Handle(StepBasic_TimeUnit) StepBasic_ConversionBasedUnitAndTimeUnit::TimeUnit() const
|
Handle(StepBasic_TimeUnit) StepBasic_ConversionBasedUnitAndTimeUnit::TimeUnit() const
|
||||||
{
|
{
|
||||||
return timeUnit;
|
return myTimeUnit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -24,7 +24,6 @@
|
|||||||
class StepBasic_TimeUnit;
|
class StepBasic_TimeUnit;
|
||||||
class StepBasic_DimensionalExponents;
|
class StepBasic_DimensionalExponents;
|
||||||
class TCollection_HAsciiString;
|
class TCollection_HAsciiString;
|
||||||
class StepBasic_MeasureWithUnit;
|
|
||||||
|
|
||||||
|
|
||||||
class StepBasic_ConversionBasedUnitAndTimeUnit;
|
class StepBasic_ConversionBasedUnitAndTimeUnit;
|
||||||
@ -40,9 +39,11 @@ public:
|
|||||||
//! Returns a ConversionBasedUnitAndTimeUnit
|
//! Returns a ConversionBasedUnitAndTimeUnit
|
||||||
Standard_EXPORT StepBasic_ConversionBasedUnitAndTimeUnit();
|
Standard_EXPORT StepBasic_ConversionBasedUnitAndTimeUnit();
|
||||||
|
|
||||||
Standard_EXPORT void Init (const Handle(StepBasic_DimensionalExponents)& aDimensions, const Handle(TCollection_HAsciiString)& aName, const Handle(StepBasic_MeasureWithUnit)& aConversionFactor);
|
Standard_EXPORT void Init (const Handle(StepBasic_DimensionalExponents)& theDimensions,
|
||||||
|
const Handle(TCollection_HAsciiString)& theName,
|
||||||
|
const Handle(Standard_Transient)& theConversionFactor);
|
||||||
|
|
||||||
Standard_EXPORT void SetTimeUnit (const Handle(StepBasic_TimeUnit)& aTimeUnit);
|
Standard_EXPORT void SetTimeUnit (const Handle(StepBasic_TimeUnit)& theTimeUnit);
|
||||||
|
|
||||||
Standard_EXPORT Handle(StepBasic_TimeUnit) TimeUnit() const;
|
Standard_EXPORT Handle(StepBasic_TimeUnit) TimeUnit() const;
|
||||||
|
|
||||||
@ -59,7 +60,7 @@ protected:
|
|||||||
private:
|
private:
|
||||||
|
|
||||||
|
|
||||||
Handle(StepBasic_TimeUnit) timeUnit;
|
Handle(StepBasic_TimeUnit) myTimeUnit;
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
// commercial license or contractual agreement.
|
// commercial license or contractual agreement.
|
||||||
|
|
||||||
|
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepDimTol_GeometricToleranceWithDatumReference.hxx>
|
#include <StepDimTol_GeometricToleranceWithDatumReference.hxx>
|
||||||
#include <StepDimTol_GeoTolAndGeoTolWthDatRef.hxx>
|
#include <StepDimTol_GeoTolAndGeoTolWthDatRef.hxx>
|
||||||
#include <StepRepr_ShapeAspect.hxx>
|
#include <StepRepr_ShapeAspect.hxx>
|
||||||
@ -39,7 +38,7 @@ StepDimTol_GeoTolAndGeoTolWthDatRef::StepDimTol_GeoTolAndGeoTolWthDatRef()
|
|||||||
void StepDimTol_GeoTolAndGeoTolWthDatRef::Init
|
void StepDimTol_GeoTolAndGeoTolWthDatRef::Init
|
||||||
(const Handle(TCollection_HAsciiString)& theName,
|
(const Handle(TCollection_HAsciiString)& theName,
|
||||||
const Handle(TCollection_HAsciiString)& theDescription,
|
const Handle(TCollection_HAsciiString)& theDescription,
|
||||||
const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect,
|
const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect,
|
||||||
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
|
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
|
||||||
const StepDimTol_GeometricToleranceType theType)
|
const StepDimTol_GeometricToleranceType theType)
|
||||||
@ -60,7 +59,7 @@ void StepDimTol_GeoTolAndGeoTolWthDatRef::Init
|
|||||||
void StepDimTol_GeoTolAndGeoTolWthDatRef::Init
|
void StepDimTol_GeoTolAndGeoTolWthDatRef::Init
|
||||||
(const Handle(TCollection_HAsciiString)& theName,
|
(const Handle(TCollection_HAsciiString)& theName,
|
||||||
const Handle(TCollection_HAsciiString)& theDescription,
|
const Handle(TCollection_HAsciiString)& theDescription,
|
||||||
const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect,
|
const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect,
|
||||||
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
|
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
|
||||||
const StepDimTol_GeometricToleranceType theType)
|
const StepDimTol_GeometricToleranceType theType)
|
||||||
|
@ -24,7 +24,6 @@
|
|||||||
class StepDimTol_GeometricToleranceTarget;
|
class StepDimTol_GeometricToleranceTarget;
|
||||||
class StepDimTol_GeometricToleranceWithDatumReference;
|
class StepDimTol_GeometricToleranceWithDatumReference;
|
||||||
class TCollection_HAsciiString;
|
class TCollection_HAsciiString;
|
||||||
class StepBasic_MeasureWithUnit;
|
|
||||||
class StepRepr_ShapeAspect;
|
class StepRepr_ShapeAspect;
|
||||||
|
|
||||||
|
|
||||||
@ -41,16 +40,16 @@ public:
|
|||||||
|
|
||||||
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName,
|
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName,
|
||||||
const Handle(TCollection_HAsciiString)& theDescription,
|
const Handle(TCollection_HAsciiString)& theDescription,
|
||||||
const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect,
|
const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect,
|
||||||
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
|
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
|
||||||
const StepDimTol_GeometricToleranceType theType);
|
const StepDimTol_GeometricToleranceType theType);
|
||||||
|
|
||||||
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aName,
|
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName,
|
||||||
const Handle(TCollection_HAsciiString)& aDescription,
|
const Handle(TCollection_HAsciiString)& theDescription,
|
||||||
const Handle(StepBasic_MeasureWithUnit)& aMagnitude,
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
const StepDimTol_GeometricToleranceTarget& aTolerancedShapeAspect,
|
const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect,
|
||||||
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& aGTWDR,
|
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
|
||||||
const StepDimTol_GeometricToleranceType theType);
|
const StepDimTol_GeometricToleranceType theType);
|
||||||
|
|
||||||
inline void SetGeometricToleranceWithDatumReference (const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR){
|
inline void SetGeometricToleranceWithDatumReference (const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR){
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
|
|
||||||
|
|
||||||
#include <StepBasic_LengthMeasureWithUnit.hxx>
|
#include <StepBasic_LengthMeasureWithUnit.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepDimTol_GeometricToleranceWithDatumReference.hxx>
|
#include <StepDimTol_GeometricToleranceWithDatumReference.hxx>
|
||||||
#include <StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMaxTol.hxx>
|
#include <StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMaxTol.hxx>
|
||||||
#include <StepDimTol_GeometricToleranceWithModifiers.hxx>
|
#include <StepDimTol_GeometricToleranceWithModifiers.hxx>
|
||||||
@ -41,7 +40,7 @@ StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMaxTol::StepDimTol_GeoTolAndGeoTo
|
|||||||
void StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMaxTol::Init
|
void StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMaxTol::Init
|
||||||
(const Handle(TCollection_HAsciiString)& theName,
|
(const Handle(TCollection_HAsciiString)& theName,
|
||||||
const Handle(TCollection_HAsciiString)& theDescription,
|
const Handle(TCollection_HAsciiString)& theDescription,
|
||||||
const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect,
|
const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect,
|
||||||
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
|
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
|
||||||
const Handle(StepDimTol_GeometricToleranceWithModifiers)& theGTWM,
|
const Handle(StepDimTol_GeometricToleranceWithModifiers)& theGTWM,
|
||||||
@ -61,7 +60,7 @@ void StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMaxTol::Init
|
|||||||
void StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMaxTol::Init
|
void StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMaxTol::Init
|
||||||
(const Handle(TCollection_HAsciiString)& theName,
|
(const Handle(TCollection_HAsciiString)& theName,
|
||||||
const Handle(TCollection_HAsciiString)& theDescription,
|
const Handle(TCollection_HAsciiString)& theDescription,
|
||||||
const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect,
|
const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect,
|
||||||
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
|
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
|
||||||
const Handle(StepDimTol_GeometricToleranceWithModifiers)& theGTWM,
|
const Handle(StepDimTol_GeometricToleranceWithModifiers)& theGTWM,
|
||||||
|
@ -26,7 +26,6 @@ class StepDimTol_GeometricToleranceWithDatumReference;
|
|||||||
class StepDimTol_GeometricToleranceWithModifiers;
|
class StepDimTol_GeometricToleranceWithModifiers;
|
||||||
class TCollection_HAsciiString;
|
class TCollection_HAsciiString;
|
||||||
class StepBasic_LengthMeasureWithUnit;
|
class StepBasic_LengthMeasureWithUnit;
|
||||||
class StepBasic_MeasureWithUnit;
|
|
||||||
class StepRepr_ShapeAspect;
|
class StepRepr_ShapeAspect;
|
||||||
|
|
||||||
|
|
||||||
@ -42,7 +41,7 @@ public:
|
|||||||
|
|
||||||
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName,
|
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName,
|
||||||
const Handle(TCollection_HAsciiString)& theDescription,
|
const Handle(TCollection_HAsciiString)& theDescription,
|
||||||
const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect,
|
const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect,
|
||||||
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
|
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
|
||||||
const Handle(StepDimTol_GeometricToleranceWithModifiers)& theGTWM,
|
const Handle(StepDimTol_GeometricToleranceWithModifiers)& theGTWM,
|
||||||
@ -51,7 +50,7 @@ public:
|
|||||||
|
|
||||||
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aName,
|
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aName,
|
||||||
const Handle(TCollection_HAsciiString)& aDescription,
|
const Handle(TCollection_HAsciiString)& aDescription,
|
||||||
const Handle(StepBasic_MeasureWithUnit)& aMagnitude,
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
const StepDimTol_GeometricToleranceTarget& aTolerancedShapeAspect,
|
const StepDimTol_GeometricToleranceTarget& aTolerancedShapeAspect,
|
||||||
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& aGTWDR,
|
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& aGTWDR,
|
||||||
const Handle(StepDimTol_GeometricToleranceWithModifiers)& aGTWM,
|
const Handle(StepDimTol_GeometricToleranceWithModifiers)& aGTWM,
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
// commercial license or contractual agreement.
|
// commercial license or contractual agreement.
|
||||||
|
|
||||||
|
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepDimTol_GeometricToleranceWithDatumReference.hxx>
|
#include <StepDimTol_GeometricToleranceWithDatumReference.hxx>
|
||||||
#include <StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMod.hxx>
|
#include <StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMod.hxx>
|
||||||
#include <StepDimTol_GeometricToleranceWithModifiers.hxx>
|
#include <StepDimTol_GeometricToleranceWithModifiers.hxx>
|
||||||
@ -40,7 +39,7 @@ StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMod::StepDimTol_GeoTolAndGeoTolWt
|
|||||||
void StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMod::Init
|
void StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMod::Init
|
||||||
(const Handle(TCollection_HAsciiString)& theName,
|
(const Handle(TCollection_HAsciiString)& theName,
|
||||||
const Handle(TCollection_HAsciiString)& theDescription,
|
const Handle(TCollection_HAsciiString)& theDescription,
|
||||||
const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect,
|
const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect,
|
||||||
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
|
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
|
||||||
const Handle(StepDimTol_GeometricToleranceWithModifiers)& theGTWM,
|
const Handle(StepDimTol_GeometricToleranceWithModifiers)& theGTWM,
|
||||||
@ -63,7 +62,7 @@ void StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMod::Init
|
|||||||
void StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMod::Init
|
void StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMod::Init
|
||||||
(const Handle(TCollection_HAsciiString)& theName,
|
(const Handle(TCollection_HAsciiString)& theName,
|
||||||
const Handle(TCollection_HAsciiString)& theDescription,
|
const Handle(TCollection_HAsciiString)& theDescription,
|
||||||
const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect,
|
const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect,
|
||||||
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
|
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
|
||||||
const Handle(StepDimTol_GeometricToleranceWithModifiers)& theGTWM,
|
const Handle(StepDimTol_GeometricToleranceWithModifiers)& theGTWM,
|
||||||
|
@ -25,7 +25,6 @@ class StepDimTol_GeometricToleranceTarget;
|
|||||||
class StepDimTol_GeometricToleranceWithDatumReference;
|
class StepDimTol_GeometricToleranceWithDatumReference;
|
||||||
class StepDimTol_GeometricToleranceWithModifiers;
|
class StepDimTol_GeometricToleranceWithModifiers;
|
||||||
class TCollection_HAsciiString;
|
class TCollection_HAsciiString;
|
||||||
class StepBasic_MeasureWithUnit;
|
|
||||||
class StepRepr_ShapeAspect;
|
class StepRepr_ShapeAspect;
|
||||||
|
|
||||||
|
|
||||||
@ -42,7 +41,7 @@ public:
|
|||||||
|
|
||||||
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName,
|
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName,
|
||||||
const Handle(TCollection_HAsciiString)& theDescription,
|
const Handle(TCollection_HAsciiString)& theDescription,
|
||||||
const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect,
|
const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect,
|
||||||
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
|
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
|
||||||
const Handle(StepDimTol_GeometricToleranceWithModifiers)& theGTWM,
|
const Handle(StepDimTol_GeometricToleranceWithModifiers)& theGTWM,
|
||||||
@ -50,7 +49,7 @@ public:
|
|||||||
|
|
||||||
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aName,
|
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aName,
|
||||||
const Handle(TCollection_HAsciiString)& aDescription,
|
const Handle(TCollection_HAsciiString)& aDescription,
|
||||||
const Handle(StepBasic_MeasureWithUnit)& aMagnitude,
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
const StepDimTol_GeometricToleranceTarget& aTolerancedShapeAspect,
|
const StepDimTol_GeometricToleranceTarget& aTolerancedShapeAspect,
|
||||||
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& aGTWDR,
|
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& aGTWDR,
|
||||||
const Handle(StepDimTol_GeometricToleranceWithModifiers)& aGTWM,
|
const Handle(StepDimTol_GeometricToleranceWithModifiers)& aGTWM,
|
||||||
|
@ -12,7 +12,6 @@
|
|||||||
// commercial license or contractual agreement.
|
// commercial license or contractual agreement.
|
||||||
|
|
||||||
|
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepDimTol_GeometricToleranceWithDatumReference.hxx>
|
#include <StepDimTol_GeometricToleranceWithDatumReference.hxx>
|
||||||
#include <StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol.hxx>
|
#include <StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol.hxx>
|
||||||
#include <StepDimTol_ModifiedGeometricTolerance.hxx>
|
#include <StepDimTol_ModifiedGeometricTolerance.hxx>
|
||||||
@ -37,19 +36,19 @@ StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol::StepDimTol_GeoTolAndGe
|
|||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
void StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol::Init
|
void StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol::Init
|
||||||
(const Handle(TCollection_HAsciiString)& aName,
|
(const Handle(TCollection_HAsciiString)& theName,
|
||||||
const Handle(TCollection_HAsciiString)& aDescription,
|
const Handle(TCollection_HAsciiString)& theDescription,
|
||||||
const Handle(StepBasic_MeasureWithUnit)& aMagnitude,
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
const Handle(StepRepr_ShapeAspect)& aTolerancedShapeAspect,
|
const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect,
|
||||||
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& aGTWDR,
|
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
|
||||||
const Handle(StepDimTol_ModifiedGeometricTolerance)& aMGT)
|
const Handle(StepDimTol_ModifiedGeometricTolerance)& theMGT)
|
||||||
{
|
{
|
||||||
SetName(aName);
|
SetName(theName);
|
||||||
SetDescription(aDescription);
|
SetDescription(theDescription);
|
||||||
SetMagnitude(aMagnitude);
|
SetMagnitude(theMagnitude);
|
||||||
SetTolerancedShapeAspect(aTolerancedShapeAspect);
|
SetTolerancedShapeAspect(theTolerancedShapeAspect);
|
||||||
myGeometricToleranceWithDatumReference = aGTWDR;
|
myGeometricToleranceWithDatumReference = theGTWDR;
|
||||||
myModifiedGeometricTolerance = aMGT;
|
myModifiedGeometricTolerance = theMGT;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
@ -58,19 +57,19 @@ void StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol::Init
|
|||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
void StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol::Init
|
void StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol::Init
|
||||||
(const Handle(TCollection_HAsciiString)& aName,
|
(const Handle(TCollection_HAsciiString)& theName,
|
||||||
const Handle(TCollection_HAsciiString)& aDescription,
|
const Handle(TCollection_HAsciiString)& theDescription,
|
||||||
const Handle(StepBasic_MeasureWithUnit)& aMagnitude,
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
const StepDimTol_GeometricToleranceTarget& aTolerancedShapeAspect,
|
const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect,
|
||||||
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& aGTWDR,
|
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
|
||||||
const Handle(StepDimTol_ModifiedGeometricTolerance)& aMGT)
|
const Handle(StepDimTol_ModifiedGeometricTolerance)& theMGT)
|
||||||
{
|
{
|
||||||
SetName(aName);
|
SetName(theName);
|
||||||
SetDescription(aDescription);
|
SetDescription(theDescription);
|
||||||
SetMagnitude(aMagnitude);
|
SetMagnitude(theMagnitude);
|
||||||
SetTolerancedShapeAspect(aTolerancedShapeAspect);
|
SetTolerancedShapeAspect(theTolerancedShapeAspect);
|
||||||
myGeometricToleranceWithDatumReference = aGTWDR;
|
myGeometricToleranceWithDatumReference = theGTWDR;
|
||||||
myModifiedGeometricTolerance = aMGT;
|
myModifiedGeometricTolerance = theMGT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -80,9 +79,9 @@ void StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol::Init
|
|||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
void StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol::SetGeometricToleranceWithDatumReference
|
void StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol::SetGeometricToleranceWithDatumReference
|
||||||
(const Handle(StepDimTol_GeometricToleranceWithDatumReference)& aGTWDR)
|
(const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR)
|
||||||
{
|
{
|
||||||
myGeometricToleranceWithDatumReference = aGTWDR;
|
myGeometricToleranceWithDatumReference = theGTWDR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -103,9 +102,9 @@ Handle(StepDimTol_GeometricToleranceWithDatumReference) StepDimTol_GeoTolAndGeoT
|
|||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
void StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol::SetModifiedGeometricTolerance
|
void StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol::SetModifiedGeometricTolerance
|
||||||
(const Handle(StepDimTol_ModifiedGeometricTolerance)& aMGT)
|
(const Handle(StepDimTol_ModifiedGeometricTolerance)& theMGT)
|
||||||
{
|
{
|
||||||
myModifiedGeometricTolerance = aMGT;
|
myModifiedGeometricTolerance = theMGT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -126,9 +125,9 @@ Handle(StepDimTol_ModifiedGeometricTolerance) StepDimTol_GeoTolAndGeoTolWthDatRe
|
|||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
void StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol::SetPositionTolerance
|
void StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol::SetPositionTolerance
|
||||||
(const Handle(StepDimTol_PositionTolerance)& aPT)
|
(const Handle(StepDimTol_PositionTolerance)& thePT)
|
||||||
{
|
{
|
||||||
myPositionTolerance = aPT;
|
myPositionTolerance = thePT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -25,7 +25,6 @@ class StepDimTol_GeometricToleranceWithDatumReference;
|
|||||||
class StepDimTol_ModifiedGeometricTolerance;
|
class StepDimTol_ModifiedGeometricTolerance;
|
||||||
class StepDimTol_PositionTolerance;
|
class StepDimTol_PositionTolerance;
|
||||||
class TCollection_HAsciiString;
|
class TCollection_HAsciiString;
|
||||||
class StepBasic_MeasureWithUnit;
|
|
||||||
class StepRepr_ShapeAspect;
|
class StepRepr_ShapeAspect;
|
||||||
|
|
||||||
|
|
||||||
@ -41,19 +40,29 @@ public:
|
|||||||
|
|
||||||
Standard_EXPORT StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol();
|
Standard_EXPORT StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol();
|
||||||
|
|
||||||
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aName, const Handle(TCollection_HAsciiString)& aDescription, const Handle(StepBasic_MeasureWithUnit)& aMagnitude, const Handle(StepRepr_ShapeAspect)& aTolerancedShapeAspect, const Handle(StepDimTol_GeometricToleranceWithDatumReference)& aGTWDR, const Handle(StepDimTol_ModifiedGeometricTolerance)& aMGT);
|
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName,
|
||||||
|
const Handle(TCollection_HAsciiString)& theDescription,
|
||||||
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
|
const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect,
|
||||||
|
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
|
||||||
|
const Handle(StepDimTol_ModifiedGeometricTolerance)& theMGT);
|
||||||
|
|
||||||
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aName, const Handle(TCollection_HAsciiString)& aDescription, const Handle(StepBasic_MeasureWithUnit)& aMagnitude, const StepDimTol_GeometricToleranceTarget& aTolerancedShapeAspect, const Handle(StepDimTol_GeometricToleranceWithDatumReference)& aGTWDR, const Handle(StepDimTol_ModifiedGeometricTolerance)& aMGT);
|
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName,
|
||||||
|
const Handle(TCollection_HAsciiString)& theDescription,
|
||||||
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
|
const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect,
|
||||||
|
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
|
||||||
|
const Handle(StepDimTol_ModifiedGeometricTolerance)& theMGT);
|
||||||
|
|
||||||
Standard_EXPORT void SetGeometricToleranceWithDatumReference (const Handle(StepDimTol_GeometricToleranceWithDatumReference)& aGTWDR);
|
Standard_EXPORT void SetGeometricToleranceWithDatumReference (const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR);
|
||||||
|
|
||||||
Standard_EXPORT Handle(StepDimTol_GeometricToleranceWithDatumReference) GetGeometricToleranceWithDatumReference() const;
|
Standard_EXPORT Handle(StepDimTol_GeometricToleranceWithDatumReference) GetGeometricToleranceWithDatumReference() const;
|
||||||
|
|
||||||
Standard_EXPORT void SetModifiedGeometricTolerance (const Handle(StepDimTol_ModifiedGeometricTolerance)& aMGT);
|
Standard_EXPORT void SetModifiedGeometricTolerance (const Handle(StepDimTol_ModifiedGeometricTolerance)& theMGT);
|
||||||
|
|
||||||
Standard_EXPORT Handle(StepDimTol_ModifiedGeometricTolerance) GetModifiedGeometricTolerance() const;
|
Standard_EXPORT Handle(StepDimTol_ModifiedGeometricTolerance) GetModifiedGeometricTolerance() const;
|
||||||
|
|
||||||
Standard_EXPORT void SetPositionTolerance (const Handle(StepDimTol_PositionTolerance)& aPT);
|
Standard_EXPORT void SetPositionTolerance (const Handle(StepDimTol_PositionTolerance)& thePT);
|
||||||
|
|
||||||
Standard_EXPORT Handle(StepDimTol_PositionTolerance) GetPositionTolerance() const;
|
Standard_EXPORT Handle(StepDimTol_PositionTolerance) GetPositionTolerance() const;
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ StepDimTol_GeoTolAndGeoTolWthDatRefAndUneqDisGeoTol::StepDimTol_GeoTolAndGeoTolW
|
|||||||
void StepDimTol_GeoTolAndGeoTolWthDatRefAndUneqDisGeoTol::Init
|
void StepDimTol_GeoTolAndGeoTolWthDatRefAndUneqDisGeoTol::Init
|
||||||
(const Handle(TCollection_HAsciiString)& theName,
|
(const Handle(TCollection_HAsciiString)& theName,
|
||||||
const Handle(TCollection_HAsciiString)& theDescription,
|
const Handle(TCollection_HAsciiString)& theDescription,
|
||||||
const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect,
|
const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect,
|
||||||
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
|
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
|
||||||
const StepDimTol_GeometricToleranceType theType,
|
const StepDimTol_GeometricToleranceType theType,
|
||||||
@ -58,7 +58,7 @@ void StepDimTol_GeoTolAndGeoTolWthDatRefAndUneqDisGeoTol::Init
|
|||||||
void StepDimTol_GeoTolAndGeoTolWthDatRefAndUneqDisGeoTol::Init
|
void StepDimTol_GeoTolAndGeoTolWthDatRefAndUneqDisGeoTol::Init
|
||||||
(const Handle(TCollection_HAsciiString)& theName,
|
(const Handle(TCollection_HAsciiString)& theName,
|
||||||
const Handle(TCollection_HAsciiString)& theDescription,
|
const Handle(TCollection_HAsciiString)& theDescription,
|
||||||
const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect,
|
const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect,
|
||||||
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
|
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
|
||||||
const StepDimTol_GeometricToleranceType theType,
|
const StepDimTol_GeometricToleranceType theType,
|
||||||
|
@ -24,7 +24,6 @@ class StepDimTol_GeometricToleranceTarget;
|
|||||||
class StepDimTol_GeometricToleranceWithDatumReference;
|
class StepDimTol_GeometricToleranceWithDatumReference;
|
||||||
class StepDimTol_UnequallyDisposedGeometricTolerance;
|
class StepDimTol_UnequallyDisposedGeometricTolerance;
|
||||||
class TCollection_HAsciiString;
|
class TCollection_HAsciiString;
|
||||||
class StepBasic_MeasureWithUnit;
|
|
||||||
class StepRepr_ShapeAspect;
|
class StepRepr_ShapeAspect;
|
||||||
|
|
||||||
|
|
||||||
@ -41,17 +40,17 @@ public:
|
|||||||
|
|
||||||
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName,
|
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName,
|
||||||
const Handle(TCollection_HAsciiString)& theDescription,
|
const Handle(TCollection_HAsciiString)& theDescription,
|
||||||
const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect,
|
const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect,
|
||||||
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
|
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
|
||||||
const StepDimTol_GeometricToleranceType theType,
|
const StepDimTol_GeometricToleranceType theType,
|
||||||
const Handle(StepDimTol_UnequallyDisposedGeometricTolerance)& theUDGT);
|
const Handle(StepDimTol_UnequallyDisposedGeometricTolerance)& theUDGT);
|
||||||
|
|
||||||
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aName,
|
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName,
|
||||||
const Handle(TCollection_HAsciiString)& aDescription,
|
const Handle(TCollection_HAsciiString)& theDescription,
|
||||||
const Handle(StepBasic_MeasureWithUnit)& aMagnitude,
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
const StepDimTol_GeometricToleranceTarget& aTolerancedShapeAspect,
|
const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect,
|
||||||
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& aGTWDR,
|
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
|
||||||
const StepDimTol_GeometricToleranceType theType,
|
const StepDimTol_GeometricToleranceType theType,
|
||||||
const Handle(StepDimTol_UnequallyDisposedGeometricTolerance)& theUDGT);
|
const Handle(StepDimTol_UnequallyDisposedGeometricTolerance)& theUDGT);
|
||||||
|
|
||||||
|
@ -13,9 +13,7 @@
|
|||||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||||
// commercial license or contractual agreement.
|
// commercial license or contractual agreement.
|
||||||
|
|
||||||
|
|
||||||
#include <StepBasic_LengthMeasureWithUnit.hxx>
|
#include <StepBasic_LengthMeasureWithUnit.hxx>
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepDimTol_GeoTolAndGeoTolWthMaxTol.hxx>
|
#include <StepDimTol_GeoTolAndGeoTolWthMaxTol.hxx>
|
||||||
#include <StepDimTol_GeometricToleranceWithModifiers.hxx>
|
#include <StepDimTol_GeometricToleranceWithModifiers.hxx>
|
||||||
#include <StepRepr_ShapeAspect.hxx>
|
#include <StepRepr_ShapeAspect.hxx>
|
||||||
@ -40,7 +38,7 @@ StepDimTol_GeoTolAndGeoTolWthMaxTol::StepDimTol_GeoTolAndGeoTolWthMaxTol()
|
|||||||
void StepDimTol_GeoTolAndGeoTolWthMaxTol::Init
|
void StepDimTol_GeoTolAndGeoTolWthMaxTol::Init
|
||||||
(const Handle(TCollection_HAsciiString)& theName,
|
(const Handle(TCollection_HAsciiString)& theName,
|
||||||
const Handle(TCollection_HAsciiString)& theDescription,
|
const Handle(TCollection_HAsciiString)& theDescription,
|
||||||
const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect,
|
const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect,
|
||||||
const Handle(StepDimTol_GeometricToleranceWithModifiers)& theGTWM,
|
const Handle(StepDimTol_GeometricToleranceWithModifiers)& theGTWM,
|
||||||
const Handle(StepBasic_LengthMeasureWithUnit)& theMaxTol,
|
const Handle(StepBasic_LengthMeasureWithUnit)& theMaxTol,
|
||||||
@ -58,7 +56,7 @@ void StepDimTol_GeoTolAndGeoTolWthMaxTol::Init
|
|||||||
void StepDimTol_GeoTolAndGeoTolWthMaxTol::Init
|
void StepDimTol_GeoTolAndGeoTolWthMaxTol::Init
|
||||||
(const Handle(TCollection_HAsciiString)& theName,
|
(const Handle(TCollection_HAsciiString)& theName,
|
||||||
const Handle(TCollection_HAsciiString)& theDescription,
|
const Handle(TCollection_HAsciiString)& theDescription,
|
||||||
const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect,
|
const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect,
|
||||||
const Handle(StepDimTol_GeometricToleranceWithModifiers)& theGTWM,
|
const Handle(StepDimTol_GeometricToleranceWithModifiers)& theGTWM,
|
||||||
const Handle(StepBasic_LengthMeasureWithUnit)& theMaxTol,
|
const Handle(StepBasic_LengthMeasureWithUnit)& theMaxTol,
|
||||||
|
@ -25,7 +25,6 @@ class StepDimTol_GeometricToleranceTarget;
|
|||||||
class StepDimTol_GeometricToleranceWithModifiers;
|
class StepDimTol_GeometricToleranceWithModifiers;
|
||||||
class TCollection_HAsciiString;
|
class TCollection_HAsciiString;
|
||||||
class StepBasic_LengthMeasureWithUnit;
|
class StepBasic_LengthMeasureWithUnit;
|
||||||
class StepBasic_MeasureWithUnit;
|
|
||||||
class StepRepr_ShapeAspect;
|
class StepRepr_ShapeAspect;
|
||||||
|
|
||||||
|
|
||||||
@ -42,17 +41,17 @@ public:
|
|||||||
|
|
||||||
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName,
|
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName,
|
||||||
const Handle(TCollection_HAsciiString)& theDescription,
|
const Handle(TCollection_HAsciiString)& theDescription,
|
||||||
const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect,
|
const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect,
|
||||||
const Handle(StepDimTol_GeometricToleranceWithModifiers)& theGTWM,
|
const Handle(StepDimTol_GeometricToleranceWithModifiers)& theGTWM,
|
||||||
const Handle(StepBasic_LengthMeasureWithUnit)& theMaxTol,
|
const Handle(StepBasic_LengthMeasureWithUnit)& theMaxTol,
|
||||||
const StepDimTol_GeometricToleranceType theType);
|
const StepDimTol_GeometricToleranceType theType);
|
||||||
|
|
||||||
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aName,
|
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName,
|
||||||
const Handle(TCollection_HAsciiString)& aDescription,
|
const Handle(TCollection_HAsciiString)& theDescription,
|
||||||
const Handle(StepBasic_MeasureWithUnit)& aMagnitude,
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
const StepDimTol_GeometricToleranceTarget& aTolerancedShapeAspect,
|
const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect,
|
||||||
const Handle(StepDimTol_GeometricToleranceWithModifiers)& aGTWM,
|
const Handle(StepDimTol_GeometricToleranceWithModifiers)& theGTWM,
|
||||||
const Handle(StepBasic_LengthMeasureWithUnit)& theMaxTol,
|
const Handle(StepBasic_LengthMeasureWithUnit)& theMaxTol,
|
||||||
const StepDimTol_GeometricToleranceType theType);
|
const StepDimTol_GeometricToleranceType theType);
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ StepDimTol_GeoTolAndGeoTolWthMod::StepDimTol_GeoTolAndGeoTolWthMod()
|
|||||||
void StepDimTol_GeoTolAndGeoTolWthMod::Init
|
void StepDimTol_GeoTolAndGeoTolWthMod::Init
|
||||||
(const Handle(TCollection_HAsciiString)& theName,
|
(const Handle(TCollection_HAsciiString)& theName,
|
||||||
const Handle(TCollection_HAsciiString)& theDescription,
|
const Handle(TCollection_HAsciiString)& theDescription,
|
||||||
const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect,
|
const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect,
|
||||||
const Handle(StepDimTol_GeometricToleranceWithModifiers)& theGTWM,
|
const Handle(StepDimTol_GeometricToleranceWithModifiers)& theGTWM,
|
||||||
const StepDimTol_GeometricToleranceType theType)
|
const StepDimTol_GeometricToleranceType theType)
|
||||||
@ -60,7 +60,7 @@ void StepDimTol_GeoTolAndGeoTolWthMod::Init
|
|||||||
void StepDimTol_GeoTolAndGeoTolWthMod::Init
|
void StepDimTol_GeoTolAndGeoTolWthMod::Init
|
||||||
(const Handle(TCollection_HAsciiString)& theName,
|
(const Handle(TCollection_HAsciiString)& theName,
|
||||||
const Handle(TCollection_HAsciiString)& theDescription,
|
const Handle(TCollection_HAsciiString)& theDescription,
|
||||||
const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect,
|
const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect,
|
||||||
const Handle(StepDimTol_GeometricToleranceWithModifiers)& theGTWM,
|
const Handle(StepDimTol_GeometricToleranceWithModifiers)& theGTWM,
|
||||||
const StepDimTol_GeometricToleranceType theType)
|
const StepDimTol_GeometricToleranceType theType)
|
||||||
|
@ -41,16 +41,16 @@ public:
|
|||||||
|
|
||||||
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName,
|
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName,
|
||||||
const Handle(TCollection_HAsciiString)& theDescription,
|
const Handle(TCollection_HAsciiString)& theDescription,
|
||||||
const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect,
|
const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect,
|
||||||
const Handle(StepDimTol_GeometricToleranceWithModifiers)& theGTWM,
|
const Handle(StepDimTol_GeometricToleranceWithModifiers)& theGTWM,
|
||||||
const StepDimTol_GeometricToleranceType theType);
|
const StepDimTol_GeometricToleranceType theType);
|
||||||
|
|
||||||
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aName,
|
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName,
|
||||||
const Handle(TCollection_HAsciiString)& aDescription,
|
const Handle(TCollection_HAsciiString)& theDescription,
|
||||||
const Handle(StepBasic_MeasureWithUnit)& aMagnitude,
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
const StepDimTol_GeometricToleranceTarget& aTolerancedShapeAspect,
|
const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect,
|
||||||
const Handle(StepDimTol_GeometricToleranceWithModifiers)& aGTWM,
|
const Handle(StepDimTol_GeometricToleranceWithModifiers)& theGTWM,
|
||||||
const StepDimTol_GeometricToleranceType theType);
|
const StepDimTol_GeometricToleranceType theType);
|
||||||
|
|
||||||
inline void SetGeometricToleranceWithModifiers (const Handle(StepDimTol_GeometricToleranceWithModifiers)& theGTWM) {
|
inline void SetGeometricToleranceWithModifiers (const Handle(StepDimTol_GeometricToleranceWithModifiers)& theGTWM) {
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
|
|
||||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2
|
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2
|
||||||
|
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepDimTol_GeometricTolerance.hxx>
|
#include <StepDimTol_GeometricTolerance.hxx>
|
||||||
#include <StepDimTol_GeometricToleranceTarget.hxx>
|
#include <StepDimTol_GeometricToleranceTarget.hxx>
|
||||||
#include <StepRepr_ShapeAspect.hxx>
|
#include <StepRepr_ShapeAspect.hxx>
|
||||||
@ -38,7 +37,7 @@ StepDimTol_GeometricTolerance::StepDimTol_GeometricTolerance ()
|
|||||||
|
|
||||||
void StepDimTol_GeometricTolerance::Init (const Handle(TCollection_HAsciiString) &theName,
|
void StepDimTol_GeometricTolerance::Init (const Handle(TCollection_HAsciiString) &theName,
|
||||||
const Handle(TCollection_HAsciiString) &theDescription,
|
const Handle(TCollection_HAsciiString) &theDescription,
|
||||||
const Handle(StepBasic_MeasureWithUnit) &theMagnitude,
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
const StepDimTol_GeometricToleranceTarget &theTolerancedShapeAspect)
|
const StepDimTol_GeometricToleranceTarget &theTolerancedShapeAspect)
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -58,7 +57,7 @@ void StepDimTol_GeometricTolerance::Init (const Handle(TCollection_HAsciiString)
|
|||||||
|
|
||||||
void StepDimTol_GeometricTolerance::Init (const Handle(TCollection_HAsciiString) &theName,
|
void StepDimTol_GeometricTolerance::Init (const Handle(TCollection_HAsciiString) &theName,
|
||||||
const Handle(TCollection_HAsciiString) &theDescription,
|
const Handle(TCollection_HAsciiString) &theDescription,
|
||||||
const Handle(StepBasic_MeasureWithUnit) &theMagnitude,
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
const Handle(StepRepr_ShapeAspect) &theTolerancedShapeAspect)
|
const Handle(StepRepr_ShapeAspect) &theTolerancedShapeAspect)
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -116,7 +115,7 @@ void StepDimTol_GeometricTolerance::SetDescription (const Handle(TCollection_HAs
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
Handle(StepBasic_MeasureWithUnit) StepDimTol_GeometricTolerance::Magnitude () const
|
Handle(Standard_Transient) StepDimTol_GeometricTolerance::Magnitude() const
|
||||||
{
|
{
|
||||||
return myMagnitude;
|
return myMagnitude;
|
||||||
}
|
}
|
||||||
@ -126,7 +125,7 @@ Handle(StepBasic_MeasureWithUnit) StepDimTol_GeometricTolerance::Magnitude () co
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
void StepDimTol_GeometricTolerance::SetMagnitude (const Handle(StepBasic_MeasureWithUnit) &theMagnitude)
|
void StepDimTol_GeometricTolerance::SetMagnitude (const Handle(Standard_Transient)& theMagnitude)
|
||||||
{
|
{
|
||||||
myMagnitude = theMagnitude;
|
myMagnitude = theMagnitude;
|
||||||
}
|
}
|
||||||
|
@ -21,10 +21,9 @@
|
|||||||
|
|
||||||
#include <Standard_Transient.hxx>
|
#include <Standard_Transient.hxx>
|
||||||
#include <StepDimTol_GeometricToleranceTarget.hxx>
|
#include <StepDimTol_GeometricToleranceTarget.hxx>
|
||||||
class TCollection_HAsciiString;
|
|
||||||
class StepBasic_MeasureWithUnit;
|
|
||||||
class StepRepr_ShapeAspect;
|
|
||||||
|
|
||||||
|
class TCollection_HAsciiString;
|
||||||
|
class StepRepr_ShapeAspect;
|
||||||
|
|
||||||
class StepDimTol_GeometricTolerance;
|
class StepDimTol_GeometricTolerance;
|
||||||
DEFINE_STANDARD_HANDLE(StepDimTol_GeometricTolerance, Standard_Transient)
|
DEFINE_STANDARD_HANDLE(StepDimTol_GeometricTolerance, Standard_Transient)
|
||||||
@ -42,13 +41,13 @@ public:
|
|||||||
//! Initialize all fields (own and inherited) AP214
|
//! Initialize all fields (own and inherited) AP214
|
||||||
Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& theName,
|
Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& theName,
|
||||||
const Handle(TCollection_HAsciiString)& theDescription,
|
const Handle(TCollection_HAsciiString)& theDescription,
|
||||||
const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect);
|
const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect);
|
||||||
|
|
||||||
//! Initialize all fields (own and inherited) AP242
|
//! Initialize all fields (own and inherited) AP242
|
||||||
Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& theName,
|
Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& theName,
|
||||||
const Handle(TCollection_HAsciiString)& theDescription,
|
const Handle(TCollection_HAsciiString)& theDescription,
|
||||||
const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect);
|
const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect);
|
||||||
|
|
||||||
//! Returns field Name
|
//! Returns field Name
|
||||||
@ -64,10 +63,10 @@ public:
|
|||||||
Standard_EXPORT void SetDescription (const Handle(TCollection_HAsciiString)& theDescription);
|
Standard_EXPORT void SetDescription (const Handle(TCollection_HAsciiString)& theDescription);
|
||||||
|
|
||||||
//! Returns field Magnitude
|
//! Returns field Magnitude
|
||||||
Standard_EXPORT Handle(StepBasic_MeasureWithUnit) Magnitude() const;
|
Standard_EXPORT Handle(Standard_Transient) Magnitude() const;
|
||||||
|
|
||||||
//! Set field Magnitude
|
//! Set field Magnitude
|
||||||
Standard_EXPORT void SetMagnitude (const Handle(StepBasic_MeasureWithUnit)& theMagnitude);
|
Standard_EXPORT void SetMagnitude(const Handle(Standard_Transient)& theMagnitude);
|
||||||
|
|
||||||
//! Returns field TolerancedShapeAspect
|
//! Returns field TolerancedShapeAspect
|
||||||
//! Note: in AP214(203) type of this attribute can be only StepRepr_ShapeAspect
|
//! Note: in AP214(203) type of this attribute can be only StepRepr_ShapeAspect
|
||||||
@ -94,7 +93,7 @@ private:
|
|||||||
|
|
||||||
Handle(TCollection_HAsciiString) myName;
|
Handle(TCollection_HAsciiString) myName;
|
||||||
Handle(TCollection_HAsciiString) myDescription;
|
Handle(TCollection_HAsciiString) myDescription;
|
||||||
Handle(StepBasic_MeasureWithUnit) myMagnitude;
|
Handle(Standard_Transient) myMagnitude;
|
||||||
StepDimTol_GeometricToleranceTarget myTolerancedShapeAspect;
|
StepDimTol_GeometricToleranceTarget myTolerancedShapeAspect;
|
||||||
|
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ StepDimTol_GeometricToleranceWithDatumReference::StepDimTol_GeometricToleranceWi
|
|||||||
|
|
||||||
void StepDimTol_GeometricToleranceWithDatumReference::Init (const Handle(TCollection_HAsciiString) &theGeometricTolerance_Name,
|
void StepDimTol_GeometricToleranceWithDatumReference::Init (const Handle(TCollection_HAsciiString) &theGeometricTolerance_Name,
|
||||||
const Handle(TCollection_HAsciiString) &theGeometricTolerance_Description,
|
const Handle(TCollection_HAsciiString) &theGeometricTolerance_Description,
|
||||||
const Handle(StepBasic_MeasureWithUnit) &theGeometricTolerance_Magnitude,
|
const Handle(Standard_Transient)& theGeometricTolerance_Magnitude,
|
||||||
const Handle(StepRepr_ShapeAspect) &theGeometricTolerance_TolerancedShapeAspect,
|
const Handle(StepRepr_ShapeAspect) &theGeometricTolerance_TolerancedShapeAspect,
|
||||||
const Handle(StepDimTol_HArray1OfDatumReference) &theDatumSystem)
|
const Handle(StepDimTol_HArray1OfDatumReference) &theDatumSystem)
|
||||||
{
|
{
|
||||||
@ -62,7 +62,7 @@ void StepDimTol_GeometricToleranceWithDatumReference::Init (const Handle(TCollec
|
|||||||
|
|
||||||
void StepDimTol_GeometricToleranceWithDatumReference::Init (const Handle(TCollection_HAsciiString) &theGeometricTolerance_Name,
|
void StepDimTol_GeometricToleranceWithDatumReference::Init (const Handle(TCollection_HAsciiString) &theGeometricTolerance_Name,
|
||||||
const Handle(TCollection_HAsciiString) &theGeometricTolerance_Description,
|
const Handle(TCollection_HAsciiString) &theGeometricTolerance_Description,
|
||||||
const Handle(StepBasic_MeasureWithUnit) &theGeometricTolerance_Magnitude,
|
const Handle(Standard_Transient)& theGeometricTolerance_Magnitude,
|
||||||
const StepDimTol_GeometricToleranceTarget &theGeometricTolerance_TolerancedShapeAspect,
|
const StepDimTol_GeometricToleranceTarget &theGeometricTolerance_TolerancedShapeAspect,
|
||||||
const Handle(StepDimTol_HArray1OfDatumSystemOrReference) &theDatumSystem)
|
const Handle(StepDimTol_HArray1OfDatumSystemOrReference) &theDatumSystem)
|
||||||
{
|
{
|
||||||
|
@ -44,14 +44,14 @@ public:
|
|||||||
//! Initialize all fields (own and inherited) AP214
|
//! Initialize all fields (own and inherited) AP214
|
||||||
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theGeometricTolerance_Name,
|
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theGeometricTolerance_Name,
|
||||||
const Handle(TCollection_HAsciiString)& theGeometricTolerance_Description,
|
const Handle(TCollection_HAsciiString)& theGeometricTolerance_Description,
|
||||||
const Handle(StepBasic_MeasureWithUnit)& theGeometricTolerance_Magnitude,
|
const Handle(Standard_Transient)& theGeometricTolerance_Magnitude,
|
||||||
const Handle(StepRepr_ShapeAspect)& theGeometricTolerance_TolerancedShapeAspect,
|
const Handle(StepRepr_ShapeAspect)& theGeometricTolerance_TolerancedShapeAspect,
|
||||||
const Handle(StepDimTol_HArray1OfDatumReference)& theDatumSystem);
|
const Handle(StepDimTol_HArray1OfDatumReference)& theDatumSystem);
|
||||||
|
|
||||||
//! Initialize all fields (own and inherited) AP242
|
//! Initialize all fields (own and inherited) AP242
|
||||||
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theGeometricTolerance_Name,
|
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theGeometricTolerance_Name,
|
||||||
const Handle(TCollection_HAsciiString)& theGeometricTolerance_Description,
|
const Handle(TCollection_HAsciiString)& theGeometricTolerance_Description,
|
||||||
const Handle(StepBasic_MeasureWithUnit)& theGeometricTolerance_Magnitude,
|
const Handle(Standard_Transient)& theGeometricTolerance_Magnitude,
|
||||||
const StepDimTol_GeometricToleranceTarget& theGeometricTolerance_TolerancedShapeAspect,
|
const StepDimTol_GeometricToleranceTarget& theGeometricTolerance_TolerancedShapeAspect,
|
||||||
const Handle(StepDimTol_HArray1OfDatumSystemOrReference)& theDatumSystem);
|
const Handle(StepDimTol_HArray1OfDatumSystemOrReference)& theDatumSystem);
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ StepDimTol_GeometricToleranceWithDefinedAreaUnit::StepDimTol_GeometricToleranceW
|
|||||||
void StepDimTol_GeometricToleranceWithDefinedAreaUnit::
|
void StepDimTol_GeometricToleranceWithDefinedAreaUnit::
|
||||||
Init (const Handle(TCollection_HAsciiString) &theName,
|
Init (const Handle(TCollection_HAsciiString) &theName,
|
||||||
const Handle(TCollection_HAsciiString) &theDescription,
|
const Handle(TCollection_HAsciiString) &theDescription,
|
||||||
const Handle(StepBasic_MeasureWithUnit) &theMagnitude,
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
const StepDimTol_GeometricToleranceTarget &theTolerancedShapeAspect,
|
const StepDimTol_GeometricToleranceTarget &theTolerancedShapeAspect,
|
||||||
const Handle(StepBasic_LengthMeasureWithUnit) &theUnitSize,
|
const Handle(StepBasic_LengthMeasureWithUnit) &theUnitSize,
|
||||||
const StepDimTol_AreaUnitType theUnitType,
|
const StepDimTol_AreaUnitType theUnitType,
|
||||||
|
@ -42,7 +42,7 @@ public:
|
|||||||
//! Initialize all fields (own and inherited)
|
//! Initialize all fields (own and inherited)
|
||||||
Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& theName,
|
Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& theName,
|
||||||
const Handle(TCollection_HAsciiString)& theDescription,
|
const Handle(TCollection_HAsciiString)& theDescription,
|
||||||
const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect,
|
const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect,
|
||||||
const Handle(StepBasic_LengthMeasureWithUnit)& theUnitSize,
|
const Handle(StepBasic_LengthMeasureWithUnit)& theUnitSize,
|
||||||
const StepDimTol_AreaUnitType theAreaType, const Standard_Boolean theHasSecondUnitSize,
|
const StepDimTol_AreaUnitType theAreaType, const Standard_Boolean theHasSecondUnitSize,
|
||||||
|
@ -36,7 +36,7 @@ StepDimTol_GeometricToleranceWithDefinedUnit::StepDimTol_GeometricToleranceWithD
|
|||||||
|
|
||||||
void StepDimTol_GeometricToleranceWithDefinedUnit::Init (const Handle(TCollection_HAsciiString) &theName,
|
void StepDimTol_GeometricToleranceWithDefinedUnit::Init (const Handle(TCollection_HAsciiString) &theName,
|
||||||
const Handle(TCollection_HAsciiString) &theDescription,
|
const Handle(TCollection_HAsciiString) &theDescription,
|
||||||
const Handle(StepBasic_MeasureWithUnit) &theMagnitude,
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
const Handle(StepRepr_ShapeAspect) &theTolerancedShapeAspect,
|
const Handle(StepRepr_ShapeAspect) &theTolerancedShapeAspect,
|
||||||
const Handle(StepBasic_LengthMeasureWithUnit) &theUnitSize)
|
const Handle(StepBasic_LengthMeasureWithUnit) &theUnitSize)
|
||||||
{
|
{
|
||||||
@ -51,7 +51,7 @@ void StepDimTol_GeometricToleranceWithDefinedUnit::Init (const Handle(TCollectio
|
|||||||
|
|
||||||
void StepDimTol_GeometricToleranceWithDefinedUnit::Init (const Handle(TCollection_HAsciiString) &theName,
|
void StepDimTol_GeometricToleranceWithDefinedUnit::Init (const Handle(TCollection_HAsciiString) &theName,
|
||||||
const Handle(TCollection_HAsciiString) &theDescription,
|
const Handle(TCollection_HAsciiString) &theDescription,
|
||||||
const Handle(StepBasic_MeasureWithUnit) &theMagnitude,
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
const StepDimTol_GeometricToleranceTarget &theTolerancedShapeAspect,
|
const StepDimTol_GeometricToleranceTarget &theTolerancedShapeAspect,
|
||||||
const Handle(StepBasic_LengthMeasureWithUnit) &theUnitSize)
|
const Handle(StepBasic_LengthMeasureWithUnit) &theUnitSize)
|
||||||
{
|
{
|
||||||
|
@ -22,7 +22,6 @@
|
|||||||
|
|
||||||
class StepBasic_LengthMeasureWithUnit;
|
class StepBasic_LengthMeasureWithUnit;
|
||||||
class TCollection_HAsciiString;
|
class TCollection_HAsciiString;
|
||||||
class StepBasic_MeasureWithUnit;
|
|
||||||
class StepDimTol_GeometricToleranceTarget;
|
class StepDimTol_GeometricToleranceTarget;
|
||||||
class StepRepr_ShapeAspect;
|
class StepRepr_ShapeAspect;
|
||||||
|
|
||||||
@ -38,10 +37,18 @@ public:
|
|||||||
Standard_EXPORT StepDimTol_GeometricToleranceWithDefinedUnit();
|
Standard_EXPORT StepDimTol_GeometricToleranceWithDefinedUnit();
|
||||||
|
|
||||||
//! Initialize all fields (own and inherited) AP214
|
//! Initialize all fields (own and inherited) AP214
|
||||||
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName, const Handle(TCollection_HAsciiString)& theDescription, const Handle(StepBasic_MeasureWithUnit)& theMagnitude, const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect, const Handle(StepBasic_LengthMeasureWithUnit)& theUnitSize) ;
|
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName,
|
||||||
|
const Handle(TCollection_HAsciiString)& theDescription,
|
||||||
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
|
const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect,
|
||||||
|
const Handle(StepBasic_LengthMeasureWithUnit)& theUnitSize);
|
||||||
|
|
||||||
//! Initialize all fields (own and inherited) AP242
|
//! Initialize all fields (own and inherited) AP242
|
||||||
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName, const Handle(TCollection_HAsciiString)& theDescription, const Handle(StepBasic_MeasureWithUnit)& theMagnitude, const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect, const Handle(StepBasic_LengthMeasureWithUnit)& theUnitSize) ;
|
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName,
|
||||||
|
const Handle(TCollection_HAsciiString)& theDescription,
|
||||||
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
|
const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect,
|
||||||
|
const Handle(StepBasic_LengthMeasureWithUnit)& theUnitSize) ;
|
||||||
|
|
||||||
//! Returns field UnitSize
|
//! Returns field UnitSize
|
||||||
inline Handle(StepBasic_LengthMeasureWithUnit) UnitSize () const
|
inline Handle(StepBasic_LengthMeasureWithUnit) UnitSize () const
|
||||||
|
@ -37,7 +37,7 @@ StepDimTol_GeometricToleranceWithMaximumTolerance::StepDimTol_GeometricTolerance
|
|||||||
void StepDimTol_GeometricToleranceWithMaximumTolerance::
|
void StepDimTol_GeometricToleranceWithMaximumTolerance::
|
||||||
Init (const Handle(TCollection_HAsciiString) &theName,
|
Init (const Handle(TCollection_HAsciiString) &theName,
|
||||||
const Handle(TCollection_HAsciiString) &theDescription,
|
const Handle(TCollection_HAsciiString) &theDescription,
|
||||||
const Handle(StepBasic_MeasureWithUnit) &theMagnitude,
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
const StepDimTol_GeometricToleranceTarget &theTolerancedShapeAspect,
|
const StepDimTol_GeometricToleranceTarget &theTolerancedShapeAspect,
|
||||||
const Handle(StepDimTol_HArray1OfGeometricToleranceModifier) &theModifiers,
|
const Handle(StepDimTol_HArray1OfGeometricToleranceModifier) &theModifiers,
|
||||||
const Handle(StepBasic_LengthMeasureWithUnit) &theMaximumUpperTolerance)
|
const Handle(StepBasic_LengthMeasureWithUnit) &theMaximumUpperTolerance)
|
||||||
|
@ -22,7 +22,6 @@
|
|||||||
#include <StepDimTol_GeometricToleranceWithModifiers.hxx>
|
#include <StepDimTol_GeometricToleranceWithModifiers.hxx>
|
||||||
|
|
||||||
class TCollection_HAsciiString;
|
class TCollection_HAsciiString;
|
||||||
class StepBasic_MeasureWithUnit;
|
|
||||||
class StepDimTol_GeometricToleranceTarget;
|
class StepDimTol_GeometricToleranceTarget;
|
||||||
class StepDimTol_HArray1OfGeometricToleranceModifier;
|
class StepDimTol_HArray1OfGeometricToleranceModifier;
|
||||||
|
|
||||||
@ -38,7 +37,12 @@ public:
|
|||||||
Standard_EXPORT StepDimTol_GeometricToleranceWithMaximumTolerance();
|
Standard_EXPORT StepDimTol_GeometricToleranceWithMaximumTolerance();
|
||||||
|
|
||||||
//! Initialize all fields (own and inherited)
|
//! Initialize all fields (own and inherited)
|
||||||
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName, const Handle(TCollection_HAsciiString)& theDescription, const Handle(StepBasic_MeasureWithUnit)& theMagnitude, const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect, const Handle(StepDimTol_HArray1OfGeometricToleranceModifier)& theModifiers, const Handle(StepBasic_LengthMeasureWithUnit)& theUnitSize) ;
|
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName,
|
||||||
|
const Handle(TCollection_HAsciiString)& theDescription,
|
||||||
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
|
const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect,
|
||||||
|
const Handle(StepDimTol_HArray1OfGeometricToleranceModifier)& theModifiers,
|
||||||
|
const Handle(StepBasic_LengthMeasureWithUnit)& theUnitSize) ;
|
||||||
|
|
||||||
//! Returns field MaximumUpperTolerance
|
//! Returns field MaximumUpperTolerance
|
||||||
inline Handle(StepBasic_LengthMeasureWithUnit) MaximumUpperTolerance () const
|
inline Handle(StepBasic_LengthMeasureWithUnit) MaximumUpperTolerance () const
|
||||||
|
@ -36,7 +36,7 @@ StepDimTol_GeometricToleranceWithModifiers::StepDimTol_GeometricToleranceWithMod
|
|||||||
|
|
||||||
void StepDimTol_GeometricToleranceWithModifiers::Init (const Handle(TCollection_HAsciiString) &theName,
|
void StepDimTol_GeometricToleranceWithModifiers::Init (const Handle(TCollection_HAsciiString) &theName,
|
||||||
const Handle(TCollection_HAsciiString) &theDescription,
|
const Handle(TCollection_HAsciiString) &theDescription,
|
||||||
const Handle(StepBasic_MeasureWithUnit) &theMagnitude,
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
const StepDimTol_GeometricToleranceTarget &theTolerancedShapeAspect,
|
const StepDimTol_GeometricToleranceTarget &theTolerancedShapeAspect,
|
||||||
const Handle(StepDimTol_HArray1OfGeometricToleranceModifier) &theModifiers)
|
const Handle(StepDimTol_HArray1OfGeometricToleranceModifier) &theModifiers)
|
||||||
{
|
{
|
||||||
|
@ -23,7 +23,6 @@
|
|||||||
#include <StepDimTol_HArray1OfGeometricToleranceModifier.hxx>
|
#include <StepDimTol_HArray1OfGeometricToleranceModifier.hxx>
|
||||||
|
|
||||||
class TCollection_HAsciiString;
|
class TCollection_HAsciiString;
|
||||||
class StepBasic_MeasureWithUnit;
|
|
||||||
class StepDimTol_GeometricToleranceTarget;
|
class StepDimTol_GeometricToleranceTarget;
|
||||||
|
|
||||||
class StepDimTol_GeometricToleranceWithModifiers;
|
class StepDimTol_GeometricToleranceWithModifiers;
|
||||||
@ -40,7 +39,7 @@ public:
|
|||||||
//! Initialize all fields (own and inherited)
|
//! Initialize all fields (own and inherited)
|
||||||
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName,
|
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName,
|
||||||
const Handle(TCollection_HAsciiString)& theDescription,
|
const Handle(TCollection_HAsciiString)& theDescription,
|
||||||
const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect,
|
const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect,
|
||||||
const Handle(StepDimTol_HArray1OfGeometricToleranceModifier)& theModifiers) ;
|
const Handle(StepDimTol_HArray1OfGeometricToleranceModifier)& theModifiers) ;
|
||||||
|
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
|
|
||||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2
|
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2
|
||||||
|
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepDimTol_ModifiedGeometricTolerance.hxx>
|
#include <StepDimTol_ModifiedGeometricTolerance.hxx>
|
||||||
#include <StepDimTol_GeometricToleranceTarget.hxx>
|
#include <StepDimTol_GeometricToleranceTarget.hxx>
|
||||||
#include <StepRepr_ShapeAspect.hxx>
|
#include <StepRepr_ShapeAspect.hxx>
|
||||||
@ -38,7 +37,7 @@ StepDimTol_ModifiedGeometricTolerance::StepDimTol_ModifiedGeometricTolerance ()
|
|||||||
|
|
||||||
void StepDimTol_ModifiedGeometricTolerance::Init (const Handle(TCollection_HAsciiString) &theGeometricTolerance_Name,
|
void StepDimTol_ModifiedGeometricTolerance::Init (const Handle(TCollection_HAsciiString) &theGeometricTolerance_Name,
|
||||||
const Handle(TCollection_HAsciiString) &theGeometricTolerance_Description,
|
const Handle(TCollection_HAsciiString) &theGeometricTolerance_Description,
|
||||||
const Handle(StepBasic_MeasureWithUnit) &theGeometricTolerance_Magnitude,
|
const Handle(Standard_Transient)& theGeometricTolerance_Magnitude,
|
||||||
const Handle(StepRepr_ShapeAspect) &theGeometricTolerance_TolerancedShapeAspect,
|
const Handle(StepRepr_ShapeAspect) &theGeometricTolerance_TolerancedShapeAspect,
|
||||||
const StepDimTol_LimitCondition theModifier)
|
const StepDimTol_LimitCondition theModifier)
|
||||||
{
|
{
|
||||||
@ -57,7 +56,7 @@ void StepDimTol_ModifiedGeometricTolerance::Init (const Handle(TCollection_HAsci
|
|||||||
|
|
||||||
void StepDimTol_ModifiedGeometricTolerance::Init (const Handle(TCollection_HAsciiString) &theGeometricTolerance_Name,
|
void StepDimTol_ModifiedGeometricTolerance::Init (const Handle(TCollection_HAsciiString) &theGeometricTolerance_Name,
|
||||||
const Handle(TCollection_HAsciiString) &theGeometricTolerance_Description,
|
const Handle(TCollection_HAsciiString) &theGeometricTolerance_Description,
|
||||||
const Handle(StepBasic_MeasureWithUnit) &theGeometricTolerance_Magnitude,
|
const Handle(Standard_Transient)& theGeometricTolerance_Magnitude,
|
||||||
const StepDimTol_GeometricToleranceTarget &theGeometricTolerance_TolerancedShapeAspect,
|
const StepDimTol_GeometricToleranceTarget &theGeometricTolerance_TolerancedShapeAspect,
|
||||||
const StepDimTol_LimitCondition theModifier)
|
const StepDimTol_LimitCondition theModifier)
|
||||||
{
|
{
|
||||||
|
@ -22,7 +22,6 @@
|
|||||||
#include <StepDimTol_LimitCondition.hxx>
|
#include <StepDimTol_LimitCondition.hxx>
|
||||||
#include <StepDimTol_GeometricTolerance.hxx>
|
#include <StepDimTol_GeometricTolerance.hxx>
|
||||||
class TCollection_HAsciiString;
|
class TCollection_HAsciiString;
|
||||||
class StepBasic_MeasureWithUnit;
|
|
||||||
class StepDimTol_GeometricToleranceTarget;
|
class StepDimTol_GeometricToleranceTarget;
|
||||||
class StepRepr_ShapeAspect;
|
class StepRepr_ShapeAspect;
|
||||||
|
|
||||||
@ -43,14 +42,14 @@ public:
|
|||||||
//! Initialize all fields (own and inherited) AP214
|
//! Initialize all fields (own and inherited) AP214
|
||||||
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theGeometricTolerance_Name,
|
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theGeometricTolerance_Name,
|
||||||
const Handle(TCollection_HAsciiString)& theGeometricTolerance_Description,
|
const Handle(TCollection_HAsciiString)& theGeometricTolerance_Description,
|
||||||
const Handle(StepBasic_MeasureWithUnit)& theGeometricTolerance_Magnitude,
|
const Handle(Standard_Transient)& theGeometricTolerance_Magnitude,
|
||||||
const Handle(StepRepr_ShapeAspect)& theGeometricTolerance_TolerancedShapeAspect,
|
const Handle(StepRepr_ShapeAspect)& theGeometricTolerance_TolerancedShapeAspect,
|
||||||
const StepDimTol_LimitCondition theModifier);
|
const StepDimTol_LimitCondition theModifier);
|
||||||
|
|
||||||
//! Initialize all fields (own and inherited) AP242
|
//! Initialize all fields (own and inherited) AP242
|
||||||
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theGeometricTolerance_Name,
|
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theGeometricTolerance_Name,
|
||||||
const Handle(TCollection_HAsciiString)& theGeometricTolerance_Description,
|
const Handle(TCollection_HAsciiString)& theGeometricTolerance_Description,
|
||||||
const Handle(StepBasic_MeasureWithUnit)& theGeometricTolerance_Magnitude,
|
const Handle(Standard_Transient)& theGeometricTolerance_Magnitude,
|
||||||
const StepDimTol_GeometricToleranceTarget& theGeometricTolerance_TolerancedShapeAspect,
|
const StepDimTol_GeometricToleranceTarget& theGeometricTolerance_TolerancedShapeAspect,
|
||||||
const StepDimTol_LimitCondition theModifier);
|
const StepDimTol_LimitCondition theModifier);
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ StepDimTol_UnequallyDisposedGeometricTolerance::StepDimTol_UnequallyDisposedGeom
|
|||||||
|
|
||||||
void StepDimTol_UnequallyDisposedGeometricTolerance::Init (const Handle(TCollection_HAsciiString) &theName,
|
void StepDimTol_UnequallyDisposedGeometricTolerance::Init (const Handle(TCollection_HAsciiString) &theName,
|
||||||
const Handle(TCollection_HAsciiString) &theDescription,
|
const Handle(TCollection_HAsciiString) &theDescription,
|
||||||
const Handle(StepBasic_MeasureWithUnit) &theMagnitude,
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
const StepDimTol_GeometricToleranceTarget &theTolerancedShapeAspect,
|
const StepDimTol_GeometricToleranceTarget &theTolerancedShapeAspect,
|
||||||
const Handle(StepBasic_LengthMeasureWithUnit) &theDisplacement)
|
const Handle(StepBasic_LengthMeasureWithUnit) &theDisplacement)
|
||||||
{
|
{
|
||||||
|
@ -22,7 +22,6 @@
|
|||||||
#include <StepDimTol_GeometricTolerance.hxx>
|
#include <StepDimTol_GeometricTolerance.hxx>
|
||||||
|
|
||||||
class TCollection_HAsciiString;
|
class TCollection_HAsciiString;
|
||||||
class StepBasic_MeasureWithUnit;
|
|
||||||
class StepDimTol_GeometricToleranceTarget;
|
class StepDimTol_GeometricToleranceTarget;
|
||||||
|
|
||||||
class StepDimTol_UnequallyDisposedGeometricTolerance;
|
class StepDimTol_UnequallyDisposedGeometricTolerance;
|
||||||
@ -37,7 +36,11 @@ public:
|
|||||||
Standard_EXPORT StepDimTol_UnequallyDisposedGeometricTolerance();
|
Standard_EXPORT StepDimTol_UnequallyDisposedGeometricTolerance();
|
||||||
|
|
||||||
//! Initialize all fields (own and inherited)
|
//! Initialize all fields (own and inherited)
|
||||||
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName, const Handle(TCollection_HAsciiString)& theDescription, const Handle(StepBasic_MeasureWithUnit)& theMagnitude, const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect, const Handle(StepBasic_LengthMeasureWithUnit)& theDisplacement) ;
|
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName,
|
||||||
|
const Handle(TCollection_HAsciiString)& theDescription,
|
||||||
|
const Handle(Standard_Transient)& theMagnitude,
|
||||||
|
const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect,
|
||||||
|
const Handle(StepBasic_LengthMeasureWithUnit)& theDisplacement) ;
|
||||||
|
|
||||||
//! Returns field Displacement
|
//! Returns field Displacement
|
||||||
inline Handle(StepBasic_LengthMeasureWithUnit) Displacement () const
|
inline Handle(StepBasic_LengthMeasureWithUnit) Displacement () const
|
||||||
|
@ -35,28 +35,28 @@ StepRepr_MakeFromUsageOption::StepRepr_MakeFromUsageOption ()
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
void StepRepr_MakeFromUsageOption::Init (const Handle(TCollection_HAsciiString) &aProductDefinitionRelationship_Id,
|
void StepRepr_MakeFromUsageOption::Init (const Handle(TCollection_HAsciiString)& theProductDefinitionRelationship_Id,
|
||||||
const Handle(TCollection_HAsciiString) &aProductDefinitionRelationship_Name,
|
const Handle(TCollection_HAsciiString)& theProductDefinitionRelationship_Name,
|
||||||
const Standard_Boolean hasProductDefinitionRelationship_Description,
|
const Standard_Boolean hasProductDefinitionRelationship_Description,
|
||||||
const Handle(TCollection_HAsciiString) &aProductDefinitionRelationship_Description,
|
const Handle(TCollection_HAsciiString)& theProductDefinitionRelationship_Description,
|
||||||
const Handle(StepBasic_ProductDefinition) &aProductDefinitionRelationship_RelatingProductDefinition,
|
const Handle(StepBasic_ProductDefinition)& theProductDefinitionRelationship_RelatingProductDefinition,
|
||||||
const Handle(StepBasic_ProductDefinition) &aProductDefinitionRelationship_RelatedProductDefinition,
|
const Handle(StepBasic_ProductDefinition)& theProductDefinitionRelationship_RelatedProductDefinition,
|
||||||
const Standard_Integer aRanking,
|
const Standard_Integer theRanking,
|
||||||
const Handle(TCollection_HAsciiString) &aRankingRationale,
|
const Handle(TCollection_HAsciiString)& theRankingRationale,
|
||||||
const Handle(StepBasic_MeasureWithUnit) &aQuantity)
|
const Handle(Standard_Transient)& theQuantity)
|
||||||
{
|
{
|
||||||
StepRepr_ProductDefinitionUsage::Init(aProductDefinitionRelationship_Id,
|
StepRepr_ProductDefinitionUsage::Init(theProductDefinitionRelationship_Id,
|
||||||
aProductDefinitionRelationship_Name,
|
theProductDefinitionRelationship_Name,
|
||||||
hasProductDefinitionRelationship_Description,
|
hasProductDefinitionRelationship_Description,
|
||||||
aProductDefinitionRelationship_Description,
|
theProductDefinitionRelationship_Description,
|
||||||
aProductDefinitionRelationship_RelatingProductDefinition,
|
theProductDefinitionRelationship_RelatingProductDefinition,
|
||||||
aProductDefinitionRelationship_RelatedProductDefinition);
|
theProductDefinitionRelationship_RelatedProductDefinition);
|
||||||
|
|
||||||
theRanking = aRanking;
|
myRanking = theRanking;
|
||||||
|
|
||||||
theRankingRationale = aRankingRationale;
|
myRankingRationale = theRankingRationale;
|
||||||
|
|
||||||
theQuantity = aQuantity;
|
myQuantity = theQuantity;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
@ -64,28 +64,28 @@ void StepRepr_MakeFromUsageOption::Init (const Handle(TCollection_HAsciiString)
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
void StepRepr_MakeFromUsageOption::Init (const Handle(TCollection_HAsciiString) &aProductDefinitionRelationship_Id,
|
void StepRepr_MakeFromUsageOption::Init (const Handle(TCollection_HAsciiString)& theProductDefinitionRelationship_Id,
|
||||||
const Handle(TCollection_HAsciiString) &aProductDefinitionRelationship_Name,
|
const Handle(TCollection_HAsciiString)& theProductDefinitionRelationship_Name,
|
||||||
const Standard_Boolean hasProductDefinitionRelationship_Description,
|
const Standard_Boolean hasProductDefinitionRelationship_Description,
|
||||||
const Handle(TCollection_HAsciiString) &aProductDefinitionRelationship_Description,
|
const Handle(TCollection_HAsciiString)& theProductDefinitionRelationship_Description,
|
||||||
const StepBasic_ProductDefinitionOrReference &aProductDefinitionRelationship_RelatingProductDefinition,
|
const StepBasic_ProductDefinitionOrReference& theProductDefinitionRelationship_RelatingProductDefinition,
|
||||||
const StepBasic_ProductDefinitionOrReference &aProductDefinitionRelationship_RelatedProductDefinition,
|
const StepBasic_ProductDefinitionOrReference& theProductDefinitionRelationship_RelatedProductDefinition,
|
||||||
const Standard_Integer aRanking,
|
const Standard_Integer theRanking,
|
||||||
const Handle(TCollection_HAsciiString) &aRankingRationale,
|
const Handle(TCollection_HAsciiString)& theRankingRationale,
|
||||||
const Handle(StepBasic_MeasureWithUnit) &aQuantity)
|
const Handle(Standard_Transient)& theQuantity)
|
||||||
{
|
{
|
||||||
StepRepr_ProductDefinitionUsage::Init(aProductDefinitionRelationship_Id,
|
StepRepr_ProductDefinitionUsage::Init(theProductDefinitionRelationship_Id,
|
||||||
aProductDefinitionRelationship_Name,
|
theProductDefinitionRelationship_Name,
|
||||||
hasProductDefinitionRelationship_Description,
|
hasProductDefinitionRelationship_Description,
|
||||||
aProductDefinitionRelationship_Description,
|
theProductDefinitionRelationship_Description,
|
||||||
aProductDefinitionRelationship_RelatingProductDefinition,
|
theProductDefinitionRelationship_RelatingProductDefinition,
|
||||||
aProductDefinitionRelationship_RelatedProductDefinition);
|
theProductDefinitionRelationship_RelatedProductDefinition);
|
||||||
|
|
||||||
theRanking = aRanking;
|
myRanking = theRanking;
|
||||||
|
|
||||||
theRankingRationale = aRankingRationale;
|
myRankingRationale = theRankingRationale;
|
||||||
|
|
||||||
theQuantity = aQuantity;
|
myQuantity = theQuantity;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
@ -95,7 +95,7 @@ void StepRepr_MakeFromUsageOption::Init (const Handle(TCollection_HAsciiString)
|
|||||||
|
|
||||||
Standard_Integer StepRepr_MakeFromUsageOption::Ranking () const
|
Standard_Integer StepRepr_MakeFromUsageOption::Ranking () const
|
||||||
{
|
{
|
||||||
return theRanking;
|
return myRanking;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
@ -103,9 +103,9 @@ Standard_Integer StepRepr_MakeFromUsageOption::Ranking () const
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
void StepRepr_MakeFromUsageOption::SetRanking (const Standard_Integer aRanking)
|
void StepRepr_MakeFromUsageOption::SetRanking (const Standard_Integer theRanking)
|
||||||
{
|
{
|
||||||
theRanking = aRanking;
|
myRanking = theRanking;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
@ -115,7 +115,7 @@ void StepRepr_MakeFromUsageOption::SetRanking (const Standard_Integer aRanking)
|
|||||||
|
|
||||||
Handle(TCollection_HAsciiString) StepRepr_MakeFromUsageOption::RankingRationale () const
|
Handle(TCollection_HAsciiString) StepRepr_MakeFromUsageOption::RankingRationale () const
|
||||||
{
|
{
|
||||||
return theRankingRationale;
|
return myRankingRationale;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
@ -123,9 +123,9 @@ Handle(TCollection_HAsciiString) StepRepr_MakeFromUsageOption::RankingRationale
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
void StepRepr_MakeFromUsageOption::SetRankingRationale (const Handle(TCollection_HAsciiString) &aRankingRationale)
|
void StepRepr_MakeFromUsageOption::SetRankingRationale (const Handle(TCollection_HAsciiString)& theRankingRationale)
|
||||||
{
|
{
|
||||||
theRankingRationale = aRankingRationale;
|
myRankingRationale = theRankingRationale;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
@ -133,9 +133,9 @@ void StepRepr_MakeFromUsageOption::SetRankingRationale (const Handle(TCollection
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
Handle(StepBasic_MeasureWithUnit) StepRepr_MakeFromUsageOption::Quantity () const
|
Handle(Standard_Transient) StepRepr_MakeFromUsageOption::Quantity () const
|
||||||
{
|
{
|
||||||
return theQuantity;
|
return myQuantity;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
@ -143,7 +143,7 @@ Handle(StepBasic_MeasureWithUnit) StepRepr_MakeFromUsageOption::Quantity () cons
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
void StepRepr_MakeFromUsageOption::SetQuantity (const Handle(StepBasic_MeasureWithUnit) &aQuantity)
|
void StepRepr_MakeFromUsageOption::SetQuantity (const Handle(Standard_Transient)& theQuantity)
|
||||||
{
|
{
|
||||||
theQuantity = aQuantity;
|
myQuantity = theQuantity;
|
||||||
}
|
}
|
||||||
|
@ -22,7 +22,6 @@
|
|||||||
#include <Standard_Integer.hxx>
|
#include <Standard_Integer.hxx>
|
||||||
#include <StepRepr_ProductDefinitionUsage.hxx>
|
#include <StepRepr_ProductDefinitionUsage.hxx>
|
||||||
class TCollection_HAsciiString;
|
class TCollection_HAsciiString;
|
||||||
class StepBasic_MeasureWithUnit;
|
|
||||||
class StepBasic_ProductDefinition;
|
class StepBasic_ProductDefinition;
|
||||||
|
|
||||||
|
|
||||||
@ -40,28 +39,44 @@ public:
|
|||||||
Standard_EXPORT StepRepr_MakeFromUsageOption();
|
Standard_EXPORT StepRepr_MakeFromUsageOption();
|
||||||
|
|
||||||
//! Initialize all fields (own and inherited)
|
//! Initialize all fields (own and inherited)
|
||||||
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aProductDefinitionRelationship_Id, const Handle(TCollection_HAsciiString)& aProductDefinitionRelationship_Name, const Standard_Boolean hasProductDefinitionRelationship_Description, const Handle(TCollection_HAsciiString)& aProductDefinitionRelationship_Description, const Handle(StepBasic_ProductDefinition)& aProductDefinitionRelationship_RelatingProductDefinition, const Handle(StepBasic_ProductDefinition)& aProductDefinitionRelationship_RelatedProductDefinition, const Standard_Integer aRanking, const Handle(TCollection_HAsciiString)& aRankingRationale, const Handle(StepBasic_MeasureWithUnit)& aQuantity);
|
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theProductDefinitionRelationship_Id,
|
||||||
|
const Handle(TCollection_HAsciiString)& theProductDefinitionRelationship_Name,
|
||||||
|
const Standard_Boolean hasProductDefinitionRelationship_Description,
|
||||||
|
const Handle(TCollection_HAsciiString)& theProductDefinitionRelationship_Description,
|
||||||
|
const Handle(StepBasic_ProductDefinition)& theProductDefinitionRelationship_RelatingProductDefinition,
|
||||||
|
const Handle(StepBasic_ProductDefinition)& theProductDefinitionRelationship_RelatedProductDefinition,
|
||||||
|
const Standard_Integer theRanking,
|
||||||
|
const Handle(TCollection_HAsciiString)& theRankingRationale,
|
||||||
|
const Handle(Standard_Transient)& theQuantity);
|
||||||
|
|
||||||
//! Initialize all fields (own and inherited)
|
//! Initialize all fields (own and inherited)
|
||||||
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aProductDefinitionRelationship_Id, const Handle(TCollection_HAsciiString)& aProductDefinitionRelationship_Name, const Standard_Boolean hasProductDefinitionRelationship_Description, const Handle(TCollection_HAsciiString)& aProductDefinitionRelationship_Description, const StepBasic_ProductDefinitionOrReference& aProductDefinitionRelationship_RelatingProductDefinition, const StepBasic_ProductDefinitionOrReference& aProductDefinitionRelationship_RelatedProductDefinition, const Standard_Integer aRanking, const Handle(TCollection_HAsciiString)& aRankingRationale, const Handle(StepBasic_MeasureWithUnit)& aQuantity);
|
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theProductDefinitionRelationship_Id,
|
||||||
|
const Handle(TCollection_HAsciiString)& theProductDefinitionRelationship_Name,
|
||||||
|
const Standard_Boolean hasProductDefinitionRelationship_Description,
|
||||||
|
const Handle(TCollection_HAsciiString)& theProductDefinitionRelationship_Description,
|
||||||
|
const StepBasic_ProductDefinitionOrReference& theProductDefinitionRelationship_RelatingProductDefinition,
|
||||||
|
const StepBasic_ProductDefinitionOrReference& theProductDefinitionRelationship_RelatedProductDefinition,
|
||||||
|
const Standard_Integer theRanking,
|
||||||
|
const Handle(TCollection_HAsciiString)& theRankingRationale,
|
||||||
|
const Handle(Standard_Transient)& theQuantity);
|
||||||
|
|
||||||
//! Returns field Ranking
|
//! Returns field Ranking
|
||||||
Standard_EXPORT Standard_Integer Ranking() const;
|
Standard_EXPORT Standard_Integer Ranking() const;
|
||||||
|
|
||||||
//! Set field Ranking
|
//! Set field Ranking
|
||||||
Standard_EXPORT void SetRanking (const Standard_Integer Ranking);
|
Standard_EXPORT void SetRanking (const Standard_Integer theRanking);
|
||||||
|
|
||||||
//! Returns field RankingRationale
|
//! Returns field RankingRationale
|
||||||
Standard_EXPORT Handle(TCollection_HAsciiString) RankingRationale() const;
|
Standard_EXPORT Handle(TCollection_HAsciiString) RankingRationale() const;
|
||||||
|
|
||||||
//! Set field RankingRationale
|
//! Set field RankingRationale
|
||||||
Standard_EXPORT void SetRankingRationale (const Handle(TCollection_HAsciiString)& RankingRationale);
|
Standard_EXPORT void SetRankingRationale (const Handle(TCollection_HAsciiString)& theRankingRationale);
|
||||||
|
|
||||||
//! Returns field Quantity
|
//! Returns field Quantity
|
||||||
Standard_EXPORT Handle(StepBasic_MeasureWithUnit) Quantity() const;
|
Standard_EXPORT Handle(Standard_Transient) Quantity() const;
|
||||||
|
|
||||||
//! Set field Quantity
|
//! Set field Quantity
|
||||||
Standard_EXPORT void SetQuantity (const Handle(StepBasic_MeasureWithUnit)& Quantity);
|
Standard_EXPORT void SetQuantity (const Handle(Standard_Transient)& theQuantity);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -76,9 +91,9 @@ protected:
|
|||||||
private:
|
private:
|
||||||
|
|
||||||
|
|
||||||
Standard_Integer theRanking;
|
Standard_Integer myRanking;
|
||||||
Handle(TCollection_HAsciiString) theRankingRationale;
|
Handle(TCollection_HAsciiString) myRankingRationale;
|
||||||
Handle(StepBasic_MeasureWithUnit) theQuantity;
|
Handle(Standard_Transient) myQuantity;
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -24,17 +24,16 @@ StepRepr_ParallelOffset::StepRepr_ParallelOffset () { }
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
void StepRepr_ParallelOffset::Init(
|
void StepRepr_ParallelOffset::Init(const Handle(TCollection_HAsciiString)& theShapeAspect_Name,
|
||||||
const Handle(TCollection_HAsciiString)& theShapeAspect_Name,
|
const Handle(TCollection_HAsciiString)& theShapeAspect_Description,
|
||||||
const Handle(TCollection_HAsciiString)& theShapeAspect_Description,
|
const Handle(StepRepr_ProductDefinitionShape)& theShapeAspect_OfShape,
|
||||||
const Handle(StepRepr_ProductDefinitionShape)& theShapeAspect_OfShape,
|
const StepData_Logical theShapeAspect_ProductDefinitional,
|
||||||
const StepData_Logical theShapeAspect_ProductDefinitional,
|
const Handle(Standard_Transient)& theOffset)
|
||||||
const Handle(StepBasic_MeasureWithUnit) &theOffset)
|
|
||||||
{
|
{
|
||||||
StepRepr_ShapeAspect::Init(theShapeAspect_Name,
|
StepRepr_ShapeAspect::Init(theShapeAspect_Name,
|
||||||
theShapeAspect_Description,
|
theShapeAspect_Description,
|
||||||
theShapeAspect_OfShape,
|
theShapeAspect_OfShape,
|
||||||
theShapeAspect_ProductDefinitional);
|
theShapeAspect_ProductDefinitional);
|
||||||
|
|
||||||
offset = theOffset;
|
myOffset = theOffset;
|
||||||
}
|
}
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
#include <StepRepr_DerivedShapeAspect.hxx>
|
#include <StepRepr_DerivedShapeAspect.hxx>
|
||||||
#include <StepData_Logical.hxx>
|
#include <StepData_Logical.hxx>
|
||||||
class StepBasic_MeasureWithUnit;
|
|
||||||
class TCollection_HAsciiString;
|
class TCollection_HAsciiString;
|
||||||
class StepRepr_ProductDefinitionShape;
|
class StepRepr_ProductDefinitionShape;
|
||||||
|
|
||||||
@ -36,23 +36,27 @@ public:
|
|||||||
Standard_EXPORT StepRepr_ParallelOffset();
|
Standard_EXPORT StepRepr_ParallelOffset();
|
||||||
|
|
||||||
//! Initialize all fields (own and inherited)
|
//! 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) ;
|
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(Standard_Transient)& theOffset) ;
|
||||||
|
|
||||||
//! Returns field Offset
|
//! Returns field Offset
|
||||||
inline Handle(StepBasic_MeasureWithUnit) Offset () const
|
inline Handle(Standard_Transient) Offset () const
|
||||||
{
|
{
|
||||||
return offset;
|
return myOffset;
|
||||||
}
|
}
|
||||||
|
|
||||||
//! Set field Offset
|
//! Set field Offset
|
||||||
inline void SetOffset (const Handle(StepBasic_MeasureWithUnit)& theOffset)
|
inline void SetOffset (const Handle(Standard_Transient)& theOffset)
|
||||||
{
|
{
|
||||||
offset = theOffset;
|
myOffset = theOffset;
|
||||||
}
|
}
|
||||||
|
|
||||||
DEFINE_STANDARD_RTTIEXT(StepRepr_ParallelOffset,StepRepr_DerivedShapeAspect)
|
DEFINE_STANDARD_RTTIEXT(StepRepr_ParallelOffset,StepRepr_DerivedShapeAspect)
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Handle(StepBasic_MeasureWithUnit) offset;
|
Handle(Standard_Transient) myOffset;
|
||||||
};
|
};
|
||||||
#endif // _StepRepr_ParallelOffset_HeaderFile
|
#endif // _StepRepr_ParallelOffset_HeaderFile
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
|
|
||||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
|
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
|
||||||
|
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepBasic_ProductDefinition.hxx>
|
#include <StepBasic_ProductDefinition.hxx>
|
||||||
#include <StepRepr_QuantifiedAssemblyComponentUsage.hxx>
|
#include <StepRepr_QuantifiedAssemblyComponentUsage.hxx>
|
||||||
#include <TCollection_HAsciiString.hxx>
|
#include <TCollection_HAsciiString.hxx>
|
||||||
@ -35,26 +34,26 @@ StepRepr_QuantifiedAssemblyComponentUsage::StepRepr_QuantifiedAssemblyComponentU
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
void StepRepr_QuantifiedAssemblyComponentUsage::Init (const Handle(TCollection_HAsciiString) &aProductDefinitionRelationship_Id,
|
void StepRepr_QuantifiedAssemblyComponentUsage::Init (const Handle(TCollection_HAsciiString)& theProductDefinitionRelationship_Id,
|
||||||
const Handle(TCollection_HAsciiString) &aProductDefinitionRelationship_Name,
|
const Handle(TCollection_HAsciiString)& theProductDefinitionRelationship_Name,
|
||||||
const Standard_Boolean hasProductDefinitionRelationship_Description,
|
const Standard_Boolean hasProductDefinitionRelationship_Description,
|
||||||
const Handle(TCollection_HAsciiString) &aProductDefinitionRelationship_Description,
|
const Handle(TCollection_HAsciiString)& theProductDefinitionRelationship_Description,
|
||||||
const Handle(StepBasic_ProductDefinition) &aProductDefinitionRelationship_RelatingProductDefinition,
|
const Handle(StepBasic_ProductDefinition)& theProductDefinitionRelationship_RelatingProductDefinition,
|
||||||
const Handle(StepBasic_ProductDefinition) &aProductDefinitionRelationship_RelatedProductDefinition,
|
const Handle(StepBasic_ProductDefinition)& theProductDefinitionRelationship_RelatedProductDefinition,
|
||||||
const Standard_Boolean hasAssemblyComponentUsage_ReferenceDesignator,
|
const Standard_Boolean hasAssemblyComponentUsage_ReferenceDesignator,
|
||||||
const Handle(TCollection_HAsciiString) &aAssemblyComponentUsage_ReferenceDesignator,
|
const Handle(TCollection_HAsciiString)& theAssemblyComponentUsage_ReferenceDesignator,
|
||||||
const Handle(StepBasic_MeasureWithUnit) &aQuantity)
|
const Handle(Standard_Transient)& theQuantity)
|
||||||
{
|
{
|
||||||
StepRepr_AssemblyComponentUsage::Init(aProductDefinitionRelationship_Id,
|
StepRepr_AssemblyComponentUsage::Init(theProductDefinitionRelationship_Id,
|
||||||
aProductDefinitionRelationship_Name,
|
theProductDefinitionRelationship_Name,
|
||||||
hasProductDefinitionRelationship_Description,
|
hasProductDefinitionRelationship_Description,
|
||||||
aProductDefinitionRelationship_Description,
|
theProductDefinitionRelationship_Description,
|
||||||
aProductDefinitionRelationship_RelatingProductDefinition,
|
theProductDefinitionRelationship_RelatingProductDefinition,
|
||||||
aProductDefinitionRelationship_RelatedProductDefinition,
|
theProductDefinitionRelationship_RelatedProductDefinition,
|
||||||
hasAssemblyComponentUsage_ReferenceDesignator,
|
hasAssemblyComponentUsage_ReferenceDesignator,
|
||||||
aAssemblyComponentUsage_ReferenceDesignator);
|
theAssemblyComponentUsage_ReferenceDesignator);
|
||||||
|
|
||||||
theQuantity = aQuantity;
|
myQuantity = theQuantity;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
@ -62,26 +61,26 @@ void StepRepr_QuantifiedAssemblyComponentUsage::Init (const Handle(TCollection_H
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
void StepRepr_QuantifiedAssemblyComponentUsage::Init (const Handle(TCollection_HAsciiString) &aProductDefinitionRelationship_Id,
|
void StepRepr_QuantifiedAssemblyComponentUsage::Init (const Handle(TCollection_HAsciiString)& theProductDefinitionRelationship_Id,
|
||||||
const Handle(TCollection_HAsciiString) &aProductDefinitionRelationship_Name,
|
const Handle(TCollection_HAsciiString)& theProductDefinitionRelationship_Name,
|
||||||
const Standard_Boolean hasProductDefinitionRelationship_Description,
|
const Standard_Boolean hasProductDefinitionRelationship_Description,
|
||||||
const Handle(TCollection_HAsciiString) &aProductDefinitionRelationship_Description,
|
const Handle(TCollection_HAsciiString)& theProductDefinitionRelationship_Description,
|
||||||
const StepBasic_ProductDefinitionOrReference &aProductDefinitionRelationship_RelatingProductDefinition,
|
const StepBasic_ProductDefinitionOrReference& theProductDefinitionRelationship_RelatingProductDefinition,
|
||||||
const StepBasic_ProductDefinitionOrReference &aProductDefinitionRelationship_RelatedProductDefinition,
|
const StepBasic_ProductDefinitionOrReference& theProductDefinitionRelationship_RelatedProductDefinition,
|
||||||
const Standard_Boolean hasAssemblyComponentUsage_ReferenceDesignator,
|
const Standard_Boolean hasAssemblyComponentUsage_ReferenceDesignator,
|
||||||
const Handle(TCollection_HAsciiString) &aAssemblyComponentUsage_ReferenceDesignator,
|
const Handle(TCollection_HAsciiString)& theAssemblyComponentUsage_ReferenceDesignator,
|
||||||
const Handle(StepBasic_MeasureWithUnit) &aQuantity)
|
const Handle(Standard_Transient)& theQuantity)
|
||||||
{
|
{
|
||||||
StepRepr_AssemblyComponentUsage::Init(aProductDefinitionRelationship_Id,
|
StepRepr_AssemblyComponentUsage::Init(theProductDefinitionRelationship_Id,
|
||||||
aProductDefinitionRelationship_Name,
|
theProductDefinitionRelationship_Name,
|
||||||
hasProductDefinitionRelationship_Description,
|
hasProductDefinitionRelationship_Description,
|
||||||
aProductDefinitionRelationship_Description,
|
theProductDefinitionRelationship_Description,
|
||||||
aProductDefinitionRelationship_RelatingProductDefinition,
|
theProductDefinitionRelationship_RelatingProductDefinition,
|
||||||
aProductDefinitionRelationship_RelatedProductDefinition,
|
theProductDefinitionRelationship_RelatedProductDefinition,
|
||||||
hasAssemblyComponentUsage_ReferenceDesignator,
|
hasAssemblyComponentUsage_ReferenceDesignator,
|
||||||
aAssemblyComponentUsage_ReferenceDesignator);
|
theAssemblyComponentUsage_ReferenceDesignator);
|
||||||
|
|
||||||
theQuantity = aQuantity;
|
myQuantity = theQuantity;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
@ -89,9 +88,9 @@ void StepRepr_QuantifiedAssemblyComponentUsage::Init (const Handle(TCollection_H
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
Handle(StepBasic_MeasureWithUnit) StepRepr_QuantifiedAssemblyComponentUsage::Quantity () const
|
Handle(Standard_Transient) StepRepr_QuantifiedAssemblyComponentUsage::Quantity () const
|
||||||
{
|
{
|
||||||
return theQuantity;
|
return myQuantity;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
@ -99,7 +98,7 @@ Handle(StepBasic_MeasureWithUnit) StepRepr_QuantifiedAssemblyComponentUsage::Qua
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
void StepRepr_QuantifiedAssemblyComponentUsage::SetQuantity (const Handle(StepBasic_MeasureWithUnit) &aQuantity)
|
void StepRepr_QuantifiedAssemblyComponentUsage::SetQuantity (const Handle(Standard_Transient)& theQuantity)
|
||||||
{
|
{
|
||||||
theQuantity = aQuantity;
|
myQuantity = theQuantity;
|
||||||
}
|
}
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#include <Standard_Type.hxx>
|
#include <Standard_Type.hxx>
|
||||||
|
|
||||||
#include <StepRepr_AssemblyComponentUsage.hxx>
|
#include <StepRepr_AssemblyComponentUsage.hxx>
|
||||||
class StepBasic_MeasureWithUnit;
|
|
||||||
class TCollection_HAsciiString;
|
class TCollection_HAsciiString;
|
||||||
class StepBasic_ProductDefinition;
|
class StepBasic_ProductDefinition;
|
||||||
|
|
||||||
@ -39,16 +39,32 @@ public:
|
|||||||
Standard_EXPORT StepRepr_QuantifiedAssemblyComponentUsage();
|
Standard_EXPORT StepRepr_QuantifiedAssemblyComponentUsage();
|
||||||
|
|
||||||
//! Initialize all fields (own and inherited)
|
//! Initialize all fields (own and inherited)
|
||||||
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aProductDefinitionRelationship_Id, const Handle(TCollection_HAsciiString)& aProductDefinitionRelationship_Name, const Standard_Boolean hasProductDefinitionRelationship_Description, const Handle(TCollection_HAsciiString)& aProductDefinitionRelationship_Description, const Handle(StepBasic_ProductDefinition)& aProductDefinitionRelationship_RelatingProductDefinition, const Handle(StepBasic_ProductDefinition)& aProductDefinitionRelationship_RelatedProductDefinition, const Standard_Boolean hasAssemblyComponentUsage_ReferenceDesignator, const Handle(TCollection_HAsciiString)& aAssemblyComponentUsage_ReferenceDesignator, const Handle(StepBasic_MeasureWithUnit)& aQuantity);
|
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theProductDefinitionRelationship_Id,
|
||||||
|
const Handle(TCollection_HAsciiString)& theProductDefinitionRelationship_Name,
|
||||||
|
const Standard_Boolean hasProductDefinitionRelationship_Description,
|
||||||
|
const Handle(TCollection_HAsciiString)& theProductDefinitionRelationship_Description,
|
||||||
|
const Handle(StepBasic_ProductDefinition)& theProductDefinitionRelationship_RelatingProductDefinition,
|
||||||
|
const Handle(StepBasic_ProductDefinition)& theProductDefinitionRelationship_RelatedProductDefinition,
|
||||||
|
const Standard_Boolean hasAssemblyComponentUsage_ReferenceDesignator,
|
||||||
|
const Handle(TCollection_HAsciiString)& theAssemblyComponentUsage_ReferenceDesignator,
|
||||||
|
const Handle(Standard_Transient)& theQuantity);
|
||||||
|
|
||||||
//! Initialize all fields (own and inherited)
|
//! Initialize all fields (own and inherited)
|
||||||
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aProductDefinitionRelationship_Id, const Handle(TCollection_HAsciiString)& aProductDefinitionRelationship_Name, const Standard_Boolean hasProductDefinitionRelationship_Description, const Handle(TCollection_HAsciiString)& aProductDefinitionRelationship_Description, const StepBasic_ProductDefinitionOrReference& aProductDefinitionRelationship_RelatingProductDefinition, const StepBasic_ProductDefinitionOrReference& aProductDefinitionRelationship_RelatedProductDefinition, const Standard_Boolean hasAssemblyComponentUsage_ReferenceDesignator, const Handle(TCollection_HAsciiString)& aAssemblyComponentUsage_ReferenceDesignator, const Handle(StepBasic_MeasureWithUnit)& aQuantity);
|
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theProductDefinitionRelationship_Id,
|
||||||
|
const Handle(TCollection_HAsciiString)& theProductDefinitionRelationship_Name,
|
||||||
|
const Standard_Boolean hasProductDefinitionRelationship_Description,
|
||||||
|
const Handle(TCollection_HAsciiString)& theProductDefinitionRelationship_Description,
|
||||||
|
const StepBasic_ProductDefinitionOrReference& theProductDefinitionRelationship_RelatingProductDefinition,
|
||||||
|
const StepBasic_ProductDefinitionOrReference& theProductDefinitionRelationship_RelatedProductDefinition,
|
||||||
|
const Standard_Boolean hasAssemblyComponentUsage_ReferenceDesignator,
|
||||||
|
const Handle(TCollection_HAsciiString)& theAssemblyComponentUsage_ReferenceDesignator,
|
||||||
|
const Handle(Standard_Transient)& theQuantity);
|
||||||
|
|
||||||
//! Returns field Quantity
|
//! Returns field Quantity
|
||||||
Standard_EXPORT Handle(StepBasic_MeasureWithUnit) Quantity() const;
|
Standard_EXPORT Handle(Standard_Transient) Quantity() const;
|
||||||
|
|
||||||
//! Set field Quantity
|
//! Set field Quantity
|
||||||
Standard_EXPORT void SetQuantity (const Handle(StepBasic_MeasureWithUnit)& Quantity);
|
Standard_EXPORT void SetQuantity (const Handle(Standard_Transient)& theQuantity);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -63,7 +79,7 @@ protected:
|
|||||||
private:
|
private:
|
||||||
|
|
||||||
|
|
||||||
Handle(StepBasic_MeasureWithUnit) theQuantity;
|
Handle(Standard_Transient) myQuantity;
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -21,53 +21,68 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_MeasureQualification,Standard_Transient)
|
|||||||
|
|
||||||
StepShape_MeasureQualification::StepShape_MeasureQualification () { }
|
StepShape_MeasureQualification::StepShape_MeasureQualification () { }
|
||||||
|
|
||||||
void StepShape_MeasureQualification::Init
|
void StepShape_MeasureQualification::Init(const Handle(TCollection_HAsciiString)& theName,
|
||||||
(const Handle(TCollection_HAsciiString)& name,
|
const Handle(TCollection_HAsciiString)& theDescription,
|
||||||
const Handle(TCollection_HAsciiString)& description,
|
const Handle(Standard_Transient)& theQualifiedMeasure,
|
||||||
const Handle(StepBasic_MeasureWithUnit)& qualified_measure,
|
const Handle(StepShape_HArray1OfValueQualifier)& theQualifiers)
|
||||||
const Handle(StepShape_HArray1OfValueQualifier)& qualifiers)
|
|
||||||
{
|
{
|
||||||
theName = name;
|
myName = theName;
|
||||||
theDescription = description;
|
myDescription = theDescription;
|
||||||
theQualifiedMeasure = qualified_measure;
|
myQualifiedMeasure = theQualifiedMeasure;
|
||||||
theQualifiers = qualifiers;
|
myQualifiers = theQualifiers;
|
||||||
}
|
}
|
||||||
|
|
||||||
Handle(TCollection_HAsciiString) StepShape_MeasureQualification::Name () const
|
Handle(TCollection_HAsciiString) StepShape_MeasureQualification::Name () const
|
||||||
{ return theName; }
|
{
|
||||||
|
return myName;
|
||||||
|
}
|
||||||
|
|
||||||
void StepShape_MeasureQualification::SetName
|
void StepShape_MeasureQualification::SetName(const Handle(TCollection_HAsciiString)& theName)
|
||||||
(const Handle(TCollection_HAsciiString)& name)
|
{
|
||||||
{ theName = name; }
|
myName = theName;
|
||||||
|
}
|
||||||
|
|
||||||
Handle(TCollection_HAsciiString) StepShape_MeasureQualification::Description () const
|
Handle(TCollection_HAsciiString) StepShape_MeasureQualification::Description () const
|
||||||
{ return theDescription; }
|
{
|
||||||
|
return myDescription;
|
||||||
|
}
|
||||||
|
|
||||||
void StepShape_MeasureQualification::SetDescription
|
void StepShape_MeasureQualification::SetDescription(const Handle(TCollection_HAsciiString)& theDescription)
|
||||||
(const Handle(TCollection_HAsciiString)& description)
|
{
|
||||||
{ theDescription = description; }
|
myDescription = theDescription;
|
||||||
|
}
|
||||||
|
|
||||||
Handle(StepBasic_MeasureWithUnit) StepShape_MeasureQualification::QualifiedMeasure () const
|
Handle(Standard_Transient) StepShape_MeasureQualification::QualifiedMeasure () const
|
||||||
{ return theQualifiedMeasure; }
|
{
|
||||||
|
return myQualifiedMeasure;
|
||||||
|
}
|
||||||
|
|
||||||
void StepShape_MeasureQualification::SetQualifiedMeasure
|
void StepShape_MeasureQualification::SetQualifiedMeasure(const Handle(Standard_Transient)& theQualifiedMeasure)
|
||||||
(const Handle(StepBasic_MeasureWithUnit)& qualified_measure)
|
{
|
||||||
{ theQualifiedMeasure = qualified_measure; }
|
myQualifiedMeasure = theQualifiedMeasure;
|
||||||
|
}
|
||||||
|
|
||||||
Handle(StepShape_HArray1OfValueQualifier) StepShape_MeasureQualification::Qualifiers () const
|
Handle(StepShape_HArray1OfValueQualifier) StepShape_MeasureQualification::Qualifiers () const
|
||||||
{ return theQualifiers; }
|
{
|
||||||
|
return myQualifiers;
|
||||||
|
}
|
||||||
|
|
||||||
Standard_Integer StepShape_MeasureQualification::NbQualifiers () const
|
Standard_Integer StepShape_MeasureQualification::NbQualifiers () const
|
||||||
{ return theQualifiers->Length(); }
|
{
|
||||||
|
return myQualifiers->Length();
|
||||||
|
}
|
||||||
|
|
||||||
void StepShape_MeasureQualification::SetQualifiers
|
void StepShape_MeasureQualification::SetQualifiers(const Handle(StepShape_HArray1OfValueQualifier)& theQualifiers)
|
||||||
(const Handle(StepShape_HArray1OfValueQualifier)& qualifiers)
|
{
|
||||||
{ theQualifiers = qualifiers; }
|
myQualifiers = theQualifiers;
|
||||||
|
}
|
||||||
|
|
||||||
StepShape_ValueQualifier StepShape_MeasureQualification::QualifiersValue
|
StepShape_ValueQualifier StepShape_MeasureQualification::QualifiersValue(const Standard_Integer theNum) const
|
||||||
(const Standard_Integer num) const
|
{
|
||||||
{ return theQualifiers->Value(num); }
|
return myQualifiers->Value(theNum);
|
||||||
|
}
|
||||||
|
|
||||||
void StepShape_MeasureQualification::SetQualifiersValue
|
void StepShape_MeasureQualification::SetQualifiersValue(const Standard_Integer theNum, const StepShape_ValueQualifier& theQualifier)
|
||||||
(const Standard_Integer num, const StepShape_ValueQualifier& aqualifier)
|
{
|
||||||
{ theQualifiers->SetValue (num,aqualifier); }
|
myQualifiers->SetValue(theNum, theQualifier);
|
||||||
|
}
|
||||||
|
@ -23,7 +23,6 @@
|
|||||||
#include <Standard_Transient.hxx>
|
#include <Standard_Transient.hxx>
|
||||||
#include <Standard_Integer.hxx>
|
#include <Standard_Integer.hxx>
|
||||||
class TCollection_HAsciiString;
|
class TCollection_HAsciiString;
|
||||||
class StepBasic_MeasureWithUnit;
|
|
||||||
class StepShape_ValueQualifier;
|
class StepShape_ValueQualifier;
|
||||||
|
|
||||||
|
|
||||||
@ -39,29 +38,32 @@ public:
|
|||||||
|
|
||||||
Standard_EXPORT StepShape_MeasureQualification();
|
Standard_EXPORT StepShape_MeasureQualification();
|
||||||
|
|
||||||
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& name, const Handle(TCollection_HAsciiString)& description, const Handle(StepBasic_MeasureWithUnit)& qualified_measure, const Handle(StepShape_HArray1OfValueQualifier)& qualifiers);
|
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName,
|
||||||
|
const Handle(TCollection_HAsciiString)& theDescription,
|
||||||
|
const Handle(Standard_Transient)& theQualifiedMeasure,
|
||||||
|
const Handle(StepShape_HArray1OfValueQualifier)& theQualifiers);
|
||||||
|
|
||||||
Standard_EXPORT Handle(TCollection_HAsciiString) Name() const;
|
Standard_EXPORT Handle(TCollection_HAsciiString) Name() const;
|
||||||
|
|
||||||
Standard_EXPORT void SetName (const Handle(TCollection_HAsciiString)& name);
|
Standard_EXPORT void SetName (const Handle(TCollection_HAsciiString)& theName);
|
||||||
|
|
||||||
Standard_EXPORT Handle(TCollection_HAsciiString) Description() const;
|
Standard_EXPORT Handle(TCollection_HAsciiString) Description() const;
|
||||||
|
|
||||||
Standard_EXPORT void SetDescription (const Handle(TCollection_HAsciiString)& description);
|
Standard_EXPORT void SetDescription (const Handle(TCollection_HAsciiString)& theDescription);
|
||||||
|
|
||||||
Standard_EXPORT Handle(StepBasic_MeasureWithUnit) QualifiedMeasure() const;
|
Standard_EXPORT Handle(Standard_Transient) QualifiedMeasure() const;
|
||||||
|
|
||||||
Standard_EXPORT void SetQualifiedMeasure (const Handle(StepBasic_MeasureWithUnit)& qualified_measure);
|
Standard_EXPORT void SetQualifiedMeasure (const Handle(Standard_Transient)& theQualifiedMeasure);
|
||||||
|
|
||||||
Standard_EXPORT Handle(StepShape_HArray1OfValueQualifier) Qualifiers() const;
|
Standard_EXPORT Handle(StepShape_HArray1OfValueQualifier) Qualifiers() const;
|
||||||
|
|
||||||
Standard_EXPORT Standard_Integer NbQualifiers() const;
|
Standard_EXPORT Standard_Integer NbQualifiers() const;
|
||||||
|
|
||||||
Standard_EXPORT void SetQualifiers (const Handle(StepShape_HArray1OfValueQualifier)& qualifiers);
|
Standard_EXPORT void SetQualifiers (const Handle(StepShape_HArray1OfValueQualifier)& theQualifiers);
|
||||||
|
|
||||||
Standard_EXPORT StepShape_ValueQualifier QualifiersValue (const Standard_Integer num) const;
|
Standard_EXPORT StepShape_ValueQualifier QualifiersValue (const Standard_Integer theNum) const;
|
||||||
|
|
||||||
Standard_EXPORT void SetQualifiersValue (const Standard_Integer num, const StepShape_ValueQualifier& aqualifier);
|
Standard_EXPORT void SetQualifiersValue (const Standard_Integer theNum, const StepShape_ValueQualifier& theQualifier);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -76,10 +78,10 @@ protected:
|
|||||||
private:
|
private:
|
||||||
|
|
||||||
|
|
||||||
Handle(TCollection_HAsciiString) theName;
|
Handle(TCollection_HAsciiString) myName;
|
||||||
Handle(TCollection_HAsciiString) theDescription;
|
Handle(TCollection_HAsciiString) myDescription;
|
||||||
Handle(StepBasic_MeasureWithUnit) theQualifiedMeasure;
|
Handle(Standard_Transient) myQualifiedMeasure;
|
||||||
Handle(StepShape_HArray1OfValueQualifier) theQualifiers;
|
Handle(StepShape_HArray1OfValueQualifier) myQualifiers;
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -12,7 +12,6 @@
|
|||||||
// commercial license or contractual agreement.
|
// commercial license or contractual agreement.
|
||||||
|
|
||||||
|
|
||||||
#include <StepBasic_MeasureWithUnit.hxx>
|
|
||||||
#include <StepShape_ToleranceValue.hxx>
|
#include <StepShape_ToleranceValue.hxx>
|
||||||
|
|
||||||
IMPLEMENT_STANDARD_RTTIEXT(StepShape_ToleranceValue,Standard_Transient)
|
IMPLEMENT_STANDARD_RTTIEXT(StepShape_ToleranceValue,Standard_Transient)
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user