Ejemplo n.º 1
0
        public bool GetNGons(PolygonObject op, SWIGTYPE_p_Int32 ngoncnt, SWIGTYPE_p_p_NgonNeighbor ngons)
        {
            bool ret = C4dApiPINVOKE.Neighbor_GetNGons(swigCPtr, PolygonObject.getCPtr(op), SWIGTYPE_p_Int32.getCPtr(ngoncnt), SWIGTYPE_p_p_NgonNeighbor.getCPtr(ngons));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 2
0
        public SWIGTYPE_p_Float CalcSurfaceDistancesFromPoint(PolygonObject pObject, int pindex)
        {
            global::System.IntPtr cPtr = C4dApiPINVOKE.BrushBase_CalcSurfaceDistancesFromPoint__SWIG_4(swigCPtr, PolygonObject.getCPtr(pObject), pindex);
            SWIGTYPE_p_Float      ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_Float(cPtr, false);

            return(ret);
        }
Ejemplo n.º 3
0
        public SWIGTYPE_p_Float CalcSurfaceDistances(PolygonObject pObject, BaseSelect selected)
        {
            global::System.IntPtr cPtr = C4dApiPINVOKE.BrushBase_CalcSurfaceDistances__SWIG_4(swigCPtr, PolygonObject.getCPtr(pObject), BaseSelect.getCPtr(selected));
            SWIGTYPE_p_Float      ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_Float(cPtr, false);

            return(ret);
        }
Ejemplo n.º 4
0
        public SWIGTYPE_p_Float CalcSurfaceDistancesFromPoint(PolygonObject pObject, int pindex, Neighbor pNeighbor, ref Fusee.Math.Core.double3 /* Vector*&_cstype */ pNormals)
        {
            global::System.IntPtr cPtr = C4dApiPINVOKE.BrushBase_CalcSurfaceDistancesFromPoint__SWIG_2(swigCPtr, PolygonObject.getCPtr(pObject), pindex, Neighbor.getCPtr(pNeighbor), ref pNormals /* Vector*&_csin */);
            SWIGTYPE_p_Float      ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_Float(cPtr, false);

            return(ret);
        }
Ejemplo n.º 5
0
        public SWIGTYPE_p_Float CalcSurfaceDistances(PolygonObject pObject, BaseSelect selected, Neighbor pNeighbor, ref Fusee.Math.Core.double3 /* Vector*&_cstype */ pNormals, ref Fusee.Math.Core.double3 /* Vector*&_cstype */ pGlobalPoints)
        {
            global::System.IntPtr cPtr = C4dApiPINVOKE.BrushBase_CalcSurfaceDistances__SWIG_1(swigCPtr, PolygonObject.getCPtr(pObject), BaseSelect.getCPtr(selected), Neighbor.getCPtr(pNeighbor), ref pNormals /* Vector*&_csin */, ref pGlobalPoints /* Vector*&_csin */);
            SWIGTYPE_p_Float      ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_Float(cPtr, false);

            return(ret);
        }