0022627: Change OCCT memory management defaults
[occt.git] / src / Vrml / Vrml_TextureCoordinate2.cdl
CommitLineData
7fd59977 1-- File: Vrml_TextureCoordinate2.cdl
2-- Created: Thu Feb 13 10:03:40 1997
3-- Author: Alexander BRIVIN
4-- <brivin@meteox.nizhny.matra-dtv.fr>
5---Copyright: Matra Datavision 1997
6
7
8class TextureCoordinate2 from Vrml inherits TShared from MMgt
9
10 ---Purpose: defines a TextureCoordinate2 node of VRML specifying properties of geometry
11 -- and its appearance.
12 -- This node defines a set of 2D coordinates to be used to map textures
13 -- to the vertices of subsequent PointSet, IndexedLineSet, or IndexedFaceSet
14 -- objects. It replaces the current texture coordinates in the rendering
15 -- state for the shapes to use.
16 -- Texture coordinates range from 0 to 1 across the texture.
17 -- The horizontal coordinate, called S, is specified first, followed
18 -- by vertical coordinate, T.
19 -- By default :
20 -- myPoint (0 0)
21
22uses
23
24 HArray1OfVec2d from TColgp
25
26is
27 Create returns mutable TextureCoordinate2 from Vrml;
28
29 Create ( aPoint : HArray1OfVec2d from TColgp )
30 returns mutable TextureCoordinate2 from Vrml;
31
32 SetPoint ( me : mutable; aPoint : HArray1OfVec2d from TColgp );
33 Point ( me ) returns HArray1OfVec2d from TColgp;
34
35 Print ( me; anOStream: in out OStream from Standard) returns OStream from Standard;
36 ---C++: return &
37
38fields
39
40 myPoint : HArray1OfVec2d from TColgp;
41
42end TextureCoordinate2;