Skip to content
RhinoCommon API
What's New
Namespaces
Rhino
Rhino.ApplicationSettings
Rhino.Collections
Rhino.Commands
Rhino.Display
Rhino.DocObjects
Rhino.DocObjects.Custom
Rhino.DocObjects.SnapShots
Rhino.DocObjects.Tables
Rhino.FileIO
Rhino.Geometry
Rhino.Geometry.Collections
Rhino.Geometry.Intersect
Rhino.Geometry.MeshRefinements
Rhino.Geometry.Morphs
Rhino.Input
Rhino.Input.Custom
Rhino.NodeInCode
Rhino.Notifications
Rhino.PlugIns
Rhino.Render
ConvertibleExtensions
SToColor4f(IConvertible)SToVector2d(IConvertible)SToVector3d(IConvertible)
Rhino.Render.ChangeQueue
Rhino.Render.ChildSlotNames
Rhino.Render.CustomRenderMeshes
Rhino.Render.DataSources
Rhino.Render.Fields
Rhino.Render.ParameterNames
Rhino.Render.PostEffects
Rhino.Render.UI
Rhino.Runtime
Rhino.Runtime.InProcess
Rhino.Runtime.InteropWrappers
Rhino.Runtime.Notifications
Rhino.Runtime.RhinoAccounts
Rhino.UI
Rhino.UI.Controls
Rhino.UI.Controls.DataSource
Rhino.UI.Controls.ThumbnailUI
Rhino.UI.Gumball
  1. RhinoCommon
  2. Rhino.Render
  3. ConvertibleExtensions

ConvertibleExtensions

public static class ConvertibleExtensions
Extension methods for IConvertible that work when an object is a Variant.

Methods

ToColor4f

#ExampleSince v6.0
[CLSCompliant(false)] public static Color4f ToColor4f(
this IConvertible
variant
)

ToVector2d

#ExampleSince v6.0
[CLSCompliant(false)] public static Vector2d ToVector2d(
this IConvertible
variant
)

ToVector3d

#ExampleSince v6.0
[CLSCompliant(false)] public static Vector3d ToVector3d(
this IConvertible
variant
)
Open Tab