| HerdSoftware
    0.3.2
    | 
A rectangle in 3D space. More...
#include <Rectangle.h>
 
  
 | Public Member Functions | |
| Rectangle () | |
| Rectangle (std::array< Point, 3 > points) | |
|  Public Member Functions inherited from Herd::Parallelogram | |
| Parallelogram () | |
| virtual | ~Parallelogram ()=default | 
| Destructor.  More... | |
| Parallelogram (std::array< Point, 3 > points) | |
| Herd::Plane | Plane () const | 
| Gets the plane on which the parallelogram lies.  More... | |
| std::array< Point, 4 > | Vertices () const | 
| Gets the vertices of the parallelogram.  More... | |
| Point | Intersection (const Line &line) const | 
| Computes the intersection point of the given line with the parallelogram.  More... | |
| bool | Contains (const Point &point) const | 
| Checks if the parallelogram contains the given point.  More... | |
| bool | operator== (const Parallelogram &rhs) const | 
| Comparison operator.  More... | |
| bool | operator!= (const Parallelogram &rhs) const | 
| Additional Inherited Members | |
|  Protected Attributes inherited from Herd::Parallelogram | |
| Herd::Plane | _plane | 
| std::array< Vec3D, 2 > | _vertices | 
A rectangle in 3D space.
This class describes a rectangular region on a plane in 3D space.
| 
 | inline | 
Constructor.
Builds an unspecified rectangle.
| Herd::Rectangle::Rectangle | ( | std::array< Point, 3 > | points | ) | 
Constructor.
Builds the rectangular region whose three vertices are given by the three points passed as argument (the fourth is automatically deduced).
| points | The points defining the rectangle. | 
| #Exception | if the given points do not define a rectangle. | 
 1.8.13
 1.8.13