ViewConversions

ConversionRepository
Defines a set of conversion methods from and to ViewportInfo.

Methods

Convert

#
[Merit(Merit.Strange)] [Explanation("Create the smallest box containing the view frustum.")] public static void Convert(ViewportInfo from, out Box to)
from (ViewportInfo)
to (out Box)

Convert

#
[Merit(Merit.Strange)] [Explanation("Creates a polysurface representing the view frustum.")] public static void Convert(ViewportInfo from, out Brep to)
from (ViewportInfo)
to (out Brep)

Convert

#
[Merit(Merit.Strange)] [Explanation("Create a mesh representing the view frustum.")] public static void Convert(ViewportInfo from, out Mesh to)
from (ViewportInfo)
to (out Mesh)

Convert

#
[Merit(Merit.Fair)] [Explanation("Get the target plane of the view.")] public static void Convert(ViewportInfo from, out Plane to)
from (ViewportInfo)
to (out Plane)

Convert

#
[Merit(Merit.Fair)] [Explanation("Get the target point of the view.")] public static void Convert(ViewportInfo from, out Point3d to)
from (ViewportInfo)
to (out Point3d)

Convert

#
[Merit(Merit.Fair)] [Explanation("Get the target frame of the view.")] public static void Convert(ViewportInfo from, out Rectangle3d to)
from (ViewportInfo)
to (out Rectangle3d)

Convert

#
[Merit(Merit.Strange)] [Explanation("Extract the projection transformation from world to clip coordinates.")] public static void Convert(ViewportInfo from, out Transform to)
from (ViewportInfo)
to (out Transform)

Convert

#
[Merit(Merit.Weird)] [Explanation("Create the largest tube which fits inside the view frustum.")] public static void Convert(ViewportInfo from, out Tube to)
from (ViewportInfo)
to (out Tube)

Convert

#
[Merit(Merit.Fair)] [Explanation("Get the camera direction of the view.")] public static void Convert(ViewportInfo from, out Vector3d to)
from (ViewportInfo)
to (out Vector3d)