Graphite
Version 3
An experimental 3D geometry processing program
|
#include <geogram/basic/geometry.h>
Public Member Functions | |
Plane (const vec3 &p1, const vec3 &p2, const vec3 &p3) | |
Constructs the plane passing through three points. More... | |
Plane (const vec3 &p, const vec3 &n) | |
Constructs a plane passign through a point and orthogonal to a vector. More... | |
Plane (double a_in, double b_in, double c_in, double d_in) | |
Constructs a plane from the coefficients of its equation. | |
Plane () | |
Constructs an uninitialized plane. | |
vec3 | normal () const |
Gets the normal vector of the plane. | |
Public Attributes | |
double | a |
double | b |
double | c |
double | d |
A 3D Plane.
The plane is represented by the coefficients a,b,c,d of its equation \( ax + by + cz + d = 0 \).
Definition at line 607 of file geometry.h.
Constructs the plane passing through three points.
[in] | p1 | first point |
[in] | p2 | second point |
[in] | p3 | third point |
Definition at line 615 of file geometry.h.
Constructs a plane passign through a point and orthogonal to a vector.
[in] | p | the point |
[in] | n | the vector |
Definition at line 629 of file geometry.h.