RhinoViewportChangeToParallelProjection Method |
Use this function to change projections of valid viewports from perspective 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)
Since: 5.0
Syntax public bool ChangeToParallelProjection(
bool symmetricFrustum
)
Public Function ChangeToParallelProjection (
symmetricFrustum As Boolean
) As Boolean
Parameters
- 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.
See Also