Add all missing values.
myModifierWithValue = theObj->myModifierWithValue;
myValueOfModifier = theObj->myValueOfModifier;
myDatumTarget = theObj->myDatumTarget;
+ myPosition = theObj->myPosition;
myIsDTarget = theObj->myIsDTarget;
myIsValidDT = theObj->myIsValidDT;
- myAxis = theObj->myAxis;
myDTargetType = theObj->myDTargetType;
+ myLength = theObj->myLength;
+ myWidth = theObj->myWidth;
+ myDatumTargetNumber = theObj->myDatumTargetNumber;
+ myAxis = theObj->myAxis;
myPlane = theObj->myPlane;
myPnt= theObj->myPnt;
myPntText= theObj->myPntText;
myHasPlane = theObj->myHasPlane;
myHasPnt = theObj->myHasPnt;
myHasPntText = theObj->myHasPntText;
+ myPresentation = theObj->myPresentation;
mySemanticName = theObj->mySemanticName;
+ myPresentationName = theObj->myPresentationName;
}
//=======================================================================
DEFINE_STANDARD_RTTIEXT(XCAFDimTolObjects_DatumObject,Standard_Transient)
-private:
+private:
Handle(TCollection_HAsciiString) myName;
XCAFDimTolObjects_DatumModifiersSequence myModifiers;
Standard_Boolean myIsDTarget;
Standard_Boolean myIsValidDT;
XCAFDimTolObjects_DatumTargetType myDTargetType;
- gp_Ax2 myAxis;
Standard_Real myLength;
Standard_Real myWidth;
Standard_Integer myDatumTargetNumber;
+ gp_Ax2 myAxis;
gp_Ax2 myPlane;
gp_Pnt myPnt;
gp_Pnt myPntText;
myPlane = theObj->myPlane;
myHasPntText = theObj->myHasPntText;
mySemanticName = theObj->mySemanticName;
+ myPresentation = theObj->myPresentation;
+ myPresentationName = theObj->myPresentationName;
+ for (int i = 0; i < theObj->myDescriptions.Length(); i++)
+ {
+ myDescriptions.Append(theObj->myDescriptions(i));
+ }
+ for (int i = 0; i < theObj->myDescriptionNames.Length(); i++)
+ {
+ myDescriptionNames.Append(theObj->myDescriptionNames(i));
+ }
}
//=======================================================================
mySemanticName = theObj->mySemanticName;
myAffectedPlaneType = theObj->myAffectedPlaneType;
myAffectedPlane = theObj->myAffectedPlane;
+ myPresentation = theObj->myPresentation;
+ myPresentationName = theObj->myPresentationName;
}
//=======================================================================