Struct
Representation of planes.
表示平面。
A plane is defined by a normal vector and distance from the origin to the plane.
一个平面是由一个向量法线和从原点到平面的距离定义的。
Variables变量
Constructors构造器
Functions函数
-
Sets a plane using a point that lies within it plus a normal to orient it (note that the normal must be a normalised vector).
设置平面上的点和法线的朝向(注意法线必须是规范化的向量)。
-
Sets a plane using three points that lie within it. The points go around clockwise as you look down on the top surface of the plane.
使用三个点来设置平面。点环绕顺时针方向,正如看到的平面的顶面。
-
Distance from plane to point.
从平面到点的距离。
-
Is a point on the positive side of the plane?
一个点在平面的正面么?
-
Are two points on the same side of the plane?
两个点在平面的同一侧么。
-
Intersects a ray with the plane.
一条射线和平面相交。
Page last updated: 2011-9-16