Class: RuPov::Objects::FiniteSolidPrimitives::SuperEllipsoid
- Defined in:
- lib/rupov.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(roundness) {|_self| ... } ⇒ SuperEllipsoid
constructor
A new instance of SuperEllipsoid.
Methods inherited from Base
Constructor Details
#initialize(roundness) {|_self| ... } ⇒ SuperEllipsoid
Returns a new instance of SuperEllipsoid.
139 140 141 142 143 |
# File 'lib/rupov.rb', line 139 def initialize( roundness ) super('superellipsoid') self << roundness yield(self) if block_given? and self.class == SuperEllipsoid end |