Class: EnfEditor::EEBrepLoop

Inherits:
EEElement show all
Defined in:
lib/enfeditor/core_ext/ee_brep.rb,
ext/enfhandler/EnfHandler_wrap2.cxx

Overview

Proxy of C++ EnfEditor::EEBrepLoop class

Instance Method Summary collapse

Methods inherited from EEElement

#delete!

Methods inherited from EEBase

#null?

Instance Method Details

#edgesArray<EEBrepEdge>

Returns edges in loop.

Examples:

# Get edges from loop
loop.edges  # => [<EEBrepEdge>, ...]

Returns:

Since:

  • 0.1.0.0



114
115
116
117
118
119
120
# File 'lib/enfeditor/core_ext/ee_brep.rb', line 114

def edges
  elems = Set.new
  tedges.each do |tedge|
    elems << tedge.edge
  end
  return elems.to_a
end