Description:

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.

Syntax:
public void SetViewport(
RhinoViewport viewport
)
Parameters:
Returns:
Type: void
True if the viewport has been set.
Available since:
6.0

Description:

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.

Syntax:
public void SetViewport(
ViewportInfo viewport
)
Parameters:
  • viewport
  • Type: ViewportInfo
  • A copy of viewportInfo is made inside of HiddenLineDrawing.
Returns:
Type: void
True if the viewport has been set.
Available since:
6.0

Nothing found