0024530: TKMesh - remove unused package IntPoly
[occt.git] / src / Vrml / Vrml_NormalBinding.cdl
1 -- Created on: 1997-02-11
2 -- Created by: Alexander BRIVIN and Dmitry Tarasov
3 -- Copyright (c) 1997-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
5 --
6 -- This file is part of Open CASCADE Technology software library.
7 --
8 -- This library is free software; you can redistribute it and / or modify it
9 -- under the terms of the GNU Lesser General Public version 2.1 as published
10 -- by the Free Software Foundation, with special exception defined in the file
11 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 -- distribution for complete text of the license and disclaimer of any warranty.
13 --
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
16
17 class NormalBinding from Vrml 
18
19         ---Purpose: defines a NormalBinding node of VRML specifying properties of geometry
20         ---          and its appearance.
21         --  This node specifies how the current normals are bound to shapes that follow in the scene
22         --  graph. Each shape node may interpret bindings differently. 
23         --  The bindings for faces and vertices are meaningful only for shapes that are made from
24         --  faces and vertices. Similarly, the indexed bindings are only used by the shapes that allow
25         --  indexing. For bindings that require multiple normals, be sure to have at least as many
26         --  normals defined as are necessary; otherwise, errors will occur. 
27 uses
28  
29     MaterialBindingAndNormalBinding  from  Vrml
30
31 is
32  
33     Create ( aValue : MaterialBindingAndNormalBinding  from  Vrml )
34         returns NormalBinding from Vrml; 
35         
36     Create returns NormalBinding from Vrml; 
37
38     SetValue ( me:in out; aValue : MaterialBindingAndNormalBinding from  Vrml );
39     Value ( me )  returns  MaterialBindingAndNormalBinding from  Vrml;
40
41     Print  ( me; anOStream: in out OStream from Standard) returns OStream from Standard;
42     ---C++:  return  & 
43
44 fields
45  
46     myValue  :   MaterialBindingAndNormalBinding from  Vrml;  -- Normal binding value
47
48 end NormalBinding;