pointOnSegmentByFactor static method

Point pointOnSegmentByFactor(
  1. Segment segment, {
  2. required double factor,
})

Find a point X on a given segment AB such that d(AX)/d(AB) = factor, where factor is a given number in [0, 1].

Implementation

static mapkit_geometry_point.Point pointOnSegmentByFactor(
  mapkit_geometry_geometry.Segment segment, {
  required core.double factor,
}) {
  return _pointOnSegmentByFactor(
    segment,
    factor: factor,
  );
}