HughPH.Box2D
Organised dotnet bindings for Box2D 3.1.0
Loading...
Searching...
No Matches
Public Attributes | List of all members
Box2D.SegmentDistanceResult Struct Reference

Result of computing the distance between two line segments. More...

Public Attributes

readonly Vec2 Closest1
 The closest point on the first segment.
 
readonly Vec2 Closest2
 The closest point on the second segment.
 
readonly float Fraction1
 The barycentric coordinate on the first segment.
 
readonly float Fraction2
 The barycentric coordinate on the second segment.
 
readonly float DistanceSquared
 The squared distance between the closest points.
 

Detailed Description

Result of computing the distance between two line segments.


The documentation for this struct was generated from the following file: