Class: Sketchup::Loop
| Relationships | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
Entity
|
|
|
Instance Chain:
self,
Entity
|
|
| Inherits: |
Sketchup::Entity
|
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 Attribute Summary
-
#convex? ⇒ Boolean
readonly
Determine if the loop is convex.
-
#outer? ⇒ Boolean
readonly
Determine if this is an outer loop.
Entity - Inherited
Instance Method Summary
-
#edges ⇒ Object
Get an array of the edges that define the loop in an ordered sequence.
-
#edgeuses ⇒ Object
Get an array of the
EdgeUseobjects that define this loop in an ordered sequence. -
#face ⇒ Object
Get the
Faceobject that is bounded by this loop. -
#vertices ⇒ Object
Get an array of the vertices that define the loop in an ordered sequence.
Entity - Inherited
| #add_observer | The add_observer method is used to add an observer to the current object. |
| #attribute_dictionaries | The attribute_dictionaries method is used to retrieve the |
| #attribute_dictionary | The attribute_dictionary method is used to retrieve an attribute dictionary with a given name that is attached to an |
| #delete_attribute | The |
| #entityID | The entityID method is used to retrieve a unique ID assigned to an entity. |
| #get_attribute | The |
| #inspect | The |
| #model | The model method is used to retrieve the model for the entity. |
| #parent | The parent method is used to retrieve the parent of the entity. |
| #persistent_id | The |
| #remove_observer | The remove_observer method is used to remove an observer from the current object. |
| #set_attribute | The set attribute is used to set the value of an attribute in an attribute dictionary with the given name. |
| #to_s | The |
| #typename | The typename method retrieves the type of the entity, which will be a string such as “Face”, “Edge”, or “Group”. |
Instance Attribute Details
#convex? ⇒ Boolean (readonly)
Determine if the loop is convex.
#outer? ⇒ Boolean (readonly)
Determine if this is an outer loop. Each face has one outer loop, and will have one loop for each hole.
Instance Method Details
#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.
#vertices ⇒ Object
Get an array of the vertices that define the loop in an ordered sequence.