Module: GMath3D::BoxAvailable
- Included in:
- FiniteLine, Polyline, Rectangle, TriMesh, Triangle
- Defined in:
- lib/util.rb
Overview
Including ‘vertices’ methodshould be implimented that gets geometry vertices as Array of Vector3.
Instance Method Summary collapse
-
#box ⇒ Object
- Output
-
return axially aligned bounding box as Box.
Instance Method Details
#box ⇒ Object
- Output
-
return axially aligned bounding box as Box.
31 32 33 |
# File 'lib/util.rb', line 31 def box return Box.from_points( vertices ) end |