Developer Documentation
Centre for Vision, Speech & Signal Processing
USER IN NAMESPACE AMMA TREE ROOT AMMA SEARCH AMMA HOME
 

  PUBLIC
PlaneABCD3dC::PlaneABCD3dC(void)
PlaneABCD3dC::PlaneABCD3dC(RealT,RealT,RealT,RealT)
PlaneABCD3dC::PlaneABCD3dC(const Vector3dC &,RealT)
PlaneABCD3dC::PlaneABCD3dC(const Vector3dC &,const Point3dC &)
PlaneABCD3dC::PlaneABCD3dC(const PlaneABCD3dC &)
PlaneABCD3dC::PlaneABCD3dC(const Point3dC &,const Vector3dC &,const Vector3dC &)
PlaneABCD3dC::PlaneABCD3dC(const Point3dC &,const Point3dC &,const Point3dC &)
PlaneABCD3dC::Normal(void) const
PlaneABCD3dC::A(void) const
PlaneABCD3dC::B(void) const
PlaneABCD3dC::C(void) const
PlaneABCD3dC::D(void) const
PlaneABCD3dC::UnitNormal(void)
PlaneABCD3dC::Value(const Point3dC &) const
PlaneABCD3dC::DirEDistance(const Point3dC &) const
PlaneABCD3dC::EDistance(const Point3dC &) const
PlaneABCD3dC::ParallelPlane(const Point3dC &) const
PlaneABCD3dC::Intersection(const Line3dPVC &) const
PlaneABCD3dC::Intersection(const PlaneABCD3dC &,const PlaneABCD3dC &) const
PlaneABCD3dC::Intersection(const PlaneABCD3dC &) const
PlaneABCD3dC::operator>>(istream &,PlaneABCD3dC &)
PlaneABCD3dC
 
Plane in 3D space - equation Ax+By+Cz+D = 0
 
include "amma/Plan3abc.hh"
User Level:Default
Library:Mag3
Example:exMat2d.cc
Section:Geometry.3-D
In Scope:std

Variables:

Vector3dC normal;

RealT d;

Methods:
PlaneABCD3dC()
The non-existing plane (0,0,0,0).

PlaneABCD3dC(RealT aa,RealT bb,RealT cc,RealT dd)
The plane determined by the equation aa*x+bb*y+cc*z+dd = 0.

PlaneABCD3dC(const Vector3dC & n,RealT p)
Creates the plane determined by the vector equation n*x = p.

PlaneABCD3dC(const Vector3dC & n,const Point3dC & p)
Creates the plane with normal 'n' passing through the point 'p'.

PlaneABCD3dC(const PlaneABCD3dC & plane)
Copy constructor.

PlaneABCD3dC(const Point3dC & p,const Vector3dC & v1,const Vector3dC & v2)
The plane [p; v1; v2].

PlaneABCD3dC(const Point3dC & p1,const Point3dC & p2,const Point3dC & p3)
The plane passing through three points 'p1', 'p2', and 'p3'.

Vector3dC Normal() const
Returns the normal of the plane.

RealT A() const
Returns parameter a.

RealT B() const
Returns parameter b.

RealT C() const
returns parameter c.

RealT D() const
Returns parameter d.

PlaneABCD3dC & UnitNormal()
Normalizes the normal vector to be unit.

RealT Value(const Point3dC & p) const
Returns the value of the expression 'normal.Dot(p) + d' that is often used in analytical geometry.

RealT DirEDistance(const Point3dC & p) const
Returns the directed Euclidian distance of the point 'p' from this plane. If returned value is positive the point is in the direction of the plane normal.

RealT EDistance(const Point3dC & p) const
Returns the Euclidan distance of the point 'p' from this plane.

PlaneABCD3dC ParallelPlane(const Point3dC & p) const
Returns the plane parallel to this plane and passing through the point 'p'.

Point3dC Intersection(const Line3dPVC & l) const
Returns the point which is the intersection of this plane with the line 'l'. If the intersection does not exist the function exits the program.

Point3dC Intersection(const PlaneABCD3dC & planeB,const PlaneABCD3dC & planeC) const
Returns the point which is the intersection of three planes. If the intersection does not exist the function exits the program.

Line3dPVC Intersection(const PlaneABCD3dC & plane) const
Returns the line which is the intersection of this plane with the plane 'plane'. If the intersection does not exist the function exits the program.

istream & operator>>(istream & inS,PlaneABCD3dC & plane)


Programmer:Radek Marik, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001