public static void EdgeGetEndVertex( EdgeRef edgeRef, VertexRef vertexRef) { ThrowOut( EdgeGetEndVertex( edgeRef.intPtr, out vertexRef.intPtr), "Could not get end vertex."); }
public static void EdgeGetSmooth( EdgeRef edgeRef, out bool smooth) { ThrowOut( SUEdgeGetSmooth( edgeRef.intPtr, out smooth), "Could not get edge smooth."); }
public static void EdgeGetSoft( EdgeRef edgeRef, out bool soft) { ThrowOut( SUEdgeGetSoft( edgeRef.intPtr, out soft), "Could not get edge soft."); }
public static void FaceGetEdges( FaceRef faceRef, long len, EdgeRef[] edgeRefs, out long count) { IntPtr[] intPtrs = new IntPtr[edgeRefs.Length]; ThrowOut( SUFaceGetEdges( faceRef.intPtr, len, intPtrs, out count), "Could not get face edges."); for (int i = 0; i < edgeRefs.Length; ++i) { edgeRefs[i] = new EdgeRef(); edgeRefs[i].intPtr = intPtrs[i]; } }