Class CP::BB
In: doc_dummy.rb
Parent: Object

Basic 2D bounding box class.

Methods

clamp_vect   intersect?   new   to_s   wrap_vect  

Attributes

b  [RW]  Bottom.
l  [RW]  Left.
r  [RW]  Right.
t  [RW]  Top.

Public Class methods

Left, bottom, right and top.

Public Instance methods

Clamps v to self.

Test if the BBs intersect.

Wraps v to self.

[Validate]