sketchup-api-stubs 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. checksums.yaml +7 -0
  2. data/SketchUp/Geom/BoundingBox.rb +335 -0
  3. data/SketchUp/Geom/LatLong.rb +123 -0
  4. data/SketchUp/Geom/Point3d.rb +643 -0
  5. data/SketchUp/Geom/PolygonMesh.rb +478 -0
  6. data/SketchUp/Geom/Transformation.rb +476 -0
  7. data/SketchUp/Geom/UTM.rb +135 -0
  8. data/SketchUp/Geom/Vector3d.rb +684 -0
  9. data/SketchUp/Sketchup/Animation.rb +137 -0
  10. data/SketchUp/Sketchup/AppObserver.rb +157 -0
  11. data/SketchUp/Sketchup/ArcCurve.rb +209 -0
  12. data/SketchUp/Sketchup/AttributeDictionaries.rb +146 -0
  13. data/SketchUp/Sketchup/AttributeDictionary.rb +280 -0
  14. data/SketchUp/Sketchup/Axes.rb +149 -0
  15. data/SketchUp/Sketchup/Behavior.rb +338 -0
  16. data/SketchUp/Sketchup/Camera.rb +594 -0
  17. data/SketchUp/Sketchup/ClassificationSchema.rb +63 -0
  18. data/SketchUp/Sketchup/Classifications.rb +118 -0
  19. data/SketchUp/Sketchup/Color.rb +291 -0
  20. data/SketchUp/Sketchup/ComponentDefinition.rb +562 -0
  21. data/SketchUp/Sketchup/ComponentInstance.rb +597 -0
  22. data/SketchUp/Sketchup/Console.rb +78 -0
  23. data/SketchUp/Sketchup/ConstructionLine.rb +257 -0
  24. data/SketchUp/Sketchup/ConstructionPoint.rb +32 -0
  25. data/SketchUp/Sketchup/Curve.rb +196 -0
  26. data/SketchUp/Sketchup/DefinitionList.rb +312 -0
  27. data/SketchUp/Sketchup/DefinitionObserver.rb +73 -0
  28. data/SketchUp/Sketchup/DefinitionsObserver.rb +102 -0
  29. data/SketchUp/Sketchup/Dimension.rb +167 -0
  30. data/SketchUp/Sketchup/DimensionLinear.rb +232 -0
  31. data/SketchUp/Sketchup/DimensionObserver.rb +38 -0
  32. data/SketchUp/Sketchup/DimensionRadial.rb +87 -0
  33. data/SketchUp/Sketchup/Drawingelement.rb +400 -0
  34. data/SketchUp/Sketchup/Edge.rb +517 -0
  35. data/SketchUp/Sketchup/EdgeUse.rb +213 -0
  36. data/SketchUp/Sketchup/Entities.rb +1011 -0
  37. data/SketchUp/Sketchup/EntitiesObserver.rb +125 -0
  38. data/SketchUp/Sketchup/Entity.rb +522 -0
  39. data/SketchUp/Sketchup/EntityObserver.rb +59 -0
  40. data/SketchUp/Sketchup/ExtensionsManager.rb +129 -0
  41. data/SketchUp/Sketchup/Face.rb +737 -0
  42. data/SketchUp/Sketchup/FrameChangeObserver.rb +104 -0
  43. data/SketchUp/Sketchup/Group.rb +705 -0
  44. data/SketchUp/Sketchup/Http.rb +27 -0
  45. data/SketchUp/Sketchup/Http/Request.rb +285 -0
  46. data/SketchUp/Sketchup/Http/Response.rb +62 -0
  47. data/SketchUp/Sketchup/Image.rb +393 -0
  48. data/SketchUp/Sketchup/Importer.rb +192 -0
  49. data/SketchUp/Sketchup/InputPoint.rb +393 -0
  50. data/SketchUp/Sketchup/InstanceObserver.rb +82 -0
  51. data/SketchUp/Sketchup/InstancePath.rb +297 -0
  52. data/SketchUp/Sketchup/Layer.rb +240 -0
  53. data/SketchUp/Sketchup/Layers.rb +235 -0
  54. data/SketchUp/Sketchup/LayersObserver.rb +136 -0
  55. data/SketchUp/Sketchup/Licensing.rb +47 -0
  56. data/SketchUp/Sketchup/Licensing/ExtensionLicense.rb +88 -0
  57. data/SketchUp/Sketchup/Loop.rb +141 -0
  58. data/SketchUp/Sketchup/Material.rb +384 -0
  59. data/SketchUp/Sketchup/Materials.rb +283 -0
  60. data/SketchUp/Sketchup/MaterialsObserver.rb +141 -0
  61. data/SketchUp/Sketchup/Menu.rb +97 -0
  62. data/SketchUp/Sketchup/Model.rb +1459 -0
  63. data/SketchUp/Sketchup/ModelObserver.rb +356 -0
  64. data/SketchUp/Sketchup/OptionsManager.rb +135 -0
  65. data/SketchUp/Sketchup/OptionsProvider.rb +277 -0
  66. data/SketchUp/Sketchup/OptionsProviderObserver.rb +58 -0
  67. data/SketchUp/Sketchup/Page.rb +636 -0
  68. data/SketchUp/Sketchup/Pages.rb +349 -0
  69. data/SketchUp/Sketchup/PagesObserver.rb +76 -0
  70. data/SketchUp/Sketchup/PickHelper.rb +457 -0
  71. data/SketchUp/Sketchup/RegionalSettings.rb +43 -0
  72. data/SketchUp/Sketchup/RenderingOptions.rb +337 -0
  73. data/SketchUp/Sketchup/RenderingOptionsObserver.rb +44 -0
  74. data/SketchUp/Sketchup/SectionPlane.rb +88 -0
  75. data/SketchUp/Sketchup/Selection.rb +470 -0
  76. data/SketchUp/Sketchup/SelectionObserver.rb +115 -0
  77. data/SketchUp/Sketchup/Set.rb +253 -0
  78. data/SketchUp/Sketchup/ShadowInfo.rb +257 -0
  79. data/SketchUp/Sketchup/ShadowInfoObserver.rb +57 -0
  80. data/SketchUp/Sketchup/Style.rb +77 -0
  81. data/SketchUp/Sketchup/Styles.rb +204 -0
  82. data/SketchUp/Sketchup/Text.rb +241 -0
  83. data/SketchUp/Sketchup/Texture.rb +211 -0
  84. data/SketchUp/Sketchup/TextureWriter.rb +237 -0
  85. data/SketchUp/Sketchup/Tool.rb +808 -0
  86. data/SketchUp/Sketchup/Tools.rb +120 -0
  87. data/SketchUp/Sketchup/ToolsObserver.rb +154 -0
  88. data/SketchUp/Sketchup/UVHelper.rb +61 -0
  89. data/SketchUp/Sketchup/Vertex.rb +143 -0
  90. data/SketchUp/Sketchup/View.rb +965 -0
  91. data/SketchUp/Sketchup/ViewObserver.rb +40 -0
  92. data/SketchUp/UI/Command.rb +307 -0
  93. data/SketchUp/UI/HtmlDialog.rb +346 -0
  94. data/SketchUp/UI/Notification.rb +229 -0
  95. data/SketchUp/UI/Toolbar.rb +243 -0
  96. data/SketchUp/UI/WebDialog.rb +623 -0
  97. data/SketchUp/_top_level.rb +193 -0
  98. data/SketchUp/array.rb +593 -0
  99. data/SketchUp/geom.rb +231 -0
  100. data/SketchUp/languagehandler.rb +92 -0
  101. data/SketchUp/length.rb +210 -0
  102. data/SketchUp/numeric.rb +249 -0
  103. data/SketchUp/sketchup.rb +1290 -0
  104. data/SketchUp/sketchupextension.rb +355 -0
  105. data/SketchUp/string.rb +24 -0
  106. data/SketchUp/ui.rb +637 -0
  107. metadata +176 -0
