Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Media3D / Vector3dCollection.cs / 1 / Vector3dCollection.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: Vector3D collection partial class. // // See spec at [....]/medialayer/Specifications/Avalon3D%20API%20Spec.mht // // History: // 11/03/05 : [....] - Created // //--------------------------------------------------------------------------- using System.Windows; using System.Windows.Media.Media3D; using MS.Internal.PresentationCore; using System; using System.IO; using MS.Internal.Media; namespace System.Windows.Media.Media3D { public partial class Vector3DCollection { ////// Deserialize this object from BAML binary format. /// [FriendAccessAllowed] // Built into Core, also used by Framework. internal static object DeserializeFrom(BinaryReader reader) { // Get the size. uint count = reader.ReadUInt32() ; Vector3DCollection collection = new Vector3DCollection( (int) count) ; for ( uint i = 0; i < count ; i ++ ) { Vector3D point = new Vector3D( XamlSerializationHelper.ReadDouble( reader ), XamlSerializationHelper.ReadDouble( reader ) , XamlSerializationHelper.ReadDouble( reader ) ) ; collection.Add( point ); } return collection ; } } } // 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
- CurrentChangingEventManager.cs
- BevelBitmapEffect.cs
- _KerberosClient.cs
- Button.cs
- MimeMultiPart.cs
- _AuthenticationState.cs
- Lazy.cs
- ListItem.cs
- Rect3DConverter.cs
- ContentFileHelper.cs
- FixedSOMTable.cs
- SkinBuilder.cs
- TogglePattern.cs
- CodeMethodInvokeExpression.cs
- TrailingSpaceComparer.cs
- BulletedListEventArgs.cs
- EdmConstants.cs
- FontNamesConverter.cs
- BasePropertyDescriptor.cs
- MatrixAnimationUsingKeyFrames.cs
- DataGridPageChangedEventArgs.cs
- QuadraticEase.cs
- ProcessModelSection.cs
- EndPoint.cs
- DataGridPageChangedEventArgs.cs
- ObjectHandle.cs
- InputScope.cs
- MSHTMLHostUtil.cs
- ImageList.cs
- GenerateScriptTypeAttribute.cs
- CharUnicodeInfo.cs
- CommandBinding.cs
- SoapAttributeAttribute.cs
- OperatingSystem.cs
- ChannelCredentials.cs
- ResourceAttributes.cs
- RotateTransform.cs
- DataBoundControl.cs
- MatrixAnimationBase.cs
- SoapCodeExporter.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- SqlBinder.cs
- IQueryable.cs
- OleDbCommandBuilder.cs
- RowUpdatedEventArgs.cs
- GenerateTemporaryAssemblyTask.cs
- NativeMethods.cs
- ISFTagAndGuidCache.cs
- URIFormatException.cs
- Action.cs
- IisTraceListener.cs
- WinFormsSecurity.cs
- ListBox.cs
- EntitySqlQueryCacheKey.cs
- SectionXmlInfo.cs
- AutomationProperties.cs
- TraceHandlerErrorFormatter.cs
- FontDifferentiator.cs
- InvalidWMPVersionException.cs
- VectorKeyFrameCollection.cs
- X509Certificate.cs
- InheritanceAttribute.cs
- LayoutDump.cs
- AssertFilter.cs
- JpegBitmapDecoder.cs
- cookie.cs
- ExitEventArgs.cs
- CodeSnippetExpression.cs
- TransformPatternIdentifiers.cs
- RelOps.cs
- HybridCollection.cs
- BooleanKeyFrameCollection.cs
- CompilerErrorCollection.cs
- DataGridColumnHeadersPresenter.cs
- PackageStore.cs
- DoubleAnimationUsingKeyFrames.cs
- BoolExpressionVisitors.cs
- GregorianCalendarHelper.cs
- EntityTypeBase.cs
- CodeTypeDeclaration.cs
- Matrix3D.cs
- SamlAuthenticationStatement.cs
- CapabilitiesPattern.cs
- EncryptedData.cs
- DesignOnlyAttribute.cs
- XhtmlCssHandler.cs
- ClientSettingsStore.cs
- JsonStringDataContract.cs
- RotationValidation.cs
- IFlowDocumentViewer.cs
- WindowsProgressbar.cs
- VariableQuery.cs
- BaseResourcesBuildProvider.cs
- HtmlSelect.cs
- UriExt.cs
- DrawingBrush.cs
- CookielessHelper.cs
- EastAsianLunisolarCalendar.cs
- XmlReflectionImporter.cs
- TextParagraphProperties.cs