Module: TT::Faces

Defined in:
TT_Lib2/faces.rb

Overview

Collection of methods for sets of faces.

Since:

  • 2.5.0

Class Method Summary collapse

Class Method Details

.coplanar?(face1, face2) ⇒ Boolean

Parameters:

  • face1 (Sketchup::Face)
  • face2 (Sketchup::Face)

Returns:

  • (Boolean)

Since:

  • 2.5.0



124
125
126
# File 'TT_Lib2/faces.rb', line 124

def self.coplanar?(face1, face2)
  TT::Geom3d.planar_points?( face1.vertices + face2.vertices )
end