Exemplo n.º 1
0
        /// <summary>
        /// 生成投影到TriFace上的pts
        /// </summary>
        /// <param name="rect"></param>
        /// <returns></returns>
        Vector3d[] CreateProjectionToTriFacePts(Vector3d[] pts)
        {
            Vector3d[] cellProjectionRect = new Vector3d[pts.Length];

            for (int i = 0; i < pts.Length; i++)
            {
                geoAlgo.SolveCrossPoint(pts[i], floorGridNormal, vertexs[0], triFaceNormal, out cellProjectionRect[i]);
            }

            return(cellProjectionRect);
        }