File-By-File
BoundingBox

BoundingBox

Utilities for verifying if a point is within a certain area. It is not recommended to use this class directly.

Methods

validate(double number, double min, double max)

Checks if a number is within a given range, with a small tolerance.

isPointInBox(PointXY point, double minX, double minY, double maxX, double maxY)

Checks if a PointXY is within a rectangular area defined by minimum and maximum x and y coordinates.

isPointInLine(PointXY point, Line line)

Checks if a PointXY is within the bounding box of a Line.