# Class: EnfEditor::EEBrepLoop

Inherits:
  EEElement
  - Object
  - EEBase
  - EEElement
  - EnfEditor::EEBrepLoop
  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

- #edges ⇒ Array<EEBrepEdge>

  Returns edges in loop.

### Methods inherited from EEElement

#delete!

### Methods inherited from EEBase

#null?

## Instance Method Details

### #edges ⇒ `Array<EEBrepEdge>`

Returns edges in loop.

Examples:

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

Returns:

- (`Array<EEBrepEdge>`) —

  Returns edges in loop.

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