/// <summary> /// Prompt for the getting of a mesh torus. /// </summary> /// <param name="verticalFaces">The number of faces in the vertical direction.</param> /// <param name="aroundFaces">The number of faces in the around direction</param> /// <param name="torus">The torus geometry defined by the user.</param> /// <returns>The result of the getting operation.</returns> /// <since>7.0</since> public Commands.Result GetMesh(ref int verticalFaces, ref int aroundFaces, out Geometry.Torus torus) { IntPtr ptr_this = NonConstPointer(); torus = Geometry.Torus.Unset; uint rc = UnsafeNativeMethods.RHC_RhinoGetMeshTorus(ref torus, ref verticalFaces, ref aroundFaces, ptr_this); return((Commands.Result)rc); }
/// <summary> /// Prompt for the getting of a torus. /// </summary> /// <param name="torus">The torus geometry defined by the user.</param> /// <returns>The result of the getting operation.</returns> /// <since>7.0</since> public Commands.Result Get(out Geometry.Torus torus) { IntPtr ptr_this = NonConstPointer(); torus = Geometry.Torus.Unset; uint rc = UnsafeNativeMethods.RHC_RhinoGetTorus(ref torus, ptr_this); return((Commands.Result)rc); }