#include <geometry.h>
Public Member Functions | |
Normal (float _x=0, float _y=0, float _z=0) | |
Normal | operator- () const |
Normal | operator+ (const Normal &v) const |
Normal & | operator+= (const Normal &v) |
Normal | operator- (const Normal &v) const |
Normal & | operator-= (const Normal &v) |
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 Vector &v) | |
float | operator[] (int i) const |
float & | operator[] (int i) |
Public Attributes | |
float | x |
float | y |
float | z |
Definition at line 148 of file geometry.h.
Normal::Normal | ( | float | _x = 0 , |
|
float | _y = 0 , |
|||
float | _z = 0 | |||
) | [inline] |
Definition at line 151 of file geometry.h.
Normal::Normal | ( | const Vector & | v | ) | [inline, explicit] |
Definition at line 193 of file geometry.h.
Normal Normal::operator- | ( | ) | const [inline] |
Definition at line 153 of file geometry.h.
Normal Normal::operator* | ( | float | f | ) | const [inline] |
Definition at line 172 of file geometry.h.
Normal& Normal::operator*= | ( | float | f | ) | [inline] |
Definition at line 176 of file geometry.h.
Normal Normal::operator/ | ( | float | f | ) | const [inline] |
Definition at line 180 of file geometry.h.
Normal& Normal::operator/= | ( | float | f | ) | [inline] |
Definition at line 185 of file geometry.h.
float Normal::LengthSquared | ( | ) | const [inline] |
Definition at line 190 of file geometry.h.
float Normal::Length | ( | ) | const [inline] |
float Normal::operator[] | ( | int | i | ) | const [inline] |
Definition at line 195 of file geometry.h.
float& Normal::operator[] | ( | int | i | ) | [inline] |
Definition at line 196 of file geometry.h.
float Normal::x |
Definition at line 198 of file geometry.h.
Referenced by AbsDot(), DifferentialGeometry::ComputeDifferentials(), Cross(), Dot(), DebugIntegrator::Li(), Transform::operator()(), operator*(), operator+(), operator+=(), operator-(), operator-=(), operator<<(), InfiniteAreaLight::Sample_L(), and ParamSet::ToString().
float Normal::y |
Definition at line 198 of file geometry.h.
Referenced by AbsDot(), DifferentialGeometry::ComputeDifferentials(), Cross(), Dot(), DebugIntegrator::Li(), Transform::operator()(), operator*(), operator+(), operator+=(), operator-(), operator-=(), operator<<(), InfiniteAreaLight::Sample_L(), and ParamSet::ToString().
float Normal::z |
Definition at line 198 of file geometry.h.
Referenced by AbsDot(), DifferentialGeometry::ComputeDifferentials(), Cross(), Dot(), DebugIntegrator::Li(), Transform::operator()(), operator*(), operator+(), operator+=(), operator-(), operator-=(), operator<<(), InfiniteAreaLight::Sample_L(), and ParamSet::ToString().