Example #1
0
 public bool SetSelectedEdges(Neighbor e, BaseSelect pSel, EDGESELECTIONTYPE ltype) {
   bool ret = C4dApiPINVOKE.PolygonObject_SetSelectedEdges(swigCPtr, Neighbor.getCPtr(e), BaseSelect.getCPtr(pSel), (int)ltype);
   return ret;
 }
Example #2
0
 public BaseSelect GetSelectedEdges(Neighbor e, EDGESELECTIONTYPE ltype) {
   IntPtr cPtr = C4dApiPINVOKE.PolygonObject_GetSelectedEdges__SWIG_0(swigCPtr, Neighbor.getCPtr(e), (int)ltype);
   BaseSelect ret = (cPtr == IntPtr.Zero) ? null : new BaseSelect(cPtr, false);
   return ret;
 }
Example #3
0
 public BaseSelect GetSelectedEdges(Neighbor e, BaseSelect sel) {
   IntPtr cPtr = C4dApiPINVOKE.PolygonObject_GetSelectedEdges__SWIG_1(swigCPtr, Neighbor.getCPtr(e), BaseSelect.getCPtr(sel));
   BaseSelect ret = (cPtr == IntPtr.Zero) ? null : new BaseSelect(cPtr, false);
   return ret;
 }
Example #4
0
 public SWIGTYPE_p_Real CalcSurfaceDistancesFromPoint(PolygonObject pObject, int pindex, Neighbor pNeighbor) {
   IntPtr cPtr = C4dApiPINVOKE.BrushBase_CalcSurfaceDistancesFromPoint__SWIG_3(swigCPtr, PolygonObject.getCPtr(pObject), pindex, Neighbor.getCPtr(pNeighbor));
   SWIGTYPE_p_Real ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_Real(cPtr, false);
   return ret;
 }
Example #5
0
 public SWIGTYPE_p_Real CalcSurfaceDistancesFromPoint(PolygonObject pObject, int pindex, Neighbor pNeighbor, ref Fusee.Math.Core.Vector3D /* Vector*&_cstype */ pNormals) {
   IntPtr cPtr = C4dApiPINVOKE.BrushBase_CalcSurfaceDistancesFromPoint__SWIG_2(swigCPtr, PolygonObject.getCPtr(pObject), pindex, Neighbor.getCPtr(pNeighbor), ref pNormals /* Vector*&_csin */);
   SWIGTYPE_p_Real ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_Real(cPtr, false);
   return ret;
 }
Example #6
0
 public SWIGTYPE_p_Real CalcSurfaceDistances(PolygonObject pObject, BaseSelect selected, Neighbor pNeighbor) {
   IntPtr cPtr = C4dApiPINVOKE.BrushBase_CalcSurfaceDistances__SWIG_3(swigCPtr, PolygonObject.getCPtr(pObject), BaseSelect.getCPtr(selected), Neighbor.getCPtr(pNeighbor));
   SWIGTYPE_p_Real ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_Real(cPtr, false);
   return ret;
 }
Example #7
0
 public SWIGTYPE_p_Real CalcSurfaceDistances(PolygonObject pObject, BaseSelect selected, Neighbor pNeighbor, ref Fusee.Math.Core.Vector3D /* Vector*&_cstype */ pNormals, ref Fusee.Math.Core.Vector3D /* Vector*&_cstype */ pGlobalPoints) {
   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_Real ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_Real(cPtr, false);
   return ret;
 }
Example #8
0
 internal static HandleRef getCPtr(Neighbor obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }