BWAPI
|
Go to the source code of this file.
Classes | |
class | Arr_plane_3< Kernel_ > |
Functions | |
template<class Kernel > | |
CGAL::Object | intersect (const Arr_plane_3< Kernel > &plane1, const Arr_plane_3< Kernel > &plane2) |
template<class Kernel > | |
Kernel::Point_2 | construct_projected_xy_point (const Arr_plane_3< Kernel > &plane, const typename Kernel::Point_3 &p) |
template<class Kernel > | |
std::ostream & | operator<< (std::ostream &os, const Arr_plane_3< Kernel > &plane) |
Construct and maintain a plane in 3D that contains the origin. A plane is defined by 4 coordinates, namely a, b, c, and d. When the plane contains the origin, the last coordinate d vanishes. This simplifies arithmetic expressions involved with the construction of the plane and other operations applied to planes.
Kernel::Point_2 construct_projected_xy_point | ( | const Arr_plane_3< Kernel > & | plane, |
const typename Kernel::Point_3 & | p | ||
) |
Compute the image point of the projection of p under an affine transformation, which maps the plane onto the xy-plane, with the z-coordinate removed.
plane | the plane |
p | the point |
CGAL::Object intersect | ( | const Arr_plane_3< Kernel > & | plane1, |
const Arr_plane_3< Kernel > & | plane2 | ||
) |
Intersect 2 planes
plane1 | the first plane |
plane2 | the second plane |
std::ostream& operator<< | ( | std::ostream & | os, |
const Arr_plane_3< Kernel > & | plane | ||
) | [inline] |
Export a plane to an output stream
os | the output stream |
plane | the plane |