OGLplus (0.52.0) a C++ wrapper for OpenGL

Class implementing plane-related functionality. More...

#include </home/chochlik/devel/oglplus/include/oglplus/math/plane.hpp>

Public Member Functions

 Plane (T a, T b, T c, T d)
 construction from parameters
 
 Plane (const Vector< T, 4 > &v)
 Constructions from parameter vector.
 
const Vector< T, 4 > & Equation (void) const
 Retuns the plane's equation parameters.
 

Static Public Member Functions

static Plane FromTriangle (const Vector< T, 3 > &p0, const Vector< T, 3 > &p1, const Vector< T, 3 > &p2)
 Constructs a plane defined by points p0, p1, p2.
 
static Plane FromPointAndVectors (const Vector< T, 3 > &p, const Vector< T, 3 > &v1, const Vector< T, 3 > &v2)
 Constructs a plane defined by point p0 and vectors v1 and v2.
 
static Plane FromNormal (const Vector< T, 3 > &normal)
 Constructs a plane going through the origin from its normal vector.
 
static Plane FromPointAndNormal (const Vector< T, 3 > &point, const Vector< T, 3 > &normal)
 Constructs a plane from a point on in and its normal vector.
 

Detailed Description

template<typename T>
class oglplus::Plane< T >

Class implementing plane-related functionality.

Plane is a lightweight class allowing more natural construction and usage of 2D planes in 3D space.


The documentation for this class was generated from the following file:
  • /home/chochlik/devel/oglplus/include/oglplus/math/plane.hpp

Copyright © 2010-2014 Matúš Chochlík, University of Žilina, Žilina, Slovakia.
<matus.chochlik -at- fri.uniza.sk>
<chochlik -at -gmail.com>
Documentation generated on Mon Sep 22 2014 by Doxygen (version 1.8.6).