HiddenLineDrawingParameters.SetViewport Method (RhinoViewport)

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
)
Public Sub SetViewport ( 
	viewport As RhinoViewport
)

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.14
See Also