Class: CrystalScad::Projection
- Inherits:
-
CSGModifier
- Object
- CrystalScadObject
- Primitive
- CSGModifier
- CrystalScad::Projection
- Defined in:
- lib/crystalscad/CrystalScad.rb
Instance Attribute Summary
Attributes inherited from Primitive
Attributes inherited from CrystalScadObject
Instance Method Summary collapse
-
#initialize(object, attributes) ⇒ Projection
constructor
A new instance of Projection.
Methods inherited from CSGModifier
Methods inherited from Primitive
#mirror, #rotate, #rotate_around, #scale, #transform, #translate, #union
Methods inherited from CrystalScadObject
#method_missing, #save, #to_rubyscad, #walk_tree, #walk_tree_classes
Constructor Details
#initialize(object, attributes) ⇒ Projection
Returns a new instance of Projection.
509 510 511 512 |
# File 'lib/crystalscad/CrystalScad.rb', line 509 def initialize(object, attributes) @operation = "projection" super(object, attributes) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class CrystalScad::CrystalScadObject