@@ -0,0 +1,476 @@
1
+ # Copyright:: Copyright 2017 Trimble Inc.
2
+ # License:: The MIT License (MIT)
3
+
4
+ # Transformations are a standard construct in the 3D world for representing
5
+ # the position, rotation, and sizing of a given entity. In the SketchUp
6
+ # world, {Sketchup::ComponentInstance} and {Sketchup::Group} have a
7
+ # +.transformation+ method that reports their current state and various methods
8
+ # (+.move!+, +transformation=+, etc.) that allow them to be manipulated.
9
+ #
10
+ # Use of the transformation class requires a knowledge of geometrical
11
+ # transformations in 3 dimensions which is covered extensively on
12
+ # the Internet.
13
+ #
14
+ # @version SketchUp 6.0
15
+ class Geom::Transformation
16
+
17
+ # Class Methods
18
+
19
+ # The axes method creates a transformation that goes from world coordinates
20
+ # to an arbitrary coordinate system defined by an origin and three axis
21
+ # vectors.
22
+ #
23
+ # @example
24
+ # # Creates a transformation that "flips" the axes from XYZ to XZY. Something
25
+ # # one often need for importers/exporters when dealing with applications
26
+ # # that threat Y as "up".
27
+ # tr = Geom::Transformation.axes(ORIGIN, X_AXIS, Z_AXIS, Y_AXIS.reverse)
28
+ #
29
+ # @overload axes(origin, xaxis, yaxis, zaxis)
30
+ #
31
+ # @param [Geom::Point3d] origin
32
+ # @param [Geom::Vector3d] xaxis
33
+ # @param [Geom::Vector3d] yaxis
34
+ # @param [Geom::Vector3d] zaxis
35
+ # @return [Geom::Transformation]
36
+ #
37
+ # @overload axes(origin, xaxis, yaxis)
38
+ #
39
+ # When the Z axis is omitted and arbitrary axis is computed from the X and Y
40
+ # axes.
41
+ # @param [Geom::Point3d] origin
42
+ # @param [Geom::Vector3d] xaxis
43
+ # @param [Geom::Vector3d] yaxis
44
+ # @return [Geom::Transformation]
45
+ #
46
+ # @raise [ArgumentError] if any of the vectors are zero length.
47
+ #
48
+ # @version SketchUp 6.0
49
+ def self.axes(*args)
50
+ end
51
+
52
+ # The interpolate method is used to create a new transformation that is the
53
+ # result of interpolating between two other transformations.
54
+ #
55
+ # Parameter is a weight (between 0.0 and 1.0) that identifies whether to favor
56
+ # transformation1 or transformation2.
57
+ #
58
+ # @example
59
+ # origin = Geom::Point3d.new(0, 0, 0)
60
+ # x = Geom::Vector3d.new(0, 1, 0)
61
+ # y = Geom::Vector3d.new(1, 0, 0)
62
+ # z = Geom::Vector3d.new(0, 0, 1)
63
+ # point = Geom::Point3d.new(10, 20, 30)
64
+ # t1 = Geom::Transformation.new(point)
65
+ # t2 = Geom::Transformation.axes(origin, x, y, z)
66
+ # # This produce a transformation that is a mix of 75% t1 and 25% t2.
67
+ # t3 = Geom::Transformation.interpolate(t1, t2, 0.25)
68
+ #
69
+ # @param [Geom::Transformation] transform1
70
+ #
71
+ # @param [Geom::Transformation] transform2
72
+ #
73
+ # @param [Float] weight
74
+ # A value between 0.0 and 1.0 (see comments).
75
+ #
76
+ # @return [Geom::Transformation]
77
+ #
78
+ # @version SketchUp 6.0
79
+ def self.interpolate(transform1, transform2, weight)
80
+ end
81
+
82
+ # The rotation method is used to create a transformation that does rotation
83
+ # about an axis.
84
+ #
85
+ # The axis is defined by a point and a vector. The angle is given in radians.
86
+ #
87
+ # @example
88
+ # point = Geom::Point3d.new(10, 20, 0)
89
+ # vector = Geom::Vector3d.new(0, 0, 1)
90
+ # angle = 45.degrees # Return 45 degrees in radians.
91
+ # transformation = Geom::Transformation.rotation(point, vector, angle)
92
+ #
93
+ # @param [Geom::Point3d] point
94
+ #
95
+ # @param [Geom::Vector3d] vector
96
+ #
97
+ # @param [Float] angle
98
+ # The angle in radians.
99
+ #
100
+ # @return [Geom::Transformation]
101
+ #
102
+ # @version SketchUp 6.0
103
+ def self.rotation(point, vector, angle)
104
+ end
105
+
106
+ # The scaling method is used to create a transformation that does scaling.
107
+ #
108
+ # @example
109
+ # point = Geom::Point3d.new(20, 30, 0)
110
+ # scale = 10
111
+ # tr = Geom::Transformation.scaling(point, scale)
112
+ #
113
+ # @overload scaling(scale)
114
+ #
115
+ # @note This might yield an unexpected transformation. It sets the 16th value
116
+ # to the scaling factor. Something not all extensions reading the
117
+ # transformation expects. Consider using +scaling(xscale, yscale, zscale)+
118
+ # instead.
119
+ # With one argument, it does a uniform scale about the origin.
120
+ # @param [Float] scale The global scale factor for the transform.
121
+ # @return [Geom::Transformation]
122
+ #
123
+ # @overload scaling(xscale, yscale, zscale)
124
+ #
125
+ # With three arguments, it does a non-uniform scale about the origin.
126
+ # @param [Float] xscale The scale factor in the x direction for the transform.
127
+ # @param [Float] yscale The scale factor in the y direction for the transform.
128
+ # @param [Float] zscale The scale factor in the z direction for the transform.
129
+ # @return [Geom::Transformation]
130
+ #
131
+ # @overload scaling(point, xscale, yscale, zscale)
132
+ #
133
+ # With four arguments it does a non-uniform scale about an arbitrary point.
134
+ # @param [Geom::Point3d] point
135
+ # @param [Float] xscale The scale factor in the x direction for the transform.
136
+ # @param [Float] yscale The scale factor in the y direction for the transform.
137
+ # @param [Float] zscale The scale factor in the z direction for the transform.
138
+ # @return [Geom::Transformation]
139
+ #
140
+ # @overload scaling(point, scale)
141
+ #
142
+ # With two arguments, it does a uniform scale about an arbitrary point.
143
+ # @param [Geom::Point3d] point
144
+ # @param [Float] scale The global scale factor for the transform.
145
+ # @return [Geom::Transformation]
146
+ #
147
+ # @version SketchUp 6.0
148
+ def self.scaling(*args)
149
+ end
150
+
151
+ # The translation method is used to create a transformation that does
152
+ # translation.
153
+ #
154
+ # @example
155
+ # vector = Geom::Vector3d.new(0, 1, 0)
156
+ # tr = Geom::Transformation.translation(vector)
157
+ #
158
+ # @overload translation(vector)
159
+ #
160
+ # @param [Geom::Vector3d] vector
161
+ # @return [Geom::Transformation]
162
+ #
163
+ # @overload translation(point)
164
+ #
165
+ # @param [Geom::Point3d] point
166
+ # @return [Geom::Transformation]
167
+ #
168
+ # @version SketchUp 6.0
169
+ def self.translation(arg)
170
+ end
171
+
172
+ # Instance Methods
173
+
174
+ # The {#*} method is used to do matrix multiplication using the transform.
175
+ #
176
+ # @example
177
+ # point1 = Geom::Point3d.new(10, 20, 30)
178
+ # point2 = Geom::Point3d.new(2, 2, 2)
179
+ # tr = Geom::Transformation.new(point1)
180
+ # # Returns Point3d(12, 22, 32)
181
+ # point3 = tr * point2
182
+ #
183
+ # @overload *(point)
184
+ #
185
+ # @param [Geom::Point3d] point
186
+ # @return [Geom::Point3d]
187
+ #
188
+ # @overload *(vector)
189
+ #
190
+ # @param [Geom::Vector3d] vector
191
+ # @return [Geom::Vector3d]
192
+ #
193
+ # @overload *(transformation)
194
+ #
195
+ # @param [Geom::Transformation] transformation
196
+ # @return [Geom::Transformation]
197
+ #
198
+ # @overload *(plane)
199
+ #
200
+ # @param [Array<Float, Float, Float, Float>] plane
201
+ # @return [Array<Float, Float, Float, Float>] transformed plane
202
+ #
203
+ # @overload *(plane)
204
+ #
205
+ # @param [Array<Geom::Point3d, Geom::Vector3d>] plane
206
+ # @return [Array<Float, Float, Float, Float>] transformed plane
207
+ #
208
+ # @overload *(point)
209
+ #
210
+ # @param [Array<Float, Float, Float>] point
211
+ # @return [Geom::Point3d]
212
+ #
213
+ # @version SketchUp 6.0
214
+ def *(arg)
215
+ end
216
+
217
+ # The {#clone} method is used to create a copy of a transformation.
218
+ #
219
+ # @example
220
+ # point = Geom::Point3d.new(10, 20, 30)
221
+ # tr1 = Geom::Transformation.new(point)
222
+ # tr2 = tr1.clone
223
+ #
224
+ # @return [Geom::Transformation]
225
+ #
226
+ # @version SketchUp 6.0
227
+ def clone
228
+ end
229
+
230
+ # The {#identity?} method is used to determine if a transformation is the
231
+ # {IDENTITY} transform.
232
+ #
233
+ # @example
234
+ # tr = Geom::Transformation.new(ORIGIN)
235
+ # # Returns false.
236
+ # status = tr.identity?
237
+ #
238
+ # @example
239
+ # # Returns true.
240
+ # status = IDENTITY.identity?
241
+ #
242
+ # @example
243
+ # tr = Geom::Transformation.new
244
+ # # Returns true.
245
+ # status = tr.identity?
246
+ #
247
+ # @example
248
+ # point = Geom::Point3d.new(10, 20, 30)
249
+ # tr = Geom::Transformation.new(point)
250
+ # # Returns false.
251
+ # status = tr.identity?
252
+ #
253
+ # @note This only looks at the flag to see if the transform has not been
254
+ # modified. If the transform has been changed, this will return false even if
255
+ # it is really the identity.
256
+ #
257
+ # @return [Boolean] +true+ if the transformation is the identity
258
+ #
259
+ # @return [Boolean]
260
+ #
261
+ # @version SketchUp 6.0
262
+ def identity?
263
+ end
264
+
265
+ # The new method is used to create a new transformation.
266
+ #
267
+ # You can use this method or one of the more specific methods for creating
268
+ # specific kinds of Transformations.
269
+ #
270
+ # @example
271
+ # point = Geom::Point3d.new(10, 20, 30)
272
+ # tr = Geom::Transformation.new(point)
273
+ #
274
+ # @overload initialize
275
+ #
276
+ # @return [Geom::Transformation] identity Transformation.
277
+ #
278
+ # @overload initialize(point)
279
+ #
280
+ # Translates the origin to point.
281
+ # @param [Geom::Point3d] point
282
+ # @return [Geom::Transformation]
283
+ #
284
+ # @overload initialize(vector)
285
+ #
286
+ # @param [Geom::Vector3d] vector
287
+ # @return [Geom::Transformation]
288
+ #
289
+ # @overload initialize(transform)
290
+ #
291
+ # Creates a Transformation that is a copy of another Transformation. This is
292
+ # equivalent to {#clone}.
293
+ # @param [Geom::Transformation] transform
294
+ # @return [Geom::Transformation]
295
+ #
296
+ # @overload initialize(array)
297
+ #
298
+ # @param [Array<Float>] Creates a Transformation from a 16 element Array.
299
+ # @return [Geom::Transformation]
300
+ #
301
+ # @overload initialize(xaxis, yaxis, zaxis, origin)
302
+ #
303
+ # @param [Geom::Vector3d] xaxis
304
+ # @param [Geom::Vector3d] yaxis
305
+ # @param [Geom::Vector3d] zaxis
306
+ # @param [Geom::Point3d] origin
307
+ # @return [Geom::Transformation]
308
+ #
309
+ # @overload initialize(origin, zaxis)
310
+ #
311
+ # Creates a Transformation where origin is the new origin, and zaxis is the
312
+ # z axis. The x and y axes are determined using an arbitrary axis rule.
313
+ # @param [Geom::Point3d] origin
314
+ # @param [Geom::Vector3d] zaxis
315
+ # @return [Geom::Transformation]
316
+ #
317
+ # @overload initialize(origin, xaxis, yaxis)
318
+ #
319
+ # Creates a Transformation given a new origin, x axis and y axis.
320
+ # @param [Geom::Point3d] origin
321
+ # @param [Geom::Vector3d] xaxis
322
+ # @param [Geom::Vector3d] yaxis
323
+ # @return [Geom::Transformation]
324
+ #
325
+ # @overload initialize(pt, axis, angle)
326
+ #
327
+ # Creates a Transformation that rotates by angle (given in radians) about a
328
+ # line defined by pt and axis.
329
+ # @param [Geom::Point3d] origin
330
+ # @param [Geom::Vector3d] axis
331
+ # @param [Float] angle
332
+ # @return [Geom::Transformation]
333
+ #
334
+ # @overload initialize(scale)
335
+ #
336
+ # Creates a transformation that does uniform scaling.
337
+ # @param [Float] scale
338
+ # @return [Geom::Transformation]
339
+ #
340
+ # @version SketchUp 6.0
341
+ def initialize(*args)
342
+ end
343
+
344
+ # The {#inverse} method is used to retrieve the inverse of a transformation.
345
+ #
346
+ # @example
347
+ # point = Geom::Point3d.new(10, 20, 30)
348
+ # tr1 = Geom::Transformation.new(point)
349
+ # tr2 = tr1.inverse
350
+ #
351
+ # @return [Geom::Transformation]
352
+ #
353
+ # @version SketchUp 6.0
354
+ def inverse
355
+ end
356
+
357
+ # The {#invert!} method sets the transformation to its inverse.
358
+ #
359
+ # @example
360
+ # point = Geom::Point3d.new(10, 20, 30)
361
+ # tr = Geom::Transformation.new(point)
362
+ # tr.invert!
363
+ #
364
+ # @return [Geom::Transformation]
365
+ #
366
+ # @version SketchUp 6.0
367
+ def invert!
368
+ end
369
+
370
+ # The {#origin} method retrieves the origin of a rigid transformation.
371
+ #
372
+ # @example
373
+ # point1 = Geom::Point3d.new(10, 20, 30)
374
+ # tr = Geom::Transformation.new(point1)
375
+ # point2 = tr.origin
376
+ #
377
+ # @return [Geom::Point3d] the origin of the transformation.
378
+ #
379
+ # @version SketchUp 6.0
380
+ def origin
381
+ end
382
+
383
+ # The {#set!} method is used to set this transformation to match another one.
384
+ #
385
+ # The argument is anything that can be converted into a transformation.
386
+ #
387
+ # @example
388
+ # point1 = Geom::Point3d.new(10, 20, 30)
389
+ # tr1 = Geom::Transformation.new(point)
390
+ # point2 = Geom::Point3d.new(60, 40, 70)
391
+ # tr1.set!(point2)
392
+ #
393
+ # @overload set!(transformation)
394
+ #
395
+ # @param [Geom::Transformation] transformation
396
+ # @return [Geom::Transformation]
397
+ #
398
+ # @overload set!(point)
399
+ #
400
+ # @param [Geom::Point3d] point
401
+ # @return [Geom::Transformation]
402
+ #
403
+ # @overload set!(scale)
404
+ #
405
+ # @param [Float] scale
406
+ # @return [Geom::Transformation]
407
+ #
408
+ # @overload set!(matrix)
409
+ #
410
+ # @param [Array<Float>] matrix Array of 16 floats.
411
+ # @return [Geom::Transformation]
412
+ #
413
+ # @overload set!(vector)
414
+ #
415
+ # @param [Geom::Vector3d] vector
416
+ # @return [Geom::Transformation]
417
+ #
418
+ # @version SketchUp 6.0
419
+ def set!(arg)
420
+ end
421
+
422
+ # The {#to_a} method retrieves a 16 element array which contains the values that
423
+ # define the transformation.
424
+ #
425
+ # @example
426
+ # point = Geom::Point3d.new(10, 20, 30)
427
+ # tr = Geom::Transformation.new(point)
428
+ # # This splits the 16 items into a string of 4x4 elements for easier reading.
429
+ # str4x4 = tr.to_a.each_slice(4).inject { |str, row| "#{str}\r\n#{row}" }
430
+ #
431
+ # @return [Array<Float>]
432
+ #
433
+ # @version SketchUp 6.0
434
+ def to_a
435
+ end
436
+
437
+ # The {#xaxis} method retrieves the x axis of a rigid transformation.
438
+ #
439
+ # @example
440
+ # point = Geom::Point3d.new(10, 20, 30)
441
+ # tr = Geom::Transformation.new(point)
442
+ # x = tr.xaxis
443
+ #
444
+ # @return [Geom::Vector3d]
445
+ #
446
+ # @version SketchUp 6.0
447
+ def xaxis
448
+ end
449
+
450
+ # The {#yaxis} method retrieves the y axis of a rigid transformation.
451
+ #
452
+ # @example
453
+ # point = Geom::Point3d.new(10, 20, 30)
454
+ # tr = Geom::Transformation.new(point)
455
+ # x = tr.yaxis
456
+ #
457
+ # @return [Geom::Vector3d]
458
+ #
459
+ # @version SketchUp 6.0
460
+ def yaxis
461
+ end
462
+
463
+ # The {#zaxis} method retrieves the z axis of a rigid transformation.
464
+ #
465
+ # @example
466
+ # point = Geom::Point3d.new(10, 20, 30)
467
+ # tr = Geom::Transformation.new(point)
468
+ # x = tr.zaxis
469
+ #
470
+ # @return [Geom::Vector3d]
471
+ #
472
+ # @version SketchUp 6.0
473
+ def zaxis
474
+ end
475
+
476
+ end