Modifier

Partager via


EdgeUtilities.GetIntersectionPoint(Edge, Edge) Method

Definition

Returns the point at which two Edge values intersect.

public:
 static UnityEngine::Vector2 GetIntersectionPoint(Microsoft::MixedReality::Toolkit::Boundary::Edge edgeA, Microsoft::MixedReality::Toolkit::Boundary::Edge edgeB);
public static UnityEngine.Vector2 GetIntersectionPoint (Microsoft.MixedReality.Toolkit.Boundary.Edge edgeA, Microsoft.MixedReality.Toolkit.Boundary.Edge edgeB);
static member GetIntersectionPoint : Microsoft.MixedReality.Toolkit.Boundary.Edge * Microsoft.MixedReality.Toolkit.Boundary.Edge -> UnityEngine.Vector2
Public Shared Function GetIntersectionPoint (edgeA As Edge, edgeB As Edge) As Vector2

Parameters

edgeA
Edge

The first edge

edgeB
Edge

The second edge

Returns

UnityEngine.Vector2

A Vector2 representing the point at which the two edges intersect, InscribedRectangleDescription.InvalidPoint otherwise.

Applies to