Adding geometry functions

Functions that return true or false if fulfilling given geometric condition.