alchemist-interfaces / it.unibo.alchemist.model.interfaces.geometry / GeometricShape / contains

contains

abstract fun contains(vector: S): Boolean

Check if the shape contains a vector.

Parameters

vector - the position vector

Return
true if the vector is contained in the shape