RhinoViewportGetPickTransform Method (Point) |
Takes a rectangle in screen coordinates and returns a transformation
that maps the 3d frustum defined by the rectangle to a -1/+1 clipping
coordinate box. This takes a single point and inflates it by
Rhino.ApplicationSettings.ModelAidSettings.MousePickBoxRadius to define
the screen rectangle.
Namespace:
Rhino.Display
Assembly:
RhinoCommon (in RhinoCommon.dll)
Syntaxpublic Transform GetPickTransform(
Point clientPoint
)
Public Function GetPickTransform (
clientPoint As Point
) As Transform
Parameters
- clientPoint
- Type: System.DrawingPoint
The client point.
Return Value
Type:
TransformA transformation matrix.
Version InformationRhino for Mac
Supported in: 5.4
Rhino for Windows
Supported in: 6.8
See Also