+
class ROOT::Math::Plane3D
-
library: libMathCore
#include "Plane3D.h"
Display options:
Show inherited
Show non-public

class ROOT::Math::Plane3D

Function Members (Methods)

public:
~Plane3D()
ROOT::Math::Plane3D::ScalarA()
ROOT::Math::Plane3D::ScalarB()
ROOT::Math::Plane3D::ScalarC()
ROOT::Math::Plane3D::ScalarD()
ROOT::Math::Plane3D::ScalarDistance(const ROOT::Math::Plane3D::Point& p) const
ROOT::Math::Plane3D::ScalarHesseDistance() const
ROOT::Math::Plane3D::VectorNormal() const
booloperator!=(const ROOT::Math::Plane3D& rhs) const
ROOT::Math::Plane3D&operator=(const ROOT::Math::Plane3D& plane)
booloperator==(const ROOT::Math::Plane3D& rhs) const
ROOT::Math::Plane3DPlane3D()
ROOT::Math::Plane3DPlane3D(const ROOT::Math::Plane3D&)
ROOT::Math::Plane3DPlane3D(const ROOT::Math::Plane3D::Vector& n, const ROOT::Math::Plane3D::Point& p)
ROOT::Math::Plane3DPlane3D(const ROOT::Math::Plane3D::Point& p1, const ROOT::Math::Plane3D::Point& p2, const ROOT::Math::Plane3D::Point& p3)
ROOT::Math::Plane3DPlane3D(const ROOT::Math::Plane3D::Scalar& a, const ROOT::Math::Plane3D::Scalar& b, const ROOT::Math::Plane3D::Scalar& c, const ROOT::Math::Plane3D::Scalar& d)
ROOT::Math::Plane3D::PointProjectOntoPlane(const ROOT::Math::Plane3D::Point& p) const
protected:
voidNormalize()

Data Members

private:
ROOT::Math::Plane3D::ScalarfA
ROOT::Math::Plane3D::ScalarfB
ROOT::Math::Plane3D::ScalarfC
ROOT::Math::Plane3D::ScalarfD

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

Plane3D(const ROOT::Math::Plane3D::Scalar& a, const ROOT::Math::Plane3D::Scalar& b, const ROOT::Math::Plane3D::Scalar& c, const ROOT::Math::Plane3D::Scalar& d)
renormalize a,b,c to unit
Plane3D(const ROOT::Math::Plane3D::Vector& n, const ROOT::Math::Plane3D::Point& p)
Plane3D(const ROOT::Math::Plane3D::Point& p1, const ROOT::Math::Plane3D::Point& p2, const ROOT::Math::Plane3D::Point& p3)
Scalar Distance(const ROOT::Math::Plane3D::Point& p) const
void Normalize()
 normalize the plane
XYZPoint ProjectOntoPlane(const ROOT::Math::Plane3D::Point& p) const
D( )
default constructor create plane z = 0

{ }
Plane3D(const ROOT::Math::Plane3D::Scalar& a, const ROOT::Math::Plane3D::Scalar& b, const ROOT::Math::Plane3D::Scalar& c, const ROOT::Math::Plane3D::Scalar& d)
generic constructors from the four scalar values describing the plane
according to the equation ax + by + cz + d = 0
\param a scalar value
\param b scalar value
\param c scalar value
\param d sxcalar value

Plane3D(const ROOT::Math::Plane3D::Vector& n, const ROOT::Math::Plane3D::Point& p)
constructor a Plane3D from a normal vector and a point coplanar to the plane
\param n normal expressed as a ROOT::Math::DisplacementVector3D<Cartesian3D<double> >
\param p point  expressed as a  ROOT::Math::PositionVector3D<Cartesian3D<double> >

Plane3D & operator=(const ROOT::Math::Plane3D& plane)
 compiler-generated copy ctor and dtor are fine.
 ------ assignment ------

Assignment operator from other Plane3D class

Scalar A()
Return the a coefficient of the plane equation \f$ a*x + b*y + c*z + d = 0 \f$. It is also the
x-component of the vector perpendicular to the plane.

{ return fA; }
Scalar B()
Return the b coefficient of the plane equation \f$ a*x + b*y + c*z + d = 0 \f$. It is also the
y-component of the vector perpendicular to the plane

{ return fB; }
Scalar C()
Return the c coefficient of the plane equation \f$ a*x + b*y + c*z + d = 0 \f$. It is also the
z-component of the vector perpendicular to the plane

{ return fC; }
Vector Normal()
Return normal vector to the plane as Cartesian DisplacementVector

Scalar HesseDistance()
Return the Hesse Distance (distance from the origin) of the plane or
the d coefficient expressed in normalize form

bool operator==(const ROOT::Math::Plane3D& rhs) const
 ------------------- Equality -----------------

Exact equality

bool operator!=(const ROOT::Math::Plane3D& rhs) const

Last update: root/mathcore:$Name: $:$Id: Plane3D.cxx,v 1.5 2006/06/19 09:02:24 moneta Exp $
Copyright (c) 2005 , LCG ROOT MathLib Team *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.