Plane.CreateFromVertices(Vector3, Vector3, Vector3) 方法

定义

创建一个 Plane 对象,其中包含三个指定的点。Creates a Plane object that contains three specified points.

public:
 static System::Numerics::Plane CreateFromVertices(System::Numerics::Vector3 point1, System::Numerics::Vector3 point2, System::Numerics::Vector3 point3);
public static System.Numerics.Plane CreateFromVertices (System.Numerics.Vector3 point1, System.Numerics.Vector3 point2, System.Numerics.Vector3 point3);
static member CreateFromVertices : System.Numerics.Vector3 * System.Numerics.Vector3 * System.Numerics.Vector3 -> System.Numerics.Plane
Public Shared Function CreateFromVertices (point1 As Vector3, point2 As Vector3, point3 As Vector3) As Plane

参数

point1
Vector3

定义平面的第一个点。The first point defining the plane.

point2
Vector3

定义平面的第二个点。The second point defining the plane.

point3
Vector3

定义平面的第三个点。The third point defining the plane.

返回

Plane

包含三个点的平面。The plane containing the three points.

适用于