Logo Search packages:      
Sourcecode: blender version File versions  Download package

MT_Plane3 Class Reference

#include <MT_Plane3.h>

Inheritance diagram for MT_Plane3:


List of all members.

Detailed Description

MT_Plane3.h 14444 2008-04-16 22:40:48Z hos

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

The Original Code is Copyright (C) 2001-2002 by NaN Holding BV. All rights reserved.

The Original Code is: all of this file.

Contributor(s): none yet.

***** END GPL LICENSE BLOCK ***** A simple 3d plane class.

This class represents a plane in 3d. The internal parameterization used is n.x + d =0 where n is a unit vector and d is a scalar.

It inherits data from MT_Tuple4 please see this class for low level access to the internal representation.

Definition at line 46 of file MT_Plane3.h.

Public Member Functions

void getValue (double *v) const
void getValue (float *v) const
const MT_Scalar * getValue () const
MT_Scalar * getValue ()
void Invert ()
 MT_Plane3 (const MT_Plane3 &p)
 MT_Plane3 ()
 MT_Plane3 (const MT_Vector3 &n, const MT_Vector3 &p)
 MT_Plane3 (const MT_Vector3 &a, const MT_Vector3 &b, const MT_Vector3 &c)
MT_Vector3 Normal () const
MT_Plane3operator= (const MT_Plane3 &rhs)
const MT_Scalar & operator[] (int i) const
MT_Scalar & operator[] (int i)
MT_Scalar Scalar () const
void setValue (MT_Scalar xx, MT_Scalar yy, MT_Scalar zz, MT_Scalar ww)
void setValue (const double *v)
void setValue (const float *v)
MT_Scalar signedDistance (const MT_Vector3 &) const
const MT_Scalar & w () const
MT_Scalar & w ()
const MT_Scalar & x () const
MT_Scalar & x ()
const MT_Scalar & y () const
MT_Scalar & y ()
const MT_Scalar & z () const
MT_Scalar & z ()

Protected Attributes

MT_Scalar m_co [4]

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index