#include <geometry.h>
Public Member Functions | |
| Normal () | |
| Normal (float xx, float yy, float zz) | |
| Normal | operator- () const |
| Normal | operator+ (const Normal &n) const |
| Normal & | operator+= (const Normal &n) |
| Normal | operator- (const Normal &n) const |
| Normal & | operator-= (const Normal &n) |
| bool | HasNaNs () const |
| Normal | operator* (float f) const |
| Normal & | operator*= (float f) |
| Normal | operator/ (float f) const |
| Normal & | operator/= (float f) |
| float | LengthSquared () const |
| float | Length () const |
| Normal (const Normal &n) | |
| Normal & | operator= (const Normal &n) |
| Normal (const Vector &v) | |
| float | operator[] (int i) const |
| float & | operator[] (int i) |
Public Attributes | |
| float | x |
| float | y |
| float | z |
Definition at line 208 of file geometry.h.
| Normal::Normal | ( | ) | [inline] |
Definition at line 211 of file geometry.h.
Referenced by operator*(), operator+(), operator-(), and operator/().
| Normal::Normal | ( | float | xx, | |
| float | yy, | |||
| float | zz | |||
| ) | [inline] |
Definition at line 212 of file geometry.h.
| Normal::Normal | ( | const Normal & | n | ) | [inline] |
| Normal::Normal | ( | const Vector & | v | ) | [inline, explicit] |
Definition at line 277 of file geometry.h.
References Assert, and Vector::HasNaNs().
| bool Normal::HasNaNs | ( | ) | const [inline] |
Definition at line 239 of file geometry.h.
Referenced by AbsDot(), Cross(), Dot(), Normal(), operator+(), operator+=(), operator-(), operator-=(), operator=(), and Vector::Vector().
| float Normal::Length | ( | ) | const [inline] |
| float Normal::LengthSquared | ( | ) | const [inline] |
| Normal Normal::operator* | ( | float | f | ) | const [inline] |
| Normal& Normal::operator*= | ( | float | f | ) | [inline] |
Definition at line 246 of file geometry.h.
| Normal Normal::operator- | ( | ) | const [inline] |
| Normal Normal::operator/ | ( | float | f | ) | const [inline] |
| Normal& Normal::operator/= | ( | float | f | ) | [inline] |
| float& Normal::operator[] | ( | int | i | ) | [inline] |
Definition at line 286 of file geometry.h.
| float Normal::operator[] | ( | int | i | ) | const [inline] |
Definition at line 281 of file geometry.h.
| float Normal::x |
Definition at line 292 of file geometry.h.
Referenced by AbsDot(), DifferentialGeometry::ComputeDifferentials(), Cross(), Dot(), HasNaNs(), LengthSquared(), GlossyPRTIntegrator::Li(), BSDF::LocalToWorld(), Normal(), Transform::operator()(), operator*(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), operator=(), operator[](), and SurfacePointsRenderer::Render().
| float Normal::y |
Definition at line 292 of file geometry.h.
Referenced by AbsDot(), DifferentialGeometry::ComputeDifferentials(), Cross(), Dot(), HasNaNs(), LengthSquared(), GlossyPRTIntegrator::Li(), BSDF::LocalToWorld(), Normal(), Transform::operator()(), operator*(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), operator=(), and SurfacePointsRenderer::Render().
| float Normal::z |
Definition at line 292 of file geometry.h.
Referenced by AbsDot(), DifferentialGeometry::ComputeDifferentials(), Cross(), Dot(), HasNaNs(), LengthSquared(), GlossyPRTIntegrator::Li(), BSDF::LocalToWorld(), Normal(), Transform::operator()(), operator*(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), operator=(), and SurfacePointsRenderer::Render().
1.6.3