Rechercher une page de manuel
WFMath_ZeroPrimitive
Langue: en
Version: 165305 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
WFMath::ZeroPrimitive - Utility class for providing zero primitives. This class will only work with simple structures such as Vector or Point which provide a m_elem structure. In order for it to access the m_elem structure it must be declared as a friend class of the class it will provide an instance of.SYNOPSIS
#include <zero.h>
Public Member Functions
ZeroPrimitive (int dim)
Ctor. An instance of Shape with zero values will be created at construction time.
const Shape & getShape () const
Gets the zeroed shape.
Detailed Description
template<typename Shape> class WFMath::ZeroPrimitive< Shape >
Utility class for providing zero primitives. This class will only work with simple structures such as Vector or Point which provide a m_elem structure. In order for it to access the m_elem structure it must be declared as a friend class of the class it will provide an instance of.Author:
- Erik Hjortsberg <erik@worldforge.org>
Constructor & Destructor Documentation
template<typename Shape> WFMath::ZeroPrimitive< Shape >::ZeroPrimitive (int dim) [inline]
Ctor. An instance of Shape with zero values will be created at construction time.
Parameters:
- dim The dimensions of the shape.
References WFMath::Shape< dim >::m_valid.
Author
Generated automatically by Doxygen for WFMath from the source code.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre