# cee::Ray

class `Ray`

  A ray that can be used for intersection testing.

  See also

  Camera::rayFromWindowCoordinates()

  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)

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your Docs generative AI assistant. Ask me anything about HOOPS Envision for Desktop or choose a sample question below to start a conversation:

What is HOOPS Envision for Desktop?
What are the latest release notes for HOOPS Envision for Desktop?
How do I start evaluating HOOPS Envision for Desktop?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...