cee::Ray

class Ray

A ray that can be used for intersection testing.

Public Functions

Ray()

Constructs and empty ray object.

Ray(const Ray &other)

Copy constructor.

Ray &operator=(const Ray &other)

Assignment operator.

Vec3d origin() const

Returns the ray origin.

void setOrigin(const Vec3d &orig)

Sets the origin (starting point) of the ray.

Vec3d direction() const

Returns the ray direction.

void setDirection(const Vec3d &dir)

Sets the direction of the ray.

double pointAndLineSizeInPixels() const

Returns the point and line size in pixels.

void setPointAndLineSizeInPixels(double sizeInPixels)

Sets the point and line size (in pixels)