Public Member Functions | |
pure subroutine | abs_shape_get_distance (shape, point, distance, direction) |
If the point lies inside the shape, the distance is negative and the direction points to the closest point on the shape. If the point lies outiside the shape, the distance is positive and the direction points in the opposite direction to the closest point on the shape.
[in] | shape | any shape |
[in] | point | any point |
[out] | distance | signed closest distance from the point to the shape |
[out] | direction | signed direction from the point to the closest point on the shape |