|
Points&Forces (core)
Software tools facilitating the task of surveying architecture
|
a plane More...
#include <a_plane.h>
Inheritance diagram for a_plane:
Collaboration diagram for a_plane:Classes | |
| class | plane_parallel_error |
| class | segment_parallel_error |
Public Member Functions | |
| a_plane () | |
| a_plane (const a_point &p1, const a_point &p2, const a_point &p3) | |
| plane defined by three points More... | |
| a_plane (const a_plane &p) | |
| virtual const std::string | classname () |
| a_point | n () const |
| normal to the plane (direction: given by rotation p1-p2-p3) More... | |
| double | d0 () const |
| closest distance to origin More... | |
| void | d0 (const double d) |
| a_point | p0 () const |
| closest point to origin More... | |
| double | dist (const a_point &p) const |
| distance between p and plane More... | |
| a_point | closest (const a_point &p) const |
| point on the plane closest to p More... | |
| a_point | intersect (const a_segment &s) const |
| intersection of plane with a segment More... | |
| a_segment | intersect (const a_plane &p) const |
| intersection of plane with another plane More... | |
| bool | contains (const a_point &p) const |
| check whether point is in plane More... | |
| void | move (a_coord c) |
| virtual void | read (std::istream &i) |
| virtual void | write (std::ostream &o) const |
Public Member Functions inherited from a_3dh | |
| a_3dh () | |
| a_3dh (double x, double y, double z, double t=1.) | |
| a_3dh (double *x) | |
| a_3dh (const a_point &p) | |
| a_3dh (const a_mat &m) | |
| void | set (double x, double y, double z, double t=1.) |
| void | set (double *x) |
| void | set (const a_point &p) |
| a_point | point () const |
| void | X (double v) |
| void | Y (double v) |
| void | Z (double v) |
| void | T (double v) |
| double | X () const |
| double | Y () const |
| double | Z () const |
| double | T () const |
| double | x () const |
| double | y () const |
| double | z () const |
Public Member Functions inherited from a_mat_c | |
| a_mat_c (UI i, double v=0) | |
| a_mat_c (int i, double v=0) | |
| a_mat_c & | operator= (const a_mat &m) |
| double & | operator() (const UI i) |
| double | operator() (const UI i) const |
| double | sumsq () const |
| double | norm () const |
| void | normalise () |
Public Member Functions inherited from a_mat | |
| a_mat (UI i, UI j, double v=0) | |
| a_mat (int i, int j, double v=0) | |
| a_mat (const a_mat &m) | |
| ~a_mat () | |
| UI | maxi () const |
| UI | maxj () const |
| UI | size () const |
| std::valarray< double > & | x () const |
| virtual double & | operator() (const UI i, const UI j) |
| virtual double | operator() (const UI i, const UI j) const |
| a_mat & | operator= (const a_mat &m) |
| bool | operator== (const a_mat &a) |
| a_mat & | operator- () |
| a_mat & | operator+= (const a_mat &a) |
| a_mat | operator+ (const a_mat &a) |
| a_mat & | operator-= (const a_mat &a) |
| a_mat | operator- (const a_mat &a) |
| a_mat & | operator*= (double v) |
| a_mat | operator* (double v) |
| a_mat & | operator/= (double v) |
| a_mat | operator/ (double v) |
| a_mat | transpose () |
| void | swapc (UI c1, UI c2) |
| void | swapr (UI r1, UI r2) |
| a_mat | sub_matrix (const UI i, const UI j) const |
Public Member Functions inherited from a_base | |
| a_base () | |
| void | read (const std::string &file_in) |
| void | write (const std::string &file_out) const |
| void | small (double tol) |
| double | small () const |
Static Public Member Functions | |
| static const std::string | help () |
Static Public Member Functions inherited from a_3dh | |
| static const std::string | help () |
Static Public Member Functions inherited from a_mat_base | |
| static const std::string | help () |
Static Public Member Functions inherited from a_base | |
| static const std::string | help () |
Friends | |
| std::istream & | operator>> (std::istream &i, a_plane &m) |
| std::ostream & | operator<< (std::ostream &o, const a_plane &m) |
Additional Inherited Members | |
Protected Attributes inherited from a_mat | |
| UI | maxi_ |
| UI | maxj_ |
| std::valarray< double > * | x_ |
Protected Attributes inherited from a_base | |
| double | verysmall_ |
plane defined by three points
(X,Y,Z: normal to plane)
T:distance from (0,0,0) to plane in direction of n
Definition at line 46 of file a_plane.cxx.
Here is the call graph for this function:
|
inline |
|
inlinevirtual |
return class name: should be overridden by children classes
Reimplemented from a_mat_base.
point on the plane closest to p
Definition at line 71 of file a_plane.cxx.
Here is the call graph for this function:
Here is the caller graph for this function:| bool a_plane::contains | ( | const a_point & | p | ) | const |
check whether point is in plane
Definition at line 113 of file a_plane.cxx.
Here is the call graph for this function:
|
inline |
|
inline |
| double a_plane::dist | ( | const a_point & | p | ) | const |
distance between p and plane
Definition at line 66 of file a_plane.cxx.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 22 of file a_plane.cxx.
Here is the call graph for this function:
Here is the caller graph for this function:intersection of plane with another plane
Definition at line 89 of file a_plane.cxx.
Here is the call graph for this function:intersection of plane with a segment
Definition at line 76 of file a_plane.cxx.
Here is the call graph for this function:| void a_plane::move | ( | a_coord | c | ) |
| a_point a_plane::n | ( | ) | const |
normal to the plane (direction: given by rotation p1-p2-p3)
Definition at line 56 of file a_plane.cxx.
Here is the call graph for this function:
Here is the caller graph for this function:| a_point a_plane::p0 | ( | ) | const |
closest point to origin
Definition at line 61 of file a_plane.cxx.
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
read object from stream: should be overridden by children classes
Reimplemented from a_mat.
Definition at line 137 of file a_plane.cxx.
Here is the call graph for this function:
|
virtual |
write object to stream: should be overridden by children classes
Reimplemented from a_mat.
Definition at line 147 of file a_plane.cxx.
Here is the call graph for this function:
|
friend |
Definition at line 161 of file a_plane.cxx.
|
friend |
Definition at line 155 of file a_plane.cxx.