Class: EnfEditor::EEBrepEdge
- Inherits:
-
EECompRepChildElement
- Object
- EEBase
- EEElement
- EECompRepChildElement
- EnfEditor::EEBrepEdge
- Includes:
- ColorUtils, PropertyUtils, UserPropertyUtils
- Defined in:
- lib/enfeditor/core_ext/ee_brep.rb,
ext/enfhandler/EnfHandler_wrap2.cxx
Overview
Proxy of C++ EnfEditor::EEBrepEdge class
Instance Method Summary collapse
-
#curve ⇒ EEBrepCurve
Returns curve of edge.
- #display=(value) ⇒ Object
-
#display? ⇒ Boolean
Returns display status of element.
-
#layer ⇒ Integer?
Returns layer number or nil for none.
- #layer=(value) ⇒ Object
-
#vertices ⇒ Array<EEBrepVertex>
Returns vertices in edge.
Methods included from ColorUtils
#has_material_color?, #has_material_color_rgb?, #material_color, #material_color=
Methods included from UserPropertyUtils
#create_user_property, #user_properties
Methods inherited from EEElement
Methods inherited from EEBase
Instance Method Details
#curve ⇒ EEBrepCurve
Returns curve of edge.
#display=(value) ⇒ Object
179 180 181 |
# File 'lib/enfeditor/core_ext/ee_brep.rb', line 179 def display=(value) curve.display = value end |
#display? ⇒ Boolean
Returns display status of element.
172 |
# File 'lib/enfeditor/core_ext/ee_brep.rb', line 172 def display?; curve.display?; end |
#layer ⇒ Integer?
Returns layer number or nil for none.
155 |
# File 'lib/enfeditor/core_ext/ee_brep.rb', line 155 def layer; curve.layer; end |
#layer=(value) ⇒ Object
162 163 164 |
# File 'lib/enfeditor/core_ext/ee_brep.rb', line 162 def layer=(value) curve.layer = value end |
#vertices ⇒ Array<EEBrepVertex>
Returns vertices in edge.
141 142 143 144 145 146 147 |
# File 'lib/enfeditor/core_ext/ee_brep.rb', line 141 def vertices elems = Set.new tvertices.each do |tvertex| elems << tvertex.vertex end return elems.to_a end |