bfoz / sketch

Ruby framework for 2D mechanical sketches
3 stars 3 forks source link

Add quadrant commands #21

Open bfoz opened 10 years ago

bfoz commented 10 years ago

first_quadrant returns a new sketch translated such that it lies entirely in the first quadrant. If the sketch already does, then it returns self.

first_quadrant! is the same, but modifies self, as necessary.

first_quadrant? returns true if the sketch lies entirely in the first quadrant.

Add similar methods for the other quadrants.

bfoz commented 10 years ago

first_quadrant et al are implemented. Saving the rest for a rainy day.