Click or drag to resize

HiddenLineDrawingParametersSetViewport Method (RhinoViewport)

Set the viewport for the hidden line drawing (HLD). The viewport supplies the projection that determines the 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)
Since: 6.0
public void SetViewport(
	RhinoViewport viewport


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

Return Value

True if the viewport has been set.
See Also