Rhinonamespace

Contains commonly-used value types and classes used in Rhino.

Types

Rhino.IEpsilonComparable<T>
Rhino.IEpsilonFComparable<T>
Rhino.IRhinoDocObserver
Implement this interface if you are a modeless interface to aid in handling multiple document implementations
Rhino.AngleUnitSystem
ON::AngleUnitSystem identifies an angle unit system

AntialiasLevel

Since v6.0
Rhino.AntialiasLevel
Provides the anti-alias levels used for render quality
Rhino.BitmapExtensions
Rhino specific extension methods for System.Drawing.Bitmap
Rhino.DisplayDeviceInfo
Get information about display devices found on this machine (GPUs).
Rhino.DocumentEventArgs
Provides document information for RhinoDoc events.
Rhino.DocumentOpenEventArgs
Provides document information for RhinoDoc events.
Rhino.DocumentSaveEventArgs
Provides document information for RhinoDoc events.
Rhino.EventWatcher
An instance-based watcher for document and object events that can be notified for headless documents.

The static events on RhinoDoc are never raised for headless documents (a headless document is one created with RhinoDoc.CreateHeadless(string) or RhinoDoc.OpenHeadless(string), as used by Rhino.Inside and Rhino.Compute). Create an EventWatcher with includeHeadlessDocuments set to true to receive events for those documents as well.

IMPORTANT: When watching headless documents, events may be raised on a thread other than the main/UI thread, because headless documents can be created and read on background threads. Handlers must be thread-safe and must not assume they are running on the UI thread.

Call EventWatcher.Dispose() when the watcher is no longer needed to stop receiving events and release the underlying native watcher.

Rhino.GpuDeviceInfo
Represents a GPU device providing name, vendor and memory all as strings. Currently fully implemented only on Windows.
Rhino.IndexPair
Represents two indices: I and J.

LengthUnit

Since v9.0
Rhino.LengthUnit
Represents a length unit.
Rhino.LengthValue
Represents a length with an associated unit system and a string representation of that length. This allows for going back and forth from numerical representation of a length and a string representation without "guessing" at the initial string
Rhino.LengthValue.StringFormat
Formatting to apply when creating a length value from a double.
Rhino.LinkedInstanceDefinitionUpdateStyle
Linked and linked and embedded instance definition update style.
Rhino.PersistentSettings
A dictionary of SettingValue items.
Rhino.PersistentSettingsConverter
Used to convert string to string lists and string dictionaries and back to strings again.
Rhino.PersistentSettingsEventArgs
Represents event data that is passed as state in persistent settings events.
Rhino.PersistentSettingsEventArgs<T>
Represents the persistent settings modification event arguments.
Rhino.PersistentSettingsSavedEventArgs
Event argument passed to the PlugIn.SettingsSaved event.
Rhino.PrintedPageDefinition
Information describing a page for printed output

PurgeFilter

Since v9.0
Rhino.PurgeFilter
The document table object types that RhinoDoc.Purge(PurgeFilter) can purge.
Rhino.PurgeStatistics
Describes what RhinoDoc.Purge(PurgeFilter) purged.
Rhino.ReadFileResult
ON::ReadFileResult reports what happened when a file read was attempted.
Rhino.RhinoApp
.NET RhinoApp is parallel to C++ CRhinoApp.
Rhino.RhinoApp.CommandLineTextWriter
Provides a text writer that writes to the command line.
Rhino.RhinoApp.KeyboardHookEvent
KeyboardEvent delegate
Rhino.RhinoDoc
Represents an active model.
Rhino.RhinoDoc.RenderContentTableEventType
Type of content table event
Rhino.RhinoDoc.RenderMaterialAssignmentChangedEventArgs
Rhino.RhinoDoc.TextureMappingEventArgs
Event arguments passed to the RhinoDoc.TextureMappingEvent.
Rhino.RhinoDoc.TextureMappingEventType
Rhino.RhinoDoc.UserStringChangedArgs
This event is raised when document user text strings are changed
Rhino.RhinoDoc.WorksessionFileChangedEventArgs
Event arguments for RhinoDoc.WorksessionFileChanged. At the time of the notification, the document state already reflects the change: attached models' objects/layers are present, detached models' objects/layers have been purged.
Rhino.RhinoDoc.WorksessionFileChangeKind
Whether a worksession reference model is being attached or detached.
Rhino.RhinoDocObserverArgs
Arguments passed to IRhinoDocObserver methods.
Rhino.RhinoDocUndoRecord
This helper class manages calls to RhinoDoc.BeginUndoRecord and RhinoDoc.UndoRecord. Use this if you are modifying a document from some modeless user interface. Do not use this if you are just writing Rhino commands. ALWAYS call Dispose on this class. It is best if the class is placed in a using block so Dispose will be called for you.
Rhino.RhinoFileWatcherChangeReason
Passed to IRhinoFileEventWatcher::Changed when a change event is raised.
Rhino.RhinoMath
Provides constants and static methods that are additional to Math.
Rhino.RhinoWindow
Represents the top level window in Rhino
Rhino.RuntimeEnvironment
ON::RuntimeEnvironment identifies a runtime environment (operating system). This value is saved in binary archives so appropriate adjustments to resources provided by runtime environments, like fonts, can be made when an archive created in one runtime environment is used in another.
Rhino.ScaleValue
Represents a scale with associated LengthValues and string representations of the scale. This allows for going back and forth from numerical representations of a scale and a string representation without "guessing" at the initial scale.
Rhino.ScaleValue.ScaleStringFormat
Specifies preferred formats for automatically created string descriptions of a scale value.
Rhino.Symbols
Characters used for different 'drafting style' symbols
Rhino.UndoRecordEntry
Represents a single entry in a document's undo or redo history.
Rhino.UnitsChangedWithScalingEventArgs
Provides information about UnitsChangedWithScaling events.
Rhino.UnitSystem
ON::LengthUnitSystem identifies a length unit system United States customary length units references: http://www.nist.gov/pml/wmd/metric/upload/frn-59-5442-1959.pdf http://en.wikipedia.org/wiki/United_States_customary_units http://en.wikipedia.org/wiki/International_yard_and_pound