Class: GMath3D::Geom

Inherits:
Object
  • Object
show all
Defined in:
lib/geom.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeGeom

Returns a new instance of Geom.



11
12
13
# File 'lib/geom.rb', line 11

def initialize
  @tolerance = @@default_tolerance
end

Instance Attribute Details

#toleranceObject

Returns the value of attribute tolerance.



9
10
11
# File 'lib/geom.rb', line 9

def tolerance
  @tolerance
end

Class Method Details

.default_toleranceObject



15
16
17
# File 'lib/geom.rb', line 15

def self.default_tolerance
  @@default_tolerance
end