module Lustra::Expression::Geometric::Node

Direct including types

Defined in:

lustra/extensions/geometric/node.cr

Instance Method Summary

Instance Method Detail

def above?(other) #

[View source]
def below?(other) #

[View source]
def closer_than?(other, max_distance) #

[View source]
def contained_by?(other) #

[View source]
def contains?(other) #

Containment operations


[View source]
def distance_from(other) #

Distance operations


[View source]
def distance_to(other) #

Alias for distance_from


[View source]
def farther_than?(other, min_distance) #

[View source]
def intersects?(other) #

Intersection operations


[View source]
def left_of?(other) #

Positioning operations


[View source]
def nearest_to?(other, max_distance) #

[View source]
def overlaps?(other) #

Overlap operations


[View source]
def right_of?(other) #

[View source]
def same_as?(other) #

[View source]
def within?(other) #

[View source]
def within_distance?(other, distance) #

Proximity operations (combining distance with comparison)


[View source]
def within_radius?(center, radius) #

[View source]