abstract class ConvexHull::Algorithm
- ConvexHull::Algorithm
- Reference
- Object
Included Modules
- Enumerable(ConvexHull::Point)
- Iterable(ConvexHull::Point)
Direct Known Subclasses
Defined in:
convex_hull/algorithm.crConstructors
- .new(points : Array(Tuple(Int32 | Float32 | Float64, Int32 | Float32 | Float64)))
- .new(points : Array(Point))
Instance Method Summary
-
#each(& : Point -> ) : Nil
Must yield this collection's elements to the block.
-
#each
Must return an
Iterator
over the elements in this collection.
Constructor Detail
def self.new(points : Array(Tuple(Int32 | Float32 | Float64, Int32 | Float32 | Float64)))
#
Instance Method Detail
Description copied from module Enumerable(ConvexHull::Point)
Must yield this collection's elements to the block.
def each
#
Description copied from module Iterable(ConvexHull::Point)
Must return an Iterator
over the elements in this collection.