Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Core / CSharp / System / Windows / Media3D / Rotation3D.cs / 1 / Rotation3D.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // //--------------------------------------------------------------------------- using System; namespace System.Windows.Media.Media3D { ////// A rotation in 3-space. /// public partial class Rotation3D { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors static Rotation3D() { // Create our singleton frozen instance s_identity = new QuaternionRotation3D(); s_identity.Freeze(); } // Prevent 3rd parties from extending this abstract base class internal Rotation3D() {} #endregion Constructors //------------------------------------------------------ // // Public Methods // //----------------------------------------------------- //------------------------------------------------------ // // Public Properties // //------------------------------------------------------ #region Public Properties ////// Singleton identity Rotation3D. /// public static Rotation3D Identity { get { return s_identity; } } #endregion Public Properties //----------------------------------------------------- // // Public Events // //------------------------------------------------------ //----------------------------------------------------- // // Internal Properties // //----------------------------------------------------- #region Internal Properties // Used by animation to get a snapshot of the current rotational // configuration for interpolation in Rotation3DAnimations. internal abstract Quaternion InternalQuaternion { get; } #endregion Internal Properties //----------------------------------------------------- // // Private Fields // //------------------------------------------------------ #region Private Fields private static readonly Rotation3D s_identity; #endregion Private Fields } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // //--------------------------------------------------------------------------- using System; namespace System.Windows.Media.Media3D { ////// A rotation in 3-space. /// public partial class Rotation3D { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors static Rotation3D() { // Create our singleton frozen instance s_identity = new QuaternionRotation3D(); s_identity.Freeze(); } // Prevent 3rd parties from extending this abstract base class internal Rotation3D() {} #endregion Constructors //------------------------------------------------------ // // Public Methods // //----------------------------------------------------- //------------------------------------------------------ // // Public Properties // //------------------------------------------------------ #region Public Properties ////// Singleton identity Rotation3D. /// public static Rotation3D Identity { get { return s_identity; } } #endregion Public Properties //----------------------------------------------------- // // Public Events // //------------------------------------------------------ //----------------------------------------------------- // // Internal Properties // //----------------------------------------------------- #region Internal Properties // Used by animation to get a snapshot of the current rotational // configuration for interpolation in Rotation3DAnimations. internal abstract Quaternion InternalQuaternion { get; } #endregion Internal Properties //----------------------------------------------------- // // Private Fields // //------------------------------------------------------ #region Private Fields private static readonly Rotation3D s_identity; #endregion Private Fields } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CustomActivityDesigner.cs
- CodeSnippetExpression.cs
- ContainerUtilities.cs
- ExecutorLocksHeldException.cs
- TextEditorTables.cs
- TextDocumentView.cs
- NonParentingControl.cs
- NonSerializedAttribute.cs
- GlobalEventManager.cs
- Calendar.cs
- SystemDiagnosticsSection.cs
- ValuePattern.cs
- Parser.cs
- SqlWriter.cs
- ExpressionEvaluator.cs
- BufferedGraphicsContext.cs
- ListSourceHelper.cs
- DrawingContextWalker.cs
- RuntimeEnvironment.cs
- TrackingLocationCollection.cs
- PropertySet.cs
- MembershipUser.cs
- ISO2022Encoding.cs
- WrappedOptions.cs
- ForeignConstraint.cs
- MailHeaderInfo.cs
- CmsUtils.cs
- MethodInfo.cs
- _TimerThread.cs
- ServiceNameElement.cs
- UiaCoreProviderApi.cs
- XamlFrame.cs
- SqlProviderManifest.cs
- ListCardsInFileRequest.cs
- BuildProviderCollection.cs
- SqlDataSourceStatusEventArgs.cs
- RoutingService.cs
- SoapClientProtocol.cs
- ParserStreamGeometryContext.cs
- TypeLoadException.cs
- DocumentOrderQuery.cs
- TextElementAutomationPeer.cs
- CreateSequence.cs
- CodeStatementCollection.cs
- SapiRecoContext.cs
- ContextMenuStrip.cs
- ButtonBaseAdapter.cs
- DebugHandleTracker.cs
- AssemblyName.cs
- MessageBodyMemberAttribute.cs
- CategoryNameCollection.cs
- ModelUIElement3D.cs
- Decoder.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- SqlDataSource.cs
- Pen.cs
- TextServicesDisplayAttributePropertyRanges.cs
- ResourceExpressionBuilder.cs
- ScrollBarRenderer.cs
- DynamicAttribute.cs
- Helpers.cs
- TreeNodeStyle.cs
- RelationshipWrapper.cs
- ApplicationActivator.cs
- DateTimeFormatInfoScanner.cs
- StartUpEventArgs.cs
- EmissiveMaterial.cs
- SafeLibraryHandle.cs
- ColumnPropertiesGroup.cs
- ComplexTypeEmitter.cs
- BitmapDecoder.cs
- UserPreferenceChangedEventArgs.cs
- DocumentAutomationPeer.cs
- DetailsViewDeletedEventArgs.cs
- InheritablePropertyChangeInfo.cs
- VariableElement.cs
- ButtonField.cs
- ObjectDataSourceSelectingEventArgs.cs
- PeerApplication.cs
- ProxyGenerator.cs
- HttpServerUtilityBase.cs
- PropertiesTab.cs
- XPathNavigator.cs
- CodeSnippetStatement.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- PersonalizationStateQuery.cs
- InputEventArgs.cs
- ParseNumbers.cs
- XPathChildIterator.cs
- TemplateBindingExtensionConverter.cs
- LayoutTableCell.cs
- PeerCollaborationPermission.cs
- VariantWrapper.cs
- SQLBinaryStorage.cs
- FontStretches.cs
- propertyentry.cs
- OleDbRowUpdatingEvent.cs
- SqlClientWrapperSmiStream.cs
- WebBrowser.cs
- TraceXPathNavigator.cs