# Class: EnfEditor::EEBrepFace

Inherits:
  EECompRepChildElement
  - Object
  - EEBase
  - EEElement
  - EECompRepChildElement
  - EnfEditor::EEBrepFace
  show all

Includes:
  ColorUtils, PropertyName, PropertyUtils, UserPropertyUtils

Defined in:
  lib/enfeditor/core_ext/ee_brep.rb,
  ext/enfhandler/EnfHandler_wrap2.cxx

## Overview

Proxy of C++ EnfEditor::EEBrepFace class

## Instance Method Summary collapse

- #loops ⇒ Array<EEBrepLoop> (also: #children)

  Returns loops of face.

- #surface ⇒ EEBrepSurface

  Returns surface of face.

### Methods included from PropertyUtils

#display=, #display?, #layer, #layer=

### Methods included from PropertyName

#name, #name=

### Methods included from ColorUtils

#has_material_color?, #has_material_color_rgb?, #material_color, #material_color=

### Methods included from UserPropertyUtils

#create_user_property, #overwrite_user_property, #user_properties

### Methods inherited from EEElement

#delete!

### Methods inherited from EEBase

#null?

## Instance Method Details

### #loops ⇒ `Array<EEBrepLoop>` Also known as: children

Returns loops of face.

Examples:

    # Get loops from face
    face.loops # => [<EEBrepLoop>, ...]

Returns:

- (`Array<EEBrepLoop>`) —

  Returns loops of face.

Since:

- 0.1.0.0

### #surface ⇒ `EEBrepSurface`

Returns surface of face.

Examples:

    # Get surface from face
    face.surface  # => <EEBrepSurface>

Returns:

- (`EEBrepSurface`) —

  Returns surface of face.

Since:

- 0.1.0.0

    79
    # File 'lib/enfeditor/core_ext/ee_brep.rb', line 79

    def surface ; tsurface.surface ; end