RhinoCommon API
ViewportInfoGetWorldToScreenScale Method |
Gets the scale factor from point in frustum to screen scale.
Namespace: Rhino.DocObjects
Assembly: RhinoCommon (in RhinoCommon.dll)

public double GetWorldToScreenScale( Point3d pointInFrustum )
Public Function GetWorldToScreenScale ( pointInFrustum As Point3d ) As Double
Parameters
- pointInFrustum
- Type: Rhino.GeometryPoint3d
point in viewing frustum.
Return Value
Type: Doublenumber of pixels per world unit at the 3d point.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.8