Skip to content

Commit

Permalink
Spelling fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Fraser Greenroyd committed Aug 3, 2023
1 parent b86a3bb commit 4c95e62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Geometry_Engine/Query/Distance.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public static double Distance(this Point a, Point b)

[Description("Computes and returns the Euclidean square distance between two points, that is the sum of the squares of the differences of each component.")]
[Input("a", "First Point for square distance computation.")]
[Input("b", "Second Point for square distance computation.")]
[Input("b", "Second Point for square distance computation.")]
[Output("sqDist", "The square distance between the two points.")]
public static double SquareDistance(this Point a, Point b)
{
Expand Down Expand Up @@ -123,7 +123,7 @@ public static double Distance(this Point point, Line line, bool infiniteSegment
[Description("Computes and returns the square distance between the Point and the closest point on the Line.")]
[Input("point", "Point for square distance computation.")]
[Input("line", "Line for square distance computation.")]
[Input("infiniteSegment", "If true, distance will be computed to the closest point on the infinite line. If false, the distance will be compated to the closest point on the finite line segment.")]
[Input("infiniteSegment", "If true, distance will be computed to the closest point on the infinite line. If false, the distance will be computed to the closest point on the finite line segment.")]
[Output("dist", "The Euclidean distance between the Point and the Line.", typeof(Length))]
public static double SquareDistance(this Point point, Line line, bool infiniteSegment = false)
{
Expand Down

0 comments on commit 4c95e62

Please sign in to comment.