Component.intersect

Checks whether the component intersects with another space.

  1. bool intersect(Point p)
  2. bool intersect(Space target)
    class Component
    override
    bool
    intersect

Parameters

target
Type: Space

The space to check for intersection with.

Return Value

Type: bool

True if the component intersects with a space.

Meta