Click or drag to resize

RhinoViewportChangeToParallelProjection Method

Use this function to change projections of valid viewports from persective to parallel. It will make common additional adjustments to the frustum so the resulting views are similar. The camera location and direction will not be changed.

Namespace:  Rhino.Display
Assembly:  RhinoCommon (in RhinoCommon.dll)
public bool ChangeToParallelProjection(
	bool symmetricFrustum


Type: SystemBoolean
true if you want the resulting frustum to be symmetric.

Return Value

Type: Boolean
If the current projection is parallel and bSymmetricFrustum, FrustumIsLeftRightSymmetric() and FrustumIsTopBottomSymmetric() are all equal, then no changes are made and true is returned.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.2
See Also