feat: add PointDistance

This commit is contained in:
dudaodong committed 2023-03-23 17:49:07 +08:00
1 parent c28803b25e
commit cde5946bf0
3 files changed
+27

No files matched your search

+9
View File
@@ -254,3 +254,12 @@ func ExampleRadianToAngle() {
// 90
// 45
}
func ExamplePointDistance() {
result1 := PointDistance(1, 1, 4, 5)
fmt.Println(result1)
// Output:
// 5
}