mmcs-ruby / primitives

MIT License
2 stars 6 forks source link

Implement StraightLine #8

Closed Sakorni closed 1 year ago

Sakorni commented 3 years ago

For mirror method we need a line.

koenigsley commented 3 years ago

@Sakorni @Wolwer1nE please, rename the title from "Implement Line" to "Implement StraightLine" (because "Line" may be associated with "Ray", "Line segment" and "Straight line" but these primitives are different geometry objects). It matters because it will help contributors to correctly understand what they have to do.

Moberd commented 2 years ago

I will do it

Wolwer1nE commented 2 years ago

Line is an object described by k*x+b We need validation for inputs Check if lines are intersecting And distance from last line in issue.