-- Created on: 2004-01-09 -- Created by: Sergey KUUL -- Copyright (c) 2004-2012 OPEN CASCADE SAS -- -- The content of this file is subject to the Open CASCADE Technology Public -- License Version 6.5 (the "License"). You may not use the content of this file -- except in compliance with the License. Please obtain a copy of the License -- at http://www.opencascade.org and read it completely before using this file. -- -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France. -- -- The Original Code and all software distributed under the License is -- distributed on an "AS IS" basis, without warranty of any kind, and the -- Initial Developer hereby disclaims all such warranties, including without -- limitation, any warranties of merchantability, fitness for a particular -- purpose or non-infringement. Please see the License for the specific terms -- and conditions governing the rights and limitations under the License. class DimTol from XCAFDoc inherits Attribute from TDF ---Purpose: uses Label from TDF, RelocationTable from TDF, HArray1OfReal from TColStd, HAsciiString from TCollection is Create returns DimTol from XCAFDoc; ---Category: class methods -- ============= GetID (myclass) ---C++: return const & returns GUID from Standard; Set (myclass; label : Label from TDF; kind : Integer from Standard; aVal : HArray1OfReal from TColStd; aName : HAsciiString from TCollection; aDescription : HAsciiString from TCollection) returns DimTol from XCAFDoc; Set (me : mutable; kind : Integer from Standard; aVal : HArray1OfReal from TColStd; aName : HAsciiString from TCollection; aDescription : HAsciiString from TCollection); GetKind (me) returns Integer from Standard; GetVal (me) returns HArray1OfReal from TColStd; GetName (me) returns HAsciiString from TCollection; GetDescription (me) returns HAsciiString from TCollection; ID (me) ---C++: return const & returns GUID from Standard; Restore (me: mutable; With : Attribute from TDF); NewEmpty (me) returns mutable Attribute from TDF; Paste (me; Into : mutable Attribute from TDF; RT : mutable RelocationTable from TDF); fields myKind : Integer from Standard; myVal : HArray1OfReal from TColStd; myName : HAsciiString from TCollection; myDescription : HAsciiString from TCollection; -- Table of kinds: -- dimensions: -- 1 - diameter -- -- tolerances with datum references: -- 21 - GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol (ModGeoTol->MaximumMaterialCondition) -- 22 - GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol (ModGeoTol->LeastMaterialCondition) -- 23 - GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol (ModGeoTol->RegardlessOfFeatureSize) -- 24 - AngularityTolerance -- 25 - CircularRunoutTolerance -- 26 - CoaxialityTolerance -- 27 - ConcentricityTolerance -- 28 - ParallelismTolerance -- 29 - PerpendicularityTolerance -- 30 - SymmetryTolerance -- 31 - TotalRunoutTolerance -- tolerances without datum references: -- 35 - ModifiedGeometricTolerance (MaximumMaterialCondition) -- 36 - ModifiedGeometricTolerance (LeastMaterialCondition) -- 37 - ModifiedGeometricTolerance (RegardlessOfFeatureSize) -- 38 - CylindricityTolerance -- 39 - FlatnessTolerance -- 40 - LineProfileTolerance -- 41 - PositionTolerance -- 42 - RoundnessTolerance -- 43 - StraightnessTolerance -- 44 - SurfaceProfileTolerance end DimTol;