public static bool DisjointMesh(PointObject op) { bool ret = C4dApiPINVOKE.DisjointMesh(PointObject.getCPtr(op)); return ret; }
private void setJointWeight(int tagPos, BaseObject op2,PointObject pObj) { BaseTag t = op2.GetTag(C4dApi.Tpointselection,tagPos); SelectionTag st = (SelectionTag) op2.GetTag(C4dApi.Tpolygonselection); BaseSelect SelectedPoints = st.GetBaseSelect(); if (t.GetName() == null) { } else { string selectioname = t.GetName(); for (int j = 0; j < this.wtagGlob.GetJointCount(); j++) { if (selectioname == this.wtagGlob.GetName()) { for (int i = 0; i < pObj.GetPointCount(); i++) { if (SelectedPoints.IsSelected(i)) { this.wtagGlob.SetWeight(1, i, 0.04); setJointWeight(tagPos + 1, op2, pObj); //C4dApi.GePrint("Der Punkt mit dem Index " + i + " ist selektiert"); } } } } } }
internal static HandleRef getCPtr(PointObject obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }