RhinoCommon API
MeshWithDisplacement Method |
Constructs new mesh from the current one, with displacement applied to it.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 6.0

public Mesh WithDisplacement( MeshDisplacementInfo displacement )
Public Function WithDisplacement ( displacement As MeshDisplacementInfo ) As Mesh
Parameters
- displacement
- Type: Rhino.GeometryMeshDisplacementInfo
Information on mesh displacement.
Return Value
Type: MeshA new mesh with shutlining.

Exception | Condition |
---|---|
ArgumentNullException | If displacer is null. |
InvalidOperationException | If displacement failed because of an error. The exception message specifies the error. |
