mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-13 19:04:10 +08:00
0026371: Implementation of new entities for GD&T
Implement entities: - DatumReferenceCompartment, - DatumReferenceElement, - DatumReferenceModifierWithValue, - DatumSystem, - GeneralDatumReference, - ValueFormatTypeQualifier, - NonUniformZoneDefinition, - ProjectedZoneDefinition, - RunoutZoneDefinition, - RunoutZoneOrientation, - ToleranceZone, - ToleranceZoneDefinition, - ToleranceZoneForm, - ToleranceZoneTarget, - GeometricToleranceWithDefinedAreaUnit, - GeometricToleranceWithDefinedUnit, - GeometricToleranceWithMaximumTolerance, - GeometricToleranceWithModifiers, - UnequallyDisposedGeometricTolerance, - GeometricItemSpecificUsage, - IdAttribute, - IdAttributeSelect, - ItemIdentifiedRepresentationUsage, - ItemIdentifiedRepresentationUsageDefinition, - Apex, - CentreOfSymmetry, - GeometricAlignment, - ParallelOffset, - PerpendicularTo, - Tangent, - AllAroundShapeAspect, - BetweenShapeAspect, - CompositeGroupShapeAspect, - ContinuosShapeAspect, - ReprItemAndLengthMeasureWithUnitAndQRI, - ReprItemAndPlaneAngleMeasureWithUnitAndQRI, - ReprItemAndPlaneAngleMeasureWithUnit, - CompGroupShAspAndCompShAspAndDatumFeatAndShAsp, - CompShAspAndDatumFeatAndShAsp, - GeoTolAndGeoTolWthDatRef, - GeoTolAndGeoTolWthDatRefAndGeoTolWthMod, - GeoTolAndGeoTolWthMod, - GeoTolAndGeoTolWthDatRefAndUneqDisGeoTol, - IntegerRepresentationItem, - ValueRepresentationItem. Modify entities: - GeometricTolerance, - GeometricToleranceWithDatumReference, - ShapeDimensionRepresentation. fix compilation error fix compilation warning
This commit is contained in:
@@ -59,6 +59,7 @@ Standard_CString StepBasic_MeasureValueMember::Name () const
|
||||
case 12 : return "VOLUME_MEASURE";
|
||||
case 13 : return "MASS_MEASURE";
|
||||
case 14 : return "THERMODYNAMIC_TEMPERATURE_MEASURE";
|
||||
case 15 : return "COUNT_MEASURE";
|
||||
default : break;
|
||||
}
|
||||
return "";
|
||||
@@ -80,7 +81,7 @@ Standard_Boolean StepBasic_MeasureValueMember::SetName (const Standard_CString
|
||||
else if (name[0] == 'S' && !strcmp (name,"SOLID_ANGLE_MEASURE")) thecase = 4;
|
||||
else if (name[2] == 'T' && !strcmp (name,"RATIO_MEASURE")) thecase = 5;
|
||||
else if (name[2] == 'R' && !strcmp (name,"PARAMETER_VALUE")) thecase = 6;
|
||||
else if (name[0] == 'C' && !strcmp (name,"CONTEXT_DEPENDANT_MEASURE")) thecase = 7;
|
||||
else if (name[3] == 'T' && !strcmp (name,"CONTEXT_DEPENDANT_MEASURE")) thecase = 7;
|
||||
else if (name[9] == 'L' && !strcmp (name,"POSITIVE_LENGTH_MEASURE")) thecase = 8;
|
||||
else if (name[9] == 'P' && !strcmp (name,"POSITIVE_PLANE_ANGLE_MEASURE")) thecase = 9;
|
||||
else if (name[9] == 'R' && !strcmp (name,"POSITIVE_RATIO_MEASURE")) thecase = 10;
|
||||
@@ -88,6 +89,7 @@ Standard_Boolean StepBasic_MeasureValueMember::SetName (const Standard_CString
|
||||
else if (name[0] == 'V' && !strcmp (name,"VOLUME_MEASURE")) thecase = 12;
|
||||
else if (name[0] == 'M' && !strcmp (name,"MASS_MEASURE")) thecase = 13;
|
||||
else if (name[1] == 'H' && !strcmp (name,"THERMODYNAMIC_TEMPERATURE_MEASURE")) thecase = 14;
|
||||
else if (name[2] == 'U' && !strcmp (name,"COUNT_MEASURE")) thecase = 15;
|
||||
else return Standard_False;
|
||||
|
||||
return Standard_True;
|
||||
|
||||
Reference in New Issue
Block a user