Beispiel #1
0
 public bool ValidateEdgeSelection(BaseSelect sel) {
   bool ret = C4dApiPINVOKE.PolygonObject_ValidateEdgeSelection__SWIG_0(swigCPtr, BaseSelect.getCPtr(sel));
   return ret;
 }
Beispiel #2
0
 public bool GetEdgeSelection(BaseSelect sel, EDGESELECTIONTYPE type) {
   bool ret = C4dApiPINVOKE.PolygonObject_GetEdgeSelection(swigCPtr, BaseSelect.getCPtr(sel), (int)type);
   return ret;
 }
Beispiel #3
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;
 }
Beispiel #4
0
 public void GetHiddenNgons(BaseSelect sel) {
   C4dApiPINVOKE.PolygonObject_GetHiddenNgons(swigCPtr, BaseSelect.getCPtr(sel));
 }
Beispiel #5
0
 public SWIGTYPE_p_Real CalcSurfaceDistances(PolygonObject pObject, BaseSelect selected) {
   IntPtr cPtr = C4dApiPINVOKE.BrushBase_CalcSurfaceDistances__SWIG_4(swigCPtr, PolygonObject.getCPtr(pObject), BaseSelect.getCPtr(selected));
   SWIGTYPE_p_Real ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_Real(cPtr, false);
   return ret;
 }
Beispiel #6
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;
 }
Beispiel #7
0
 public virtual bool Init(int pcnt, CPolygon vadr, int vcnt, BaseSelect bs) {
   bool ret = C4dApiPINVOKE.Neighbor_Init(swigCPtr, pcnt, CPolygon.getCPtr(vadr), vcnt, BaseSelect.getCPtr(bs));
   return ret;
 }
Beispiel #8
0
 public SWIGTYPE_p_Real CalcSurfaceDistances(PolygonObject pObject, BaseSelect selected, Neighbor pNeighbor, ref Fusee.Math.Core.Vector3D /* Vector*&_cstype */ pNormals) {
   IntPtr cPtr = C4dApiPINVOKE.BrushBase_CalcSurfaceDistances__SWIG_2(swigCPtr, PolygonObject.getCPtr(pObject), BaseSelect.getCPtr(selected), Neighbor.getCPtr(pNeighbor), ref pNormals /* Vector*&_csin */);
   SWIGTYPE_p_Real ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_Real(cPtr, false);
   return ret;
 }
Beispiel #9
0
 public bool Deselect(BaseSelect src) {
   bool ret = C4dApiPINVOKE.BaseSelect_Deselect__SWIG_1(swigCPtr, BaseSelect.getCPtr(src));
   return ret;
 }
Beispiel #10
0
 public bool Merge(BaseSelect src) {
   bool ret = C4dApiPINVOKE.BaseSelect_Merge(swigCPtr, BaseSelect.getCPtr(src));
   return ret;
 }
Beispiel #11
0
 public bool CopyTo(BaseSelect dest) {
   bool ret = C4dApiPINVOKE.BaseSelect_CopyTo(swigCPtr, BaseSelect.getCPtr(dest));
   return ret;
 }
Beispiel #12
0
 internal static HandleRef getCPtr(BaseSelect obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Beispiel #13
0
 public bool Cross(BaseSelect src) {
   bool ret = C4dApiPINVOKE.BaseSelect_Cross(swigCPtr, BaseSelect.getCPtr(src));
   return ret;
 }