IDP.Math.KGeomLib.createPlaneByPointNormal() method
通过一个点和一个法向来创建平面。
Create a plane from a point and normal.
Signature:
createPlaneByPointNormal(point: KPoint3d, normal: KVector3d, xDirection?: KVector3d): KPlane;
Links: createPlaneByPointNormal(point: KPoint3d, normal: KVector3d, xDirection?: KVector3d): KPlane;
Parameters
Parameter | Type | Description |
---|---|---|
point | 平面的原点。 The origin point of the plane. | |
normal | 平面的法向。 The normal of the plane. | |
xDirection | (Optional) 平面的x方向,该参数为可选参数,如给出了,则需要保证是不平行于法向。 Candidate x direction of the plane, if it's not null, the caller need to make sure it's not parallel to normal. |
Returns:
三维平面。
The 3D plane.