Click or drag to resize

RhinoViewportGetWorldToScreenScale Method

Gets the world to screen size scaling factor at a point in frustum.

Namespace:  Rhino.Display
Assembly:  RhinoCommon (in RhinoCommon.dll)
public bool GetWorldToScreenScale(
	Point3d pointInFrustum,
	out double pixelsPerUnit


Type: Rhino.GeometryPoint3d
A point in frustum.
Type: SystemDouble
scale = number of pixels per world unit at the 3d point.

This out parameter is assigned during this call.

Return Value

Type: Boolean
true if the operation is successful.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.20
See Also