Click or drag to resize

HiddenLineDrawingParametersSetViewport Method (RhinoViewport)

Set the viewport for the hidden line drawing (HLD). The viewport supplies the projection that determinest he visibility of curves, and the HLD coordinate system in which the resulting curves are represented. The HLD-coordinate system is a right handed system for 3-D model space, in which the 3rd coordinate direction is the projection direction. In particular the z-coordinate direction points from the scene toward the camera.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public void SetViewport(
	RhinoViewport viewport
)

Parameters

viewport
Type: Rhino.DisplayRhinoViewport
A copy of rhinoViewport is made inside of HiddenLineDrawing.

Return Value

Type: 
True if the viewport has been set.
Version Information

Rhino for Windows

Supported in: 6.5
See Also