#include <geometry.h>
Public Member Functions | |
Point (float _x=0, float _y=0, float _z=0) | |
Point | operator+ (const Vector &v) const |
Point & | operator+= (const Vector &v) |
Vector | operator- (const Point &p) const |
Point | operator- (const Vector &v) const |
Point & | operator-= (const Vector &v) |
Point & | operator+= (const Point &p) |
Point | operator+ (const Point &p) const |
Point | operator* (float f) const |
Point & | operator*= (float f) |
Point | operator/ (float f) const |
Point & | operator/= (float f) |
float | operator[] (int i) const |
float & | operator[] (int i) |
Public Attributes | |
float | x |
float | y |
float | z |
Definition at line 94 of file geometry.h.
Point::Point | ( | float | _x = 0 , |
|
float | _y = 0 , |
|||
float | _z = 0 | |||
) | [inline] |
Definition at line 97 of file geometry.h.
Point Point::operator* | ( | float | f | ) | const [inline] |
Definition at line 127 of file geometry.h.
Point& Point::operator*= | ( | float | f | ) | [inline] |
Definition at line 130 of file geometry.h.
Point Point::operator/ | ( | float | f | ) | const [inline] |
Definition at line 134 of file geometry.h.
Point& Point::operator/= | ( | float | f | ) | [inline] |
Definition at line 138 of file geometry.h.
float Point::operator[] | ( | int | i | ) | const [inline] |
Definition at line 143 of file geometry.h.
float& Point::operator[] | ( | int | i | ) | [inline] |
Definition at line 144 of file geometry.h.
float Point::x |
Definition at line 146 of file geometry.h.
Referenced by Octree< NodeData, LookupProc >::addPrivate(), Hyperboloid::Area(), BBox::BBox(), DifferentialGeometry::ComputeDifferentials(), CreateLight(), VolumeGrid::Density(), Checkerboard3D< T >::Evaluate(), PerspectiveCamera::GenerateRay(), OrthoCamera::GenerateRay(), Hyperboloid::Hyperboloid(), BBox::Inside(), Sphere::Intersect(), Paraboloid::Intersect(), Hyperboloid::Intersect(), Disk::Intersect(), Cylinder::Intersect(), Cone::Intersect(), Sphere::IntersectP(), Paraboloid::IntersectP(), Hyperboloid::IntersectP(), Disk::IntersectP(), Cylinder::IntersectP(), Cone::IntersectP(), LookAt(), Octree< NodeData, LookupProc >::lookupPrivate(), Noise(), Transform::operator()(), operator+(), operator+=(), operator-(), operator<<(), BBox::Overlaps(), ProjectionLight::Projection(), NURBS::Refine(), Heightfield::Refine(), Sphere::Sample(), Disk::Sample(), Cylinder::Sample(), ParamSet::ToString(), and Union().
float Point::y |
Definition at line 146 of file geometry.h.
Referenced by Octree< NodeData, LookupProc >::addPrivate(), Hyperboloid::Area(), BBox::BBox(), DifferentialGeometry::ComputeDifferentials(), CreateLight(), VolumeGrid::Density(), MarbleTexture::Evaluate(), Checkerboard3D< T >::Evaluate(), PerspectiveCamera::GenerateRay(), OrthoCamera::GenerateRay(), Hyperboloid::Hyperboloid(), BBox::Inside(), Sphere::Intersect(), Paraboloid::Intersect(), Hyperboloid::Intersect(), Disk::Intersect(), Cylinder::Intersect(), Cone::Intersect(), Sphere::IntersectP(), Paraboloid::IntersectP(), Hyperboloid::IntersectP(), Disk::IntersectP(), Cylinder::IntersectP(), Cone::IntersectP(), LookAt(), Octree< NodeData, LookupProc >::lookupPrivate(), Noise(), Transform::operator()(), operator+(), operator+=(), operator-(), operator<<(), BBox::Overlaps(), ProjectionLight::Projection(), NURBS::Refine(), Heightfield::Refine(), Sphere::Sample(), Disk::Sample(), Cylinder::Sample(), ParamSet::ToString(), and Union().
float Point::z |
Definition at line 146 of file geometry.h.
Referenced by Octree< NodeData, LookupProc >::addPrivate(), Hyperboloid::Area(), BBox::BBox(), DifferentialGeometry::ComputeDifferentials(), CreateLight(), VolumeGrid::Density(), Checkerboard3D< T >::Evaluate(), PerspectiveCamera::GenerateRay(), Hyperboloid::Hyperboloid(), BBox::Inside(), Sphere::Intersect(), Paraboloid::Intersect(), Hyperboloid::Intersect(), Disk::Intersect(), Cylinder::Intersect(), Cone::Intersect(), Sphere::IntersectP(), Paraboloid::IntersectP(), Hyperboloid::IntersectP(), Disk::IntersectP(), Cylinder::IntersectP(), Cone::IntersectP(), LookAt(), Octree< NodeData, LookupProc >::lookupPrivate(), Noise(), Transform::operator()(), operator+(), operator+=(), operator-(), operator<<(), BBox::Overlaps(), NURBS::Refine(), Heightfield::Refine(), Sphere::Sample(), Disk::Sample(), ParamSet::ToString(), and Union().