コード例 #1
0
        public FastHull3d Transformed(Trafo3d trafo)
        {
            var newFastHull = new FastHull3d()
            {
                Hull = this.Hull.Transformed(trafo)
            };

            newFastHull.MinCornerIndexArray =
                ComputeMinCornerIndexArray(newFastHull.Hull.PlaneArray);
            return(newFastHull);
        }
コード例 #2
0
 public void TransformInto(Trafo3d trafo, ref FastHull3d fastHull)
 {
     Hull.TransformInto(trafo, ref fastHull.Hull);
     ComputeMinCornerIndexArrayInto(fastHull.Hull.PlaneArray,
                                    fastHull.MinCornerIndexArray);
 }
コード例 #3
0
 public FastHull3d(FastHull3d fastHull)
 {
     Hull = new Hull3d(fastHull.Hull);
     MinCornerIndexArray = fastHull.MinCornerIndexArray.Copy();
 }