Description:

If needed, adjusts the current frustum so it has the specified symmetries and adjust the camera location so the target plane remains visible.

Syntax:
public bool ChangeToSymmetricFrustum(
bool isLeftRightSymmetric,
bool isTopBottomSymmetric,
double targetDistance
)
Parameters:
  • isLeftRightSymmetric
  • Type: bool
  • If true, the frustum will be adjusted so left = -right.
  • isTopBottomSymmetric
  • Type: bool
  • If true, the frustum will be adjusted so top = -bottom.
  • targetDistance
  • Type: double
  • If projection is not perspective or target_distance is RhinoMath.UnsetValue, then this parameter is ignored. If the projection is perspective and targetDistance is not RhinoMath.UnsetValue, then it must be > 0.0 and it is used to determine which plane in the old frustum will appear unchanged in the new frustum.
Returns:
Type: bool
Returns True if the viewport has now a frustum with the specified symmetries.
Available since:
5.0

/
/
/
ChangeToSymmetricFrustum

ChangeToSymmetricFrustum method

Class:  Rhino.DocObjects.ViewportInfo

Nothing found