M_Rhino_Geometry_Mesh_WithDisplacement - mcneel/rhinocommon-api-docs GitHub Wiki

Mesh.WithDisplacement Method

Constructs new mesh from the current one, with displacement applied to it.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public Mesh WithDisplacement(
	MeshDisplacementInfo displacement
)

VB

Public Function WithDisplacement ( 
	displacement As MeshDisplacementInfo
) As Mesh

Parameters

 

displacement
Type: Rhino.Geometry.MeshDisplacementInfo
Information on mesh displacement.

Return Value

Type: Mesh
A new mesh with shutlining.

Exceptions

 

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

Version Information

Supported in: 6.0.16224.21491

See Also

Reference

Mesh Class
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️