RhinoCommon API
MeshOffset Method (Double, Boolean) |
Makes a new mesh with vertices offset a distance in the opposite direction of the existing vertex normals.
Optionally, based on the value of solidify, adds the input mesh and a ribbon of faces along any naked edges.
If solidify is false it acts exactly as the Offset(distance) function.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 5.0

public Mesh Offset( double distance, bool solidify )
Public Function Offset ( distance As Double, solidify As Boolean ) As Mesh
Parameters
- distance
- Type: SystemDouble
A distance value. - solidify
- Type: SystemBoolean
true if the mesh should be solidified.
Return Value
Type: MeshA new mesh on success, or null on failure.
