Declaration

func GSRoundPointToDirection(
    _ point: NSPoint,
    _ unitVector: NSPoint,
    _ grid: GSGridSettings
) -> NSPoint

Declaration

NSPoint GSRoundPointToDirection(
    NSPoint point,
    NSPoint unitVector,
    GSGridSettings grid
);

Declaration

GSRoundPointToDirection(
    point: NSPoint,
    unitVector: NSPoint,
    grid: GSGridSettings
) -> NSPoint

See Also

Rounding and Grid