Debian Codegraph @

tools/internal/x3d-nodes-to-pascal/nodes-specification/Geometry2D.txt

raw
1 Arc2D : X3DGeometryNode {
2 SFFloat [] endAngle Pi/2
3 range: [-2Pi,2Pi]
4 change: chGeometry
5 angle
6 SFFloat [] radius 1
7 range: (0,Inf)
8 change: chGeometry
9 SFFloat [] startAngle 0
10 range: [-2Pi,2Pi]
11 change: chGeometry
12 angle
13 }
14
15 ArcClose2D : X3DGeometryNode {
16 SFString [] closureType "PIE"
17 range: ["PIE"|"CHORD"]
18 enumerated-type: TArcClosureType ArcClosureTypeNames acPie
19 change: chGeometry
20 SFFloat [] endAngle Pi/2
21 range: [-2Pi,2Pi]
22 change: chGeometry
23 angle
24 SFFloat [] radius 1
25 range: (0,Inf)
26 change: chGeometry
27 SFBool [] solid FALSE
28 change: chGeometry
29 SFFloat [] startAngle 0
30 range: [-2Pi,2Pi]
31 change: chGeometry
32 angle
33 }
34
35 Circle2D : X3DGeometryNode {
36 SFFloat [] radius 1
37 range: (0,Inf)
38 change: chGeometry
39
40 # CASTLE GAME ENGINE EXTENSIONS:
41 SFInt32 [in,out] slices 0
42 range: {0} + [3, infinity)
43 change: chGeometry
44 doc: How much to subdivide the circle. Larger values result in a shape that looks smoother (like a correct circle), but also mean that we need to render more triangles. The default value, 0 means to use the global @link(DefaultTriangulationSlices) parameter.
45 }
46
47 Disk2D : X3DGeometryNode {
48 SFFloat [] innerRadius 0
49 range: [0,Inf)
50 change: chGeometry
51 SFFloat [] outerRadius 1
52 range: (0,Inf)
53 change: chGeometry
54 SFBool [] solid FALSE
55 change: chGeometry
56
57 # CASTLE GAME ENGINE EXTENSIONS:
58 SFInt32 [in,out] slices 0
59 change: chGeometry
60 range: {0} + [3, infinity)
61 doc: How much to subdivide the circles (both inner and outer circles of the disk). Larger values result in a shape that looks smoother, but also mean that we need to render more triangles. The default value, 0 means to use the global @link(DefaultTriangulationSlices) parameter.
62 }
63
64 Polyline2D : X3DGeometryNode {
65 MFVec2f [] lineSegments []
66 range: (-Inf,Inf)
67 change: chGeometry
68 }
69
70 Polypoint2D : X3DGeometryNode {
71 MFVec2f [in,out] point []
72 range: (-Inf,Inf)
73 change: chGeometry
74 }
75
76 Rectangle2D : X3DGeometryNode {
77 SFVec2f [] size 2 2
78 range: (0,Inf)
79 change: chGeometry
80 SFBool [] solid FALSE
81 change: chGeometry
82 }
83
84 TriangleSet2D : X3DGeometryNode {
85 MFVec2f [in,out] vertices []
86 range: (-Inf,Inf)
87 change: chGeometry
88 SFBool [] solid FALSE
89 change: chGeometry
90 }