Class: Sevgi::Geometry::Equation::Linear

Inherits:
Equation
  • Object
show all
Defined in:
lib/sevgi/geometry/equation/linear.rb

Overview

Base class for unoriented linear equations.

An equation has no ordered endpoints, so it does not define intrinsic left and right sides. Signed shifts use a canonical direction only to select a normal: increasing x for non-vertical equations and increasing y for vertical equations. Positive distance moves to screen-left of that canonical direction.

Defined Under Namespace

Classes: Diagonal, Horizontal, Vertical