Class: GMath3D::Geom
- Inherits:
-
Object
- Object
- GMath3D::Geom
- Defined in:
- lib/geom.rb
Direct Known Subclasses
Box, Ellipse, FiniteLine, Line, Plane, Polyline, Rectangle, TriMesh, Triangle, Vector3
Instance Attribute Summary collapse
-
#tolerance ⇒ Object
Returns the value of attribute tolerance.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Geom
constructor
A new instance of Geom.
Constructor Details
#initialize ⇒ Geom
Returns a new instance of Geom.
11 12 13 |
# File 'lib/geom.rb', line 11 def initialize @tolerance = @@default_tolerance end |
Instance Attribute Details
#tolerance ⇒ Object
Returns the value of attribute tolerance.
9 10 11 |
# File 'lib/geom.rb', line 9 def tolerance @tolerance end |
Class Method Details
.default_tolerance ⇒ Object
15 16 17 |
# File 'lib/geom.rb', line 15 def self.default_tolerance @@default_tolerance end |