Mesh.WithDisplacement Method

MeshWithDisplacement Method

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

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
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: Mesh
A new mesh with shutlining.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf displacer is null.
InvalidOperationExceptionIf displacement failed because of an error. The exception message specifies the error.
Version Information

Rhino for Windows

Supported in: 6.8
See Also