Class: Sketchup::Loop
- Defined in:
- lib/sketchup-api-stubs/stubs/Sketchup/Loop.rb
Overview
Loop is a low level topology class that will not need to be used often. A Loop is a chain of Edges that bound a Face.
Instance Method Summary collapse
-
#convex? ⇒ Boolean
Determine if the loop is convex.
-
#edges ⇒ Object
Get an array of the edges that define the loop in an ordered sequence.
-
#edgeuses ⇒ Object
Get an array of the EdgeUse objects that define this loop in an ordered sequence.
-
#face ⇒ Object
Get the Face object that is bounded by this loop.
-
#outer? ⇒ Boolean
Determine if this is an outer loop.
-
#vertices ⇒ Object
Get an array of the vertices that define the loop in an ordered sequence.
Methods inherited from Entity
#add_observer, #attribute_dictionaries, #attribute_dictionary, #delete_attribute, #deleted?, #entityID, #get_attribute, #inspect, #model, #parent, #persistent_id, #remove_observer, #set_attribute, #to_s, #typename, #valid?
Instance Method Details
#convex? ⇒ Boolean
Determine if the loop is convex.
32 33 |
# File 'lib/sketchup-api-stubs/stubs/Sketchup/Loop.rb', line 32 def convex? end |
#edges ⇒ Object
Get an array of the edges that define the loop in an ordered sequence.
51 52 |
# File 'lib/sketchup-api-stubs/stubs/Sketchup/Loop.rb', line 51 def edges end |
#edgeuses ⇒ Object
Get an array of the EdgeUse objects that define this loop in an ordered sequence.
71 72 |
# File 'lib/sketchup-api-stubs/stubs/Sketchup/Loop.rb', line 71 def edgeuses end |
#face ⇒ Object
Get the Face object that is bounded by this loop.
90 91 |
# File 'lib/sketchup-api-stubs/stubs/Sketchup/Loop.rb', line 90 def face end |
#outer? ⇒ Boolean
Determine if this is an outer loop. Each face has one outer loop, and will have one loop for each hole.
115 116 |
# File 'lib/sketchup-api-stubs/stubs/Sketchup/Loop.rb', line 115 def outer? end |
#vertices ⇒ Object
Get an array of the vertices that define the loop in an ordered sequence.
134 135 |
# File 'lib/sketchup-api-stubs/stubs/Sketchup/Loop.rb', line 134 def vertices end |