Class (GI Struct)

Graphene-1.0GrapheneRaySince 1.4

A ray emitted from an origin in a given direction.

The contents of the graphene_ray_t structure are private, and should not be modified directly.

1.4

Index

Constructors

Properties

$gtype: GType<Ray>

Methods

  • Computes the distance of the closest approach between the given Graphene.Ray r and the point p.

    The closest approach to a ray from a point is the distance between the point and the projection of the point on the ray itself.

    Parameters

    Returns number

    the distance of the point