©2010 Google -
Code Home -
Terms of Service -
Privacy Policy -
Site Directory
Google Code offered in:
English -
Español -
日本語 -
한국어 -
Português -
Pусский -
中文(简体) -
中文(繁體)
A Vertex. A Vertex represents the end of an Edge or a point inside a Face.
The common_edge method is used to find a common edge that is defined by this vertex and another vertex
Arguments:
Returns:
edge = entities[0] # returns array of vertices that make up the line verticies = edge.vertices vertex1 = verticies[0] vertex2 = verticies[1] edge = vertex1.common_edge vertex2 if (edge) UI.messagebox edge else UI.messagebox "Failure" end
The curve_interior? method is used to determine if this vertex is on the interior of a Curve.
Returns:
edge = entities[0] # returns array of vertices that make up the line verticies = edge.vertices vertex1 = verticies[0] status = vertex1.curve_interior? if (status) UI.messagebox status else #returns nil if vertex is not on interior of a Curve UI.messagebox "Failure" end
The edges method is used to retrieve an Array of edges that use the Vertex.
Returns:
edge = entities[0] # Returns array of vertices that make up the line. verticies = edge.vertices vertex1 = verticies[0] edges = vertex1.edges
The faces method is used to retrieve an Array of faces that use the vertex.
Returns:
edge = entities[0] # Returns array of vertices that make up the line. verticies = edge.vertices vertex1 = verticies[0] faces = vertex1.faces
The loops method is used to retrieve an Array of loops that use the vertex.
Returns:
edge = entities[0] # Returns array of vertices that make up the line. verticies = edge.vertices vertex1 = verticies[0] loops = vertex1.loops
The position method is used to retrieve the Point3d position of a vertex.
Returns:
edge = entities[0] # Returns array of vertices that make up the line. verticies = edge.vertices vertex1 = verticies[0] position = vertex1.position
The used_by? method is used to determine if the Vertex is used by a given Edge or Face.
Arguments:
Returns:
used = vertex1.used_by? my_face