Class: StraightSkeleton::Vertex
- Inherits:
-
Object
- Object
- StraightSkeleton::Vertex
- Includes:
- Node
- Defined in:
- lib/nswtopo/geometry/straight_skeleton/vertex.rb
Instance Attribute Summary
Attributes included from Node
#neighbours, #normals, #original, #point, #travel
Instance Method Summary collapse
-
#initialize(nodes, point) ⇒ Vertex
constructor
A new instance of Vertex.
Methods included from Node
#active?, #index, #next, #prev, #project, #reflex?, #splits?, #terminal?
Constructor Details
#initialize(nodes, point) ⇒ Vertex
Returns a new instance of Vertex.
5 6 7 |
# File 'lib/nswtopo/geometry/straight_skeleton/vertex.rb', line 5 def initialize(nodes, point) @original, @nodes, @point, @neighbours, @normals, @travel = self, nodes, point, [nil, nil], [nil, nil], 0 end |