getProjectionRatio static method
@brief Calculate the division ratio of a segment by a given point Calculate projection point on a segment @param segment segment of calculation @see Segment "Segment" @param point point of calculation @see Point "Point" @return division ratio
Dart code snippet: @snippet geometry_utils_example.dart dart_GeometryUtils_getProjectionRatio
Implementation
static double getProjectionRatio(Segment segment, Point point) => $prototype.getProjectionRatio(segment, point);