Example #1
0
        public ConvexHullShape AddConvexHullShape(float3[] points, bool optimized = true)
        {
            IConvexHullShapeImp iConvexHullShapeImp = _dwi.AddConvexHullShape(points, optimized);
            var retval = new ConvexHullShape();

            retval._convexHullShapeImp     = iConvexHullShapeImp;
            iConvexHullShapeImp.UserObject = retval;
            return(retval);
        }
Example #2
0
        public ConvexHullShape AddConvexHullShape()
        {
            IConvexHullShapeImp iConvexHullShapeImp = _dwi.AddConvexHullShape();
            var retval = new ConvexHullShape();

            retval._convexHullShapeImp     = iConvexHullShapeImp;
            iConvexHullShapeImp.UserObject = retval;
            return(retval);
        }