#include <geometry.h>
Public Member Functions | |
| Point () | |
| Point (float xx, float yy, float zz) | |
| Point (const Point &p) | |
| Point & | operator= (const Point &p) |
| 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) |
| bool | HasNaNs () const |
Public Attributes | |
| float | x |
| float | y |
| float | z |
Definition at line 120 of file geometry.h.
| Point::Point | ( | ) | [inline] |
Definition at line 123 of file geometry.h.
Referenced by operator*(), operator+(), operator-(), and operator/().
| Point::Point | ( | float | xx, | |
| float | yy, | |||
| float | zz | |||
| ) | [inline] |
Definition at line 124 of file geometry.h.
| Point::Point | ( | const Point & | p | ) | [inline] |
| bool Point::HasNaNs | ( | ) | const [inline] |
Definition at line 199 of file geometry.h.
Referenced by RayDifferential::HasNaNs(), Ray::HasNaNs(), operator*(), operator+(), operator+=(), operator-(), operator=(), and Point().
| Point Point::operator* | ( | float | f | ) | const [inline] |
| Point& Point::operator*= | ( | float | f | ) | [inline] |
Definition at line 177 of file geometry.h.
Definition at line 145 of file geometry.h.
References Assert, Vector::HasNaNs(), Vector::x, x, Vector::y, y, Vector::z, and z.
Definition at line 160 of file geometry.h.
References Assert, Vector::HasNaNs(), Vector::x, x, Vector::y, y, Vector::z, and z.
| Point Point::operator/ | ( | float | f | ) | const [inline] |
| Point& Point::operator/= | ( | float | f | ) | [inline] |
Definition at line 185 of file geometry.h.
| float& Point::operator[] | ( | int | i | ) | [inline] |
Definition at line 195 of file geometry.h.
| float Point::operator[] | ( | int | i | ) | const [inline] |
Definition at line 190 of file geometry.h.
| float Point::x |
Definition at line 204 of file geometry.h.
Referenced by Octree< NodeData >::addPrivate(), Hyperboloid::Area(), BBox::BBox(), DifferentialGeometry::ComputeDifferentials(), CreatePointLight(), CreateSpotLight(), Checkerboard3DTexture< T >::Evaluate(), PerspectiveCamera::GenerateRayDifferential(), HasNaNs(), Hyperboloid::Hyperboloid(), SubsurfaceOctreeNode::Insert(), 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(), IntersectP(), BBox::Lerp(), LookAt(), Octree< NodeData >::lookupPrivate(), Noise(), octreeChildBound(), BBox::Offset(), Transform::operator()(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), operator=(), operator[](), BBox::Overlaps(), Point(), ProjectionLight::Projection(), NURBS::Refine(), Heightfield::Refine(), SurfacePointsRenderer::Render(), CreateRadianceProbes::Render(), AggregateTest::Render(), Sphere::Sample(), Disk::Sample(), Cylinder::Sample(), Union(), and UseRadianceProbes::UseRadianceProbes().
| float Point::y |
Definition at line 204 of file geometry.h.
Referenced by Octree< NodeData >::addPrivate(), Hyperboloid::Area(), BBox::BBox(), DifferentialGeometry::ComputeDifferentials(), CreatePointLight(), CreateSpotLight(), MarbleTexture::Evaluate(), Checkerboard3DTexture< T >::Evaluate(), PerspectiveCamera::GenerateRayDifferential(), HasNaNs(), Hyperboloid::Hyperboloid(), SubsurfaceOctreeNode::Insert(), 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(), IntersectP(), BBox::Lerp(), LookAt(), Octree< NodeData >::lookupPrivate(), Noise(), octreeChildBound(), BBox::Offset(), Transform::operator()(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), operator=(), BBox::Overlaps(), Point(), ProjectionLight::Projection(), NURBS::Refine(), Heightfield::Refine(), SurfacePointsRenderer::Render(), CreateRadianceProbes::Render(), AggregateTest::Render(), Sphere::Sample(), Disk::Sample(), Cylinder::Sample(), Union(), and UseRadianceProbes::UseRadianceProbes().
| float Point::z |
Definition at line 204 of file geometry.h.
Referenced by Octree< NodeData >::addPrivate(), Hyperboloid::Area(), BBox::BBox(), DifferentialGeometry::ComputeDifferentials(), CreatePointLight(), CreateSpotLight(), Checkerboard3DTexture< T >::Evaluate(), PerspectiveCamera::GenerateRayDifferential(), HasNaNs(), Hyperboloid::Hyperboloid(), SubsurfaceOctreeNode::Insert(), 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(), IntersectP(), BBox::Lerp(), LookAt(), Octree< NodeData >::lookupPrivate(), Noise(), octreeChildBound(), BBox::Offset(), Transform::operator()(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), operator=(), BBox::Overlaps(), Point(), NURBS::Refine(), Heightfield::Refine(), SurfacePointsRenderer::Render(), CreateRadianceProbes::Render(), AggregateTest::Render(), Sphere::Sample(), Disk::Sample(), Union(), and UseRadianceProbes::UseRadianceProbes().
1.6.3