| |
- add(a, b)
- angle2D(p1, p2)
- distance(p1, p2)
- distancePointToLine(point, line_start, line_end, perpendicular=False)
- Return the minimum distance between point and the line (line_start, line_end)
- distancePointToPolygon(point, polygon, perpendicular=False)
- Return the minimum distance between point and polygon
- dotProduct(a, b)
- fromNaviDegree(degrees)
- isWithin(pos, shape)
- length(a)
- lineOffsetWithMinimumDistanceToPoint(point, line_start, line_end, perpendicular=False)
- Return the offset from line (line_start, line_end) where the distance to
point is minimal
- minAngleDegreeDiff(d1, d2)
- move2side(shape, amount)
- mul(a, x)
- narrow(fromPos, pos, toPos, amount)
- detect narrow turns which cannot be shifted regularly
- naviDegree(rad)
- norm(a)
- normalizeAngle(a, lower, upper, circle)
- orthoIntersection(a, b)
- polyLength(polygon)
- polygonOffsetAndDistanceToPoint(point, polygon, perpendicular=False)
- Return the offset and the distance from the polygon start where the distance to the point is minimal
- polygonOffsetWithMinimumDistanceToPoint(point, polygon, perpendicular=False)
- Return the offset from the polygon start where the distance to the point is minimal
- positionAtOffset(p1, p2, offset)
- positionAtShapeOffset(shape, offset)
- sideOffset(fromPos, toPos, amount)
- sub(a, b)
|