Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:05:21

0001 // Created on: 1997-03-17
0002 // Created by: Yves FRICAUD
0003 // Copyright (c) 1997-1999 Matra Datavision
0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0005 //
0006 // This file is part of Open CASCADE Technology software library.
0007 //
0008 // This library is free software; you can redistribute it and/or modify it under
0009 // the terms of the GNU Lesser General Public License version 2.1 as published
0010 // by the Free Software Foundation, with special exception defined in the file
0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0012 // distribution for complete text of the license and disclaimer of any warranty.
0013 //
0014 // Alternatively, this file may be used under the terms of Open CASCADE
0015 // commercial license or contractual agreement.
0016 
0017 #ifndef _TNaming_Evolution_HeaderFile
0018 #define _TNaming_Evolution_HeaderFile
0019 
0020 //! Defines the type of evolution in old shape - new shape pairs.
0021 //! The definitions - in the form of the terms of
0022 //! the enumeration - are needed by the
0023 //! TNaming_NamedShape attribute and
0024 //! indicate what entities this attribute records as follows:
0025 //! -   PRIMITIVE
0026 //! -   New entities; in each pair, old shape is a
0027 //! null shape and new shape is a created
0028 //! entity.
0029 //! -   GENERATED
0030 //! -   Entities created from other entities; in
0031 //! each pair, old shape is the generator and
0032 //! new shape is the created entity.
0033 //! -   MODIFY
0034 //! -   Split or merged entities, in each pair, old
0035 //! shape is the entity before the operation
0036 //! and new shape is the new entity after the
0037 //! operation.
0038 //! -   DELETE
0039 //! -   Deletion of entities; in each pair, old
0040 //! shape is a deleted entity and new shape is null.
0041 //! -   SELECTED
0042 //! -   Named topological entities; in each pair,
0043 //! the new shape is a named entity and the
0044 //! old shape is not used.
0045 //!
0046 //! For a split which generates multiple faces, the
0047 //! attribute will contain many pairs with the same
0048 //! old shape; for a merge, it will contain many
0049 //! pairs with the same new shape.
0050 //! Finally, an example of delete would be a face
0051 //! removed by a Boolean operation.
0052 enum TNaming_Evolution
0053 {
0054 TNaming_PRIMITIVE,
0055 TNaming_GENERATED,
0056 TNaming_MODIFY,
0057 TNaming_DELETE,
0058 TNaming_REPLACE,
0059 TNaming_SELECTED
0060 };
0061 
0062 #endif // _TNaming_Evolution_HeaderFile