Add an axis aligned box in the geometry module.

Some naming questions:
- for "extend" we could also think of: "expand", "union", "add"
- same for "clamp": "crop", "intersect"
- same for "contains": "isInside", "intersect"
=> ah "intersect" is conflicting, so that eliminates this one !
This commit is contained in:
Gael Guennebaud
2008-10-26 15:04:31 +00:00
parent ec0a423862
commit 94f6f2a7de
7 changed files with 260 additions and 4 deletions

View File

@@ -203,7 +203,7 @@ public:
}
}
/** \returns the transformation of \c *this by the transformation matrix \a mat.
/** Applies the transformation matrix \a mat to \c *this and returns a reference to \c *this.
*
* \param mat the Dim x Dim transformation matrix
* \param traits specifies whether the matrix \a mat represents an Isometry
@@ -223,7 +223,7 @@ public:
return *this;
}
/** \returns the transformation of \c *this by the transformation \a t
/** Applies the transformation \a t to \c *this and returns a reference to \c *this.
*
* \param t the transformation of dimension Dim
* \param traits specifies whether the transformation \a t represents an Isometry