Skip to content

purchease/ruby-geometry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Geometry in Ruby
================

Implementation of basic geometry algorithms and types.

Already implemented algorithms
==============================
  * Does segment contain point?  { Segment.contains_point? }
  * Are segments parralel? { Segment.parallel_to? }
  * Are vectors collinear? { Vector.collinear_with? }
  * Segment length { Segment.length }
  * Vector modulus { Vector.modulus }
  * Euclid distance { Geometry.distance }

Coming up
=========
  
  * Do segments intersect?
  * Segments intersection point
  * Trivial vector arithmetics
  * Does polygon contain point?

About

Simple geometry classes and algorithms in Ruby

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published