Example #1
0
 public ModelingCommandData(BaseDocument doc, BaseObject op, BaseContainer bc, MODELINGCOMMANDMODE mode) : this(C4dApiPINVOKE.new_ModelingCommandData__SWIG_4(BaseDocument.getCPtr(doc), BaseObject.getCPtr(op), BaseContainer.getCPtr(bc), (int)mode), true)
 {
 }
Example #2
0
 public ModelingCommandData(BaseDocument doc, BaseObject op, BaseContainer bc, MODELINGCOMMANDMODE mode, MODELINGCOMMANDFLAGS flags, AtomArray result) : this(C4dApiPINVOKE.new_ModelingCommandData__SWIG_2(BaseDocument.getCPtr(doc), BaseObject.getCPtr(op), BaseContainer.getCPtr(bc), (int)mode, (int)flags, AtomArray.getCPtr(result)), true)
 {
 }
 public ModelingCommandData(BaseDocument doc, BaseObject op, BaseContainer bc, MODELINGCOMMANDMODE mode, MODELINGCOMMANDFLAGS flags, AtomArray result) : this(C4dApiPINVOKE.new_ModelingCommandData__SWIG_2(BaseDocument.getCPtr(doc), BaseObject.getCPtr(op), BaseContainer.getCPtr(bc), (int)mode, (int)flags, AtomArray.getCPtr(result)), true) {
 }
 public ModelingCommandData(BaseDocument doc, BaseObject op, BaseContainer bc, MODELINGCOMMANDMODE mode) : this(C4dApiPINVOKE.new_ModelingCommandData__SWIG_4(BaseDocument.getCPtr(doc), BaseObject.getCPtr(op), BaseContainer.getCPtr(bc), (int)mode), true) {
 }
Example #5
0
  public static int IntersectionTest(PolygonObject op, BaseDraw bd, double x, double y, ref Fusee.Math.Core.Matrix4D /* constMatrix&_cstype */ mg, SWIGTYPE_p_Real z, MODELINGCOMMANDMODE mode, SWIGTYPE_p_UCHAR pPointSelect, int lSelectCount) {
    double[] adbl_mg;
    unsafe {adbl_mg = Fusee.Math.ArrayConversion.Convert.Matrix4DToArrayDoubleC4DLayout(mg);    fixed (double *pdbl_mg = adbl_mg) {
    /* constMatrix&_csin_pre */
    try {
      int ret = C4dApiPINVOKE.IntersectionTest(PolygonObject.getCPtr(op), BaseDraw.getCPtr(bd), x, y, (IntPtr) pdbl_mg /* constMatrix&_csin */, SWIGTYPE_p_Real.getCPtr(z), (int)mode, SWIGTYPE_p_UCHAR.getCPtr(pPointSelect), lSelectCount);
      return ret;
    } finally {
        // NOP mg = Fusee.Math.ArrayConversion.Convert.ArrayDoubleC4DLayoutToMatrix4D(pdbl_mg);
        /* constMatrix&_csin_post */
    }
} } /* constMatrix&_csin_terminator */
  }