### Get String Representation of Line - RhinoCommon - N/A Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Geometry.Line.md Constructs a string representation of the line in the format "From,To". This method returns a text string representing the line's start and end points. -------------------------------- ### Compute Point at Length - RhinoCommon - N/A Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Geometry.Line.md Computes a point located at a specific metric distance from the line's origin (start point). If the line start and end points coincide, the start point is always returned. The 'distance' parameter can be positive, zero, or negative. -------------------------------- ### Create Blend Surface - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Geometry.Brep.md Makes a surface blend between two surface edges. Parameters: - face0: First face to blend from. - edge0: First edge to blend from. - domain0: The domain of edge0 to use. - rev0: If false, edge0 will be used in its natural direction. If true, edge0 will be used in the reversed direction. - continuity0: Continuity for the blend at the start. - face1: Second face to blend from. - edge1: Second edge to blend from. - domain1: The domain of edge1 to use. - rev1: If false, edge1 will be used in its natural direction. If true, edge1 will be used in the reversed direction. - continuity1: Continuity for the blend at the end. Returns: Array of Breps if successful. -------------------------------- ### AcceptNothing - RhinoCommon C# Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Input.Custom.GetBaseClass.md Allows the user to press Enter to skip selecting an object or point during a Get operation. -------------------------------- ### AddOptionDouble - RhinoCommon C# Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Input.Custom.GetBaseClass.md Adds a command line option specifically for getting numbers, automatically saving the entered value. -------------------------------- ### AddOptionColor - RhinoCommon C# Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Input.Custom.GetBaseClass.md Adds a command line option specifically for getting colors, automatically saving the selected value. -------------------------------- ### Getting Box Mapping Parameters (RhinoCommon API Description) Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Render.TextureMapping.md Description: Get a box projection from the texture mapping, including capped information. Parameters: - plane: The center of the box is at plane.origin and the sides of the box are parallel to the plane's coordinate planes. - dx: The "front" and "back" sides of the box are in spanned by the vectors plane.yaxis and plane.zaxis. The back plane contains the point plane.PointAt(dx[0],0,0) and the front plane contains the point plane.PointAt(dx[1],0,0). - dy: The "left" and "right" sides of the box are in spanned by the vectors plane.zaxis and plane.xaxis. The left plane contains the point plane.PointAt(0,dx[0],0) and the back plane contains the point plane.PointAt(0,dy[1],0). - dz: The "top" and "bottom" sides of the box are in spanned by the vectors plane.xaxis and plane.yaxis. The bottom plane contains the point plane.PointAt(0,0,dz[0]) and the top plane contains the point plane.PointAt(0,0,dz[1]). - capped: true if box mapping is capped. Returns: Returns true if a valid box is returned. -------------------------------- ### AcceptUndo - RhinoCommon C# Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Input.Custom.GetBaseClass.md Allows the user to select an 'Undo' option during a Get operation. -------------------------------- ### Getting Surface Domain - API Description Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Geometry.Surface.md Retrieves the parameter domain of the surface along a specified direction (U or V). The 'direction' parameter specifies which domain to retrieve. Returns an interval representing the domain. ```API Description Description: Gets the domain in a direction. Parameters: direction: 0 gets first parameter, 1 gets second parameter. Returns: An interval value. ``` -------------------------------- ### Getting Custom Mapping Mesh (RhinoCommon API Description) Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Render.TextureMapping.md Description: Get custom mapping mesh from this texture mapping. Parameters: - mesh: Returns: True if custom mapping mesh was returned. -------------------------------- ### Getting Cylindrical Mapping Parameters (RhinoCommon API Description) Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Render.TextureMapping.md Description: Get a cylindrical projection parameters from this texture mapping. Parameters: - cylinder: - capped: will be true if capped Returns: Returns true if a valid cylinder is returned. -------------------------------- ### AcceptPoint - RhinoCommon C# Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Input.Custom.GetBaseClass.md Allows the user to type in a point during a Get operation. If a point is entered, GetResult.Point is returned, and RhinoGet.Point() can retrieve the value. -------------------------------- ### AcceptColor - RhinoCommon C# Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Input.Custom.GetBaseClass.md Allows the user to type in a color (r,g,b or name) during a Get operation. If a color is entered, GetResult.Color is returned, and RhinoGet.Color() can retrieve the value. Note that if the get accepts points, only color names can be typed. -------------------------------- ### Getting Plane Mapping Parameters (RhinoCommon API Description) Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Render.TextureMapping.md Description: Get plane mapping parameters from this texture mapping, including capping information. Parameters: - plane: - dx: Portion of the plane's x axis that is mapped to [0,1] - dy: Portion of the plane's y axis that is mapped to [0,1] - dz: Portion of the plane's z axis that is mapped to [0,1] - capped: Returns: Return true if valid plane mapping parameters were returned. -------------------------------- ### AcceptString - RhinoCommon C# Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Input.Custom.GetBaseClass.md Allows the user to type in a string during a Get operation. If a string is entered, GetResult.String is returned, and RhinoGet.String() can retrieve the value. -------------------------------- ### Get Plane Containing Line - RhinoCommon - N/A Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Geometry.Line.md Gets a plane that contains the line, with the plane's origin located at the start of the line. The method attempts to return a plane parallel to the world XY, YZ, or ZX plane if possible. The resulting plane is returned via the 'plane' out parameter on success. It returns true if a containing plane could be found. -------------------------------- ### AcceptNumber - RhinoCommon C# Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Input.Custom.GetBaseClass.md Allows the user to type in a number during a Get operation. If a number is entered, GetResult.Number is returned, and RhinoGet.Number() can retrieve the value. For GetPoint, setting acceptZero to false prevents "0" from returning (0,0,0) instead of the number zero. -------------------------------- ### Getting Spherical Mapping Parameters (RhinoCommon API Description) Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Render.TextureMapping.md Description: Get a spherical projection parameters from this texture mapping. Parameters: - sphere: /// Returns: Returns true if a valid sphere is returned. -------------------------------- ### Evaluating Texture Mapping (RhinoCommon API Description) Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Render.TextureMapping.md Description: Evaluate the mapping to get a texture coordinate. Parameters: - p: Vertex location - n: If the mapping projection is ray_projection, then this is the vertex unit normal. Otherwise n is ignored. - t: Texture coordinate (u,v,w) - pXform: Transformation to be applied to P before performing the mapping calculation. - nXform: Transformation to be applied to N before performing the mapping calculation. One way to calculate nXxform is to use the call pXform::GetVectorTransform(nXform). Returns: Nonzero if evaluation is successful. When the mapping is a box or capped cylinder mapping, the value indicates which side was evaluated. Cylinder mapping: 1 = cylinder wall, 2 = bottom cap, 3 = top cap Box mapping: 1 = front, 2 = right, 3 = back, 4 = left, 5 = bottom, 6 = top -------------------------------- ### Getting Surface Degree - API Description Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Geometry.Surface.md Retrieves the maximum algebraic degree of the surface along a specified parameter direction (U or V). The 'direction' parameter determines which domain is considered. Returns the maximum degree found. ```API Description Description: Returns the maximum algebraic degree of any span (or a good estimate if curve spans are not algebraic). Parameters: direction: 0 gets first parameter's domain, 1 gets second parameter's domain. Returns: The maximum degree. ``` -------------------------------- ### Create Blend Shape Curve - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Geometry.Brep.md Makes a curve blend between points on two surface edges. The blend will be tangent to the surfaces and perpendicular to the edges. Parameters: - face0: First face to blend from. - edge0: First edge to blend from. - t0: Location on first edge for first end of blend curve. - rev0: If false, edge0 will be used in its natural direction. If true, edge0 will be used in the reversed direction. - continuity0: Continuity for the blend at the start. - face1: Second face to blend from. - edge1: Second edge to blend from. - t1: Location on second edge for second end of blend curve. - rev1: If false, edge1 will be used in its natural direction. If true, edge1 will be used in the reversed direction. - continuity1: >Continuity for the blend at the end. Returns: The blend curve on success. null on failure -------------------------------- ### FromOnBrep in RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Runtime.Interop.md Copies data from a Rhino_DotNet brep object to a new RhinoCommon brep class instance. The returned object is an independent copy. Parameters: - source: RMA.OpenNURBS.IOnBrep or RMA.OpenNURBS.OnBrep. Returns: RhinoCommon object on success. This will be an independent copy. -------------------------------- ### CommandLineOptionFromNativePointer in RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Runtime.Interop.md Creates a command line option object from a native pointer. This object does not manage the lifetime of the underlying pointer. Parameters: - ptrCommandLineOption: [No description provided] Returns: [No description provided] -------------------------------- ### Creating Surface Parameter Mapping (RhinoCommon API Description) Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Render.TextureMapping.md Description: Create a mapping that will convert surface parameters into normalized(0,1)x(0,1) texture coordinates. Returns: TextureMapping instance or null if failed. -------------------------------- ### Creating Geometry with RhinoCommon C# Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/README.md Demonstrates basic usage of the RhinoCommon API in C# to create a Circle object and convert it into a NurbsCurve. ```C# // Example of using RhinoCommon API using Rhino.Geometry; // Creating a circle Circle circle = new Circle(Point3d.Origin, 10.0); // Getting a curve from the circle Curve curve = circle.ToNurbsCurve(); ``` -------------------------------- ### CreateFromNativePointer in RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Runtime.Interop.md Constructs a RhinoCommon Geometry class instance from a given native ON_Geometry* pointer. The native geometry object must be allocated on the heap, and its memory management is subsequently controlled by RhinoCommon. Parameters: - pGeometry: ON_Geometry* Returns: The appropriate geometry class in RhinoCommon on success. -------------------------------- ### Create Boolean Union - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Geometry.Brep.md Compute the Boolean Union of a set of Breps. -------------------------------- ### Joining Multiple RhinoCommon Breps (C#) Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Geometry.Brep.md Static function that joins multiple Breps from an input enumerable collection at overlapping edges within specified distance and angle tolerances. Aims to form the minimum possible number of resulting Breps. An optional output parameter indexMap can track which input Breps contributed to each result. Returns an array of new joined Breps or null on failure. ```C# Brep[] JoinBreps(IEnumerable brepsToJoin, double tolerance, double angleTolerance, out List indexMap) ``` -------------------------------- ### Create Baseball Sphere - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Geometry.Brep.md Creates a brep representation of the sphere with two similar trimmed NURBS surfaces, and no singularities. Parameters: - center: The center of the sphere. - radius: The radius of the sphere. - tolerance: Used in computing 2d trimming curves. If >= 0.0, then the max of ON_0.0001 * radius and RhinoMath.ZeroTolerance will be used. Returns: A new brep, or null on error. -------------------------------- ### Joining Naked Edges within RhinoCommon Brep (C#) Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Geometry.Brep.md Joins pairs of naked edges within the same Brep instance that overlap within a specified tolerance. Returns the number of joins successfully made. ```C# int JoinNakedEdges(double tolerance) ``` -------------------------------- ### AcceptEnterWhenDone - RhinoCommon C# Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Input.Custom.GetBaseClass.md Enables the 'Done' button in the GetPointOptions dialog on Mac for instances that prompt "Press Enter when Done" but do not call AcceptNothing(). -------------------------------- ### ReadDictionary - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads a complete from the archive. Returns: The newly instantiated object. -------------------------------- ### Joining Edges within RhinoCommon Brep (C#) Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Geometry.Brep.md Joins two naked edges, or edges that are coincident or close together within the same Brep instance. Requires the indices of the two edges to join and a join tolerance. An optional compact flag can be set to false if joining multiple pairs sequentially to maintain index validity, requiring a final Brep.Compact() call. Returns true on success. ```C# bool JoinEdges(int edgeIndex0, int edgeIndex1, double joinTolerance, bool compact) ``` -------------------------------- ### Create Boolean Intersection - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Geometry.Brep.md Compute the Solid Intersection of two Breps. Parameters: - firstBrep: First Brep for boolean intersection. - secondBrep: Second Brep for boolean intersection. - tolerance: Tolerance to use for intersection operation. - manifoldOnly: If true, non-manifold input breps are ignored. Returns: An array of Brep results or null on failure. -------------------------------- ### ColorToABGR in RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Runtime.Interop.md Converts a color object to the internal ABGR format used by Rhino. Parameters: - c: [No description provided] Returns: [No description provided] -------------------------------- ### Creating Spherical Texture Mapping (RhinoCommon API Description) Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Render.TextureMapping.md Description: Takes a sphere in world space used to define a spherical coordinate system. The longitude parameter maps (0,2pi) to texture "u" (0,1). The latitude parameter maps (-pi/2,+pi/2) to texture "v" (0,1). The radial parameter maps (0,r) to texture "w" (0,1). Returns: TextureMapping instance if input is valid. -------------------------------- ### AcceptCustomMessage - RhinoCommon C# Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Input.Custom.GetBaseClass.md No description -------------------------------- ### Joining Another Brep to RhinoCommon Brep (C#) Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Geometry.Brep.md Merges a copy of another Brep into the current Brep instance if any edges overlap within a specified tolerance. Optionally compacts the resulting Brep by setting flags/tolerances and removing unused components. Returns true if any edges were successfully joined. ```C# bool Join(Brep otherBrep, double tolerance, bool compact) ``` -------------------------------- ### Create Boolean Difference - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Geometry.Brep.md Compute the Solid Difference of two Breps. Parameters: - firstBrep: First Brep for boolean difference. - secondBrep: Second Brep for boolean difference. - tolerance: Tolerance to use for difference operation. - manifoldOnly: If true, non-manifold input breps are ignored. Returns: An array of Brep results or null on failure. -------------------------------- ### Validating Topology of RhinoCommon Brep (C#) Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Geometry.Brep.md Tests the topological information of a Brep for validity. An optional output parameter log can capture a brief English description of any topological problems for debugging purposes. This is often the first validation check performed. ```C# bool IsValidTopology(out string log) ``` -------------------------------- ### Copy Trim Curves - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Geometry.Brep.md Copy all trims from a Brep face onto a surface. Parameters: - trimSource: Brep face which defines the trimming curves. - surfaceSource: The surface to trim. - tolerance: Tolerance to use for rebuilding 3D trim curves. Returns: A brep with the shape of surfaceSource and the trims of trimSource or null on failure. -------------------------------- ### Evaluating Surface Mathematically - API Description Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Geometry.Surface.md Evaluates the surface at a given (u, v) parameter pair, optionally computing derivatives. The 'point' parameter receives the evaluated point, and 'derivatives' receives an array of vectors if requested (can be null). Returns true on success, false otherwise. ```API Description Description: Evaluates a surface mathematically. Parameters: u: A U parameter. v: A V parameter. numberDerivatives: The number of derivatives. point: A point. This out parameter will be assigned during this call. derivatives: A vector array. This out parameter will be assigned during this call. This can be null. Returns: true if the operation succeeded; false otherwise. ``` -------------------------------- ### SeekFromCurrentPosition - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Seeks from current position ( like fseek( ,SEEK_CUR) ) in the archive. -------------------------------- ### AddOption - RhinoCommon C# Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Input.Custom.GetBaseClass.md Adds a command line option. The option name must only contain letters and numbers. An optional localized value can be displayed. Options can be hidden, requiring the full name to be typed. -------------------------------- ### Fit Line to Points - RhinoCommon - N/A Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Geometry.Line.md Attempts to fit a line through a given set of points. The method takes an array of 'points' and returns the resulting fitted line via the 'fitLine' out parameter on success. It returns true if a line could be successfully fitted, false otherwise. -------------------------------- ### Fitting New Surface - API Description Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Geometry.Surface.md Fits a new surface through an existing surface with specified degrees in U and V directions and a given tolerance. The degrees must be greater than 1. Returns the new fitted surface or null on error. ```API Description Description: Fits a new surface through an existing surface. Parameters: uDegree: the output surface U degree. Must be bigger than 1. vDegree: the output surface V degree. Must be bigger than 1. fitTolerance: The fitting tolerance. Returns: A surface, or null on error. ``` -------------------------------- ### NativeNonConstPointer in RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Runtime.Interop.md Retrieves the CRhinoDisplayPipeline* pointer for a DisplayPipeline instance. Parameters: - pipeline: [No description provided] Returns: [No description provided] -------------------------------- ### Create Boolean Split - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Geometry.Brep.md Splits shared areas of Breps and creates separate Breps from the shared and unshared parts. Parameters: - firstBrep: The Brep to split. - secondBrep: The cutting Brep. - tolerance: Tolerance to use for splitting operation. When in doubt, use the document's model absolute tolerance. Returns: An array of Brep if successful, an empty array on failure. -------------------------------- ### Validating Tolerances and Flags of RhinoCommon Brep (C#) Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Geometry.Brep.md Expert user function to check the validity of a Brep's tolerances and flags. This method requires both IsValidTopology() and IsValidGeometry() to return true before being safely called. An optional output parameter log provides a brief English description of any issues for debugging purposes. ```C# bool IsValidTolerancesAndFlags(out string log) ``` -------------------------------- ### FromOnMesh in RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Runtime.Interop.md Copies data from a Rhino_DotNet mesh object to a new RhinoCommon mesh class instance. The returned object is an independent copy. Parameters: - source: RMA.OpenNURBS.IOnMesh or RMA.OpenNURBS.OnMesh. Returns: RhinoCommon object on success. This will be an independent copy. -------------------------------- ### Converting RhinoCommon Brep Geometry to NURBS (C#) Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Geometry.Brep.md Expert user function that converts all geometry within the Brep to NURBS form. Note: No support is available for this function. ```C# void MakeValidForV2() ``` -------------------------------- ### ReadRenderSettings - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads a -derived object from the archive. Returns: The element that was read. -------------------------------- ### Translating Surface Parameter to NURBS Form Parameter - API Description Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Geometry.Surface.md Translates a parameter value from the current surface's parameter space to the corresponding parameter space of its NURBS representation obtained via a method (likely `ToNurbs()`). ```API Description Description: Translates a parameter from the current surface to the parameter space of the surface returned by . Parameters: Returns: ``` -------------------------------- ### Create Boolean Difference With Index Map - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Geometry.Brep.md Compute the solid difference between two sets of Breps. Parameters: - firstSet: The set to be differenced from. - secondSet: The set to difference with. - tolerance: Tolerance to use for the boolean operation. - manifoldOnly: If true, non-manifold input breps are ignored. - indexMap: results[i] is the result if subtracting something from firstSet[indexMap[i]]. Returns: An array of Brep results or null on failure. May be empty if all of the firstSet is differenced away. -------------------------------- ### Fitting Curve to Surface - API Description Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Geometry.Surface.md Fits or projects a 3D curve onto the surface, potentially creating a trim curve and a split curve. Parameters control projection direction, tolerance, knot insertion, and section division. Output parameters 'trimCurveOnSurface' and 'splitCurve' receive the resulting curves. ```API Description Description: Parameters: trimCurve3d: curve that will trim from one edge to the opposite trimProjectionDir: Vector for projection, or zero vector for no projection tolerance: 3d tolerance for projection, splitting, fitting... Knots: For TrimParamKnots=3, the custom knots to add divideIntoSections: If true, the surface is divided at each knot trimCurveOnSurface: the actual trim curve as it is projected on or pulled to the surface splitCurve: the actual fit curve the split the surface Returns: ``` -------------------------------- ### Defining BRDFs Class in C# Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.DocObjects.PhysicallyBasedMaterial.BRDFs.md This C# code defines the BRDFs class, a static container providing access to various predefined Bidirectional Reflectance Distribution Function (BRDF) types used in rendering and material definitions within the RhinoCommon API. ```C# namespace Rhino.Render { /// /// BRDFs are Bidirectional Reflectance Distribution Functions. /// public static class BRDFs { /// /// Gets the Diffuse BRDF. /// public static BRDF Diffuse { get; } /// /// Gets the Specular BRDF. /// public static BRDF Specular { get; } /// /// Gets the Glossy BRDF. /// public static BRDF Glossy { get; } /// /// Gets the Reflection BRDF. /// public static BRDF Reflection { get; } /// /// Gets the Refraction BRDF. /// public static BRDF Refraction { get; } /// /// Gets the Transparent BRDF. /// public static BRDF Transparent { get; } /// /// Gets the Emission BRDF. /// public static BRDF Emission { get; } /// /// Gets the Anisotropic BRDF. /// public static BRDF Anisotropic { get; } /// /// Gets the Fresnel BRDF. /// public static BRDF Fresnel { get; } /// /// Gets the Blinn BRDF. /// public static BRDF Blinn { get; } /// /// Gets the Phong BRDF. /// public static BRDF Phong { get; } /// /// Gets the AshikhminShirley BRDF. /// public static BRDF AshikhminShirley { get; } /// /// Gets the OrenNayar BRDF. /// public static BRDF OrenNayar { get; } /// /// Gets the Ward BRDF. /// public static BRDF Ward { get; } /// /// Gets the CookTorrance BRDF. /// public static BRDF CookTorrance { get; } /// /// Gets the Microfacet BRDF. /// public static BRDF Microfacet { get; } /// /// Gets the Custom BRDF. /// public static BRDF Custom { get; } } } ``` -------------------------------- ### FontFromPointer in RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Runtime.Interop.md Creates a managed Font object from a native ON_Font* pointer. Parameters: - ptrManagedFont: [No description provided] Returns: [No description provided] -------------------------------- ### ReadMeshingParameters - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads a from the archive. Returns: The element that was read. -------------------------------- ### Convert Line to NurbsCurve - RhinoCommon - N/A Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Geometry.Line.md Constructs a NurbsCurve representation of the line. This is equivalent to calling NurbsCurve.CreateFromLine(). The method returns the resulting NurbsCurve or null if the conversion fails. -------------------------------- ### FromOnSurface in RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Runtime.Interop.md Copies data from a Rhino_DotNet surface object to a new RhinoCommon Surface class instance. The returned object is an independent copy. Parameters: - source: Any of the following in the RMA.OpenNURBS namespace are acceptable. IOnSurface, OnSurface, IOnPlaneSurface, OnPlaneSurface, IOnClippingPlaneSurface, OnClippingPlaneSurface, IOnNurbsSurface, OnNurbsSurfac, IOnRevSurface, OnRevSurface, IOnSumSurface, OnSumSurface. Returns: RhinoCommon object on success. This will be an independent copy. -------------------------------- ### FileReadOptionsConstPointer in RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Runtime.Interop.md Retrieves the underlying const CRhinoFileReadOptions* pointer for a Rhino.FileIO.FileReadOptions object. This method is primarily intended for use when interacting with C++ code. Parameters: - options: A FileReadOptions object. Returns: A pointer to the Rhino const object. -------------------------------- ### MarshalProgressAndCancelToken in RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Runtime.Interop.md Provides functionality to marshal progress reporting and cancellation tokens. It is crucial to call `Disable` on the reporter output if it is not null when finished, as it does not clean itself up. You should call `Dispose` on the terminator if it is not null to keep it alive during computation. -------------------------------- ### ReadPoint3d - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads a from the archive. Returns: The element that was read. -------------------------------- ### ReadPoint3f - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads a from the archive. Returns: The element that was read. -------------------------------- ### ReadPointF - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads a from the archive. Returns: The element that was read. -------------------------------- ### FileWriteOptionsConstPointer in RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Runtime.Interop.md Retrieves the underlying const CRhinoFileWriteOptions* pointer for a Rhino.FileIO.FileWriteOptions object. This method is primarily intended for use when interacting with C++ code. Parameters: - options: A FileWriteOptions object. Returns: A pointer to the Rhino const object. -------------------------------- ### ReadRectangleF - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads a from the archive. Returns: The element that was read. -------------------------------- ### ReadDouble - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads a from the archive. Returns: The value that was read. -------------------------------- ### ReadUtf8String - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads a from the archive. Returns: The value that was read. -------------------------------- ### ReadRay3d - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads a from the archive. Returns: The element that was read. -------------------------------- ### Transform Line - RhinoCommon - N/A Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Geometry.Line.md Transforms the line using a provided Transformation matrix. The method applies the transformation 'xform' to the line and returns true on success or false on failure. -------------------------------- ### ReadGuid - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads a from the archive. Returns: The value that was read. -------------------------------- ### ReadPoint - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads a from the archive. Returns: The element that was read. -------------------------------- ### NativeRhinoDocPointer in RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Runtime.Interop.md Retrieves the C++ CRhinoDoc* pointer for a given RhinoCommon RhinoDoc class instance. Parameters: - doc: A document. Returns: A pointer value. -------------------------------- ### ReadRectangle - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads a from the archive. Returns: The element that was read. -------------------------------- ### ReadInterval - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads a from the archive. Returns: The element that was read. -------------------------------- ### ReadUInt - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads a from the archive. Returns: The value that was read. -------------------------------- ### ReadSizeF - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads a from the archive. Returns: The element that was read. -------------------------------- ### ReadPoint2d - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads a from the archive. Returns: The element that was read. -------------------------------- ### ReadLine - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads a from the archive. Returns: The element that was read. -------------------------------- ### ReadSingle - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads a from the archive. Returns: The value that was read. -------------------------------- ### ReadObjRef - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads a from the archive Returns: the element that was read -------------------------------- ### Create Line Between Curves - RhinoCommon - N/A Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Geometry.Line.md Attempts to create a line segment between two curves such that the line is either tangent or perpendicular to each curve. Seed parameter values 't0' and 't1' on curve0 and curve1 respectively are provided as input and updated with the solution on output. Flags 'perpendicular0' and 'perpendicular1' control tangency/perpendicularity to each curve. The resulting line is returned via the 'line' out parameter on success. -------------------------------- ### ReadString - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads a from the archive. Returns: The value that was read. -------------------------------- ### ReadPlane - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads a from the archive. Returns: The element that was read. -------------------------------- ### ReadObjRefArray - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads an array of from the archive. An array is returned even if the input was another enumerable type. Returns: The array that was read. -------------------------------- ### ReadVector3f - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads a from the archive. Returns: The element that was read. -------------------------------- ### ReadPoint4d - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads a from the archive. Returns: The element that was read. -------------------------------- ### ReadShort - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads a from the archive. Returns: The value that was read. -------------------------------- ### ReadFont - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads a from the archive. Returns: The element that was read. -------------------------------- ### ReadGuidArray - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads an array of from the archive. An array is returned even if the input was another enumerable type. Returns: The array that was read. -------------------------------- ### ReadDoubleArray - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads an array of from the archive. An array is returned even if the input was another enumerable type. Returns: The array that was read. -------------------------------- ### ReadUShort - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads a from the archive. Returns: The value that was read. -------------------------------- ### ReadIntArray - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads an array of from the archive. An array is returned even if the input was another enumerable type. Returns: The array that was read. -------------------------------- ### ReadSByte - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads a from the archive. Returns: The value that was read. -------------------------------- ### ReadInt64 - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads a from the archive. Returns: The value that was read. -------------------------------- ### ReadCompressedBuffer - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads an array of compressed information from the archive and uncompresses it. An array is returned even if the input was another enumerable type. Returns: The array that was read. -------------------------------- ### FromOnCurve in RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Runtime.Interop.md Copies data from a Rhino_DotNet curve object to a new RhinoCommon curve class instance. The returned object is an independent copy. Parameters: - source: RMA.OpenNURBS.IOnCurve or RMA.OpenNURBS.OnCurve. Returns: RhinoCommon object on success. This will be an independent copy. -------------------------------- ### ReadSize - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads a from the archive. Returns: The element that was read. -------------------------------- ### ReadVector2d - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads a from the archive. Returns: The element that was read. -------------------------------- ### ReadVector3d - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads a from the archive. Returns: The element that was read. -------------------------------- ### ReadSingleArray - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads an array of from the archive. An array is returned even if the input was another enumerable type. Returns: The array that was read. -------------------------------- ### ReadTransform - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads a from the archive. Returns: The element that was read. -------------------------------- ### ReadInt - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads a from the archive. Returns: The value that was read. -------------------------------- ### NSFontFromFont in RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Runtime.Interop.md Retrieves the native NSFont* pointer from a Rhino Font object. This method is only functional on macOS. Parameters: - font: [No description provided] - pointSize: Point size Returns: NSFont* on success. IntPtr.Zero on failure -------------------------------- ### Validating Geometry of RhinoCommon Brep (C#) Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Geometry.Brep.md Expert user function to check the validity of a Brep's geometry information. This method should only be called after confirming the Brep's topology is valid using IsValidTopology(). An optional output parameter log can capture a brief English description of any geometry problems for debugging. ```C# bool IsValidGeometry(out string log) ``` -------------------------------- ### Computing Frame at Surface Parameter - API Description Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Geometry.Surface.md Computes the oriented plane (frame) on the surface at the given (u, v) parameter pair. This is a basic evaluation call without error handling. The 'frame' parameter receives the computed plane. Returns true on success, false otherwise. ```API Description Description: Computes the orient plane on a surface given a U and V parameter. This is the simple evaluation call with no error handling. Parameters: u: A first parameter. v: A second parameter. frame: A frame plane that will be computed during this call. Returns: true if this operation succeeded; otherwise false. ``` -------------------------------- ### ReadShortArray - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads an array of from the archive. An array is returned even if the input was another enumerable type. Returns: The array that was read. -------------------------------- ### ReadGeometry - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads a -derived object from the archive. The class is abstract. Returns: The element that was read. -------------------------------- ### Evaluate Line at Parameter - RhinoCommon - N/A Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Geometry.Line.md Evaluates the line at a specified normalized parameter 't'. The method returns the point located at that parameter value along the line segment. -------------------------------- ### ReadSByteArray - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads an array of from the archive. An array is returned even if the input was another enumerable type. Returns: The array that was read. -------------------------------- ### ReadGeometryArray - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads an array of Geometry-derived objects from the archive. Documentation for this method is incomplete in the source text. -------------------------------- ### Extending Untrimmed Surface - API Description Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Geometry.Surface.md Extends an untrimmed surface along a specified edge by a given length. The 'edge' parameter must be one of the cardinal directions (North, South, East, or West). The 'smooth' parameter controls the type of extension (C-infinity or C1-ruled). Returns the new extended surface or null on failure. ```API Description Description: Extends an untrimmed surface along one edge. Parameters: edge: Edge to extend. Must be North, South, East, or West. extensionLength: distance to extend. smooth: true for smooth (C-infinity) extension. false for a C1- ruled extension. Returns: New extended surface on success. ``` -------------------------------- ### Compact - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Geometry.Brep.md Deletes any unreferenced objects from arrays, re-indexes as needed, and shrinks arrays to minimum required size. Uses CUllUnused* members to delete any unreferenced objects from arrays. -------------------------------- ### ReadStringArray - RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.FileIO.BinaryArchiveReader.md Reads an array of from the archive. An array is returned even if the input was another enumerable type. Returns: The array that was read. -------------------------------- ### Finding Next Surface Discontinuity - API Description Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Geometry.Surface.md Searches for the next discontinuity of a specified type (derivative, tangent, curvature) along a parameter direction within a given parameter range [t0, t1]. Optional tolerances for angle and curvature can be provided. The 't' parameter receives the parameter value of the found discontinuity. Returns true if a discontinuity is found, false otherwise. ```API Description Description: Searches for a derivative, tangent, or curvature discontinuity. Parameters: direction: If 0, then "u" parameter is checked. If 1, then the "v" parameter is checked. continuityType: The desired continuity. t0: Search begins at t0. If there is a discontinuity at t0, it will be ignored. This makes it possible to repeatedly call GetNextDiscontinuity and step through the discontinuities. t1: (t0 != t1) If there is a discontinuity at t1 is will be ignored unless c is a locus discontinuity type and t1 is at the start or end of the curve. cosAngleTolerance: default = cos(1 degree) Used only when continuityType is G1_continuous or G2_continuous. If the cosine of the angle between two tangent vectors is <= cos_angle_tolerance, then a G1 discontinuity is reported. curvatureTolerance: (default = ON_SQRT_EPSILON) Used only when continuityType is G2_continuous. If K0 and K1 are curvatures evaluated from above and below and |K0 - K1| > curvature_tolerance, then a curvature discontinuity is reported. t: if a discontinuity is found, then t reports the parameter at the discontinuity. Returns: Parametric continuity tests c = (C0_continuous, ..., G2_continuous): TRUE if a parametric discontinuity was found strictly between t0 and t1. Note well that all curves are parametrically continuous at the ends of their domains. Locus continuity tests c = (C0_locus_continuous, ...,G2_locus_continuous): TRUE if a locus discontinuity was found strictly between t0 and t1 or at t1 is the at the end of a curve. Note well that all open curves (IsClosed()=false) are locus discontinuous at the ends of their domains. All closed curves (IsClosed()=true) are at least C0_locus_continuous at the ends of their domains. ``` -------------------------------- ### Checking Point Inclusion in RhinoCommon Brep (C#) Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Geometry.Brep.md Determines if a 3D point is inside a closed, manifold Brep. It works by intersecting a line through the point with the Brep and analyzing the closest intersection point and face normal. Requires a tolerance value and can check for strict inclusion. Note: Does not validate if the Brep is closed or manifold, so results are only valid for such Breps. ```C# bool IsPointInside(Point3d point, double tolerance, bool strictlyIn) ``` -------------------------------- ### NativeGeometryConstPointer in RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Runtime.Interop.md Retrieves the underlying const ON_Geometry* pointer for a RhinoCommon geometry class instance. This method is primarily intended for use when interacting with C++ code. If the input geometry object is null, null is returned. Parameters: - geometry: A geometry object. This can be null and in such a case is returned. Returns: A pointer to the const geometry. -------------------------------- ### NativeGeometryNonConstPointer in RhinoCommon Source: https://github.com/oleynikaleksandr/rhinocommon-api/blob/main/rhinocommon-docs-md/Rhino.Runtime.Interop.md Retrieves the underlying non-const ON_Geometry* pointer for a RhinoCommon geometry class instance. This method is primarily intended for use when interacting with C++ code. If the input geometry object is null, null is returned. Parameters: - geometry: A geometry object. This can be null and in such a case is returned. Returns: A pointer to the non-const geometry. === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.