contains

open operator fun contains(vec: V): Boolean(source)

Check if a point is on this line.

This is a convenience operator function that checks if the location of the point is Location.ON.

Return

true if the point is on the line, false otherwise.

Parameters

vec

The point to check.