Class: Sketchup::Vertex
- Defined in:
- lib/sketchup-api-stubs/stubs/Sketchup/Vertex.rb
Overview
A Vertex. A Vertex represents the end of an Edge or a point inside a Face.
Instance Method Summary collapse
-
#common_edge(vertex2) ⇒ Sketchup::Edge?
The common_edge method is used to find a common edge that is defined by this vertex and another vertex.
-
#curve_interior? ⇒ Boolean
The #curve_interior? method is used to determine if this vertex is on the interior of a Curve.
-
#edges ⇒ Array<Sketchup::Edge>
The edges method is used to retrieve an Array of edges that use the Vertex.
-
#faces ⇒ Array<Sketchup::Face>
The faces method is used to retrieve an Array of faces that use the vertex.
-
#loops ⇒ Array<Sketchup::Loop>
The loops method is used to retrieve an Array of loops that use the vertex.
-
#position ⇒ Geom::Point3d
The position method is used to retrieve the Point3d position of a vertex.
-
#used_by?(face_or_edge) ⇒ Boolean
The used_by? method is used to determine if the Vertex is used by a given Edge or Face.
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
#common_edge(vertex2) ⇒ Sketchup::Edge?
The common_edge method is used to find a common edge that is defined by this vertex and another vertex
35 36 |
# File 'lib/sketchup-api-stubs/stubs/Sketchup/Vertex.rb', line 35 def common_edge(vertex2) end |
#curve_interior? ⇒ Boolean
This method doesn’t actually return a boolean as the question mark post-fix would normally indicate. But the result still evaluates to truthy or falsy.
The #curve_interior? method is used to determine if this vertex is on the interior of a Curve.
61 62 |
# File 'lib/sketchup-api-stubs/stubs/Sketchup/Vertex.rb', line 61 def curve_interior? end |
#edges ⇒ Array<Sketchup::Edge>
The edges method is used to retrieve an Array of edges that use the Vertex.
76 77 |
# File 'lib/sketchup-api-stubs/stubs/Sketchup/Vertex.rb', line 76 def edges end |
#faces ⇒ Array<Sketchup::Face>
The faces method is used to retrieve an Array of faces that use the vertex.
92 93 |
# File 'lib/sketchup-api-stubs/stubs/Sketchup/Vertex.rb', line 92 def faces end |
#loops ⇒ Array<Sketchup::Loop>
The loops method is used to retrieve an Array of loops that use the vertex.
108 109 |
# File 'lib/sketchup-api-stubs/stubs/Sketchup/Vertex.rb', line 108 def loops end |
#position ⇒ Geom::Point3d
The position method is used to retrieve the Point3d position of a vertex.
124 125 |
# File 'lib/sketchup-api-stubs/stubs/Sketchup/Vertex.rb', line 124 def position end |
#used_by?(face_or_edge) ⇒ Boolean
The used_by? method is used to determine if the Vertex is used by a given Edge or Face.
139 140 |
# File 'lib/sketchup-api-stubs/stubs/Sketchup/Vertex.rb', line 139 def used_by?(face_or_edge) end |