Mesh.GetOutlines Method (ViewportInfo, Plane)

MeshGetOutlines Method (ViewportInfo, Plane)

Constructs the outlines of a mesh.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public Polyline[] GetOutlines(
	ViewportInfo viewportInfo,
	Plane plane
)
Public Function GetOutlines ( 
	viewportInfo As ViewportInfo,
	plane As Plane
) As Polyline()

Parameters

viewportInfo
Type: Rhino.DocObjectsViewportInfo
The viewport info that provides the outline direction.
plane
Type: Rhino.GeometryPlane
Usually the view's construction plane. If a parallel projection and view plane is parallel to this, then project the results to the plane.

Return Value

Type: Polyline
An array of polylines, or null on error.
Version Information

Rhino for Windows

Supported in: 6.14
See Also