Ray
Represents a transformable ray in a two-dimensional Euclidean space.
Implementations that use default-implemented members of this interface must make sure that the properties origin, direction and the copy method are independent of other members and the computational complexity of these members is trivial.
Inheritors
Properties
Returns the orientation of this object in reference to the origin of ComplexF.ONE.
Returns the position of this object in reference to the origin of Vector2F.ZERO.
Functions
Returns the closest point on this ray to the given point.
Returns the origin of this ray.
Returns the direction of this ray.
Returns true if this ray intersects the given annulus.
Returns true if this ray intersects the given circle.
Returns true if this ray intersects the given lineSegment.
Returns true if this ray intersects the given ray.
Returns true if this ray intersects the given rectangle.
Returns true if this ray intersects the given polygon.
Returns true if this ray intersects the given triangle.
Returns true if this ray intersects the given square.
Returns a copy of this object that is moved by a displacement.
Returns a copy of this object that is rotated around the point to the orientation.
Returns a copy of this object that is moved by a displacement and rotated by a rotation.
Returns a copy of this object that is moved by a displacement, rotated by a rotation, and scaled by a scaleFactor.
Returns a copy of this object that is moved to the position and rotated to the orientation.