Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Core / CSharp / System / Windows / Media3D / Point3DCollection.cs / 1 / Point3DCollection.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: 3D point collection partial class. // // See spec at http://avalon/medialayer/Specifications/Avalon3D%20API%20Spec.mht // // History: // 11/03/05 : marka - 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 { ////// Point3D - 3D point representation. /// Defaults to (0,0,0). /// public partial class Point3DCollection { ////// 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() ; Point3DCollection collection = new Point3DCollection( (int) count) ; for ( uint i = 0; i < count ; i ++ ) { Point3D point = new Point3D( 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. //---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: 3D point collection partial class. // // See spec at http://avalon/medialayer/Specifications/Avalon3D%20API%20Spec.mht // // History: // 11/03/05 : marka - 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 { ////// Point3D - 3D point representation. /// Defaults to (0,0,0). /// public partial class Point3DCollection { ////// 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() ; Point3DCollection collection = new Point3DCollection( (int) count) ; for ( uint i = 0; i < count ; i ++ ) { Point3D point = new Point3D( 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
- Configuration.cs
- ISCIIEncoding.cs
- ObjectDataProvider.cs
- WeakHashtable.cs
- CircleHotSpot.cs
- ScriptResourceInfo.cs
- ArrangedElementCollection.cs
- GrammarBuilderDictation.cs
- XmlSchemaCompilationSettings.cs
- QueryExtender.cs
- TransformGroup.cs
- Stack.cs
- SqlLiftWhereClauses.cs
- Translator.cs
- BooleanFunctions.cs
- InternalPermissions.cs
- ConnectionManager.cs
- XPathSingletonIterator.cs
- ScriptHandlerFactory.cs
- ScrollBarAutomationPeer.cs
- mediaclock.cs
- Convert.cs
- PerformanceCounterPermissionEntryCollection.cs
- OdbcConnectionOpen.cs
- BinarySecretSecurityToken.cs
- ImageInfo.cs
- MimeTypeAttribute.cs
- HelpKeywordAttribute.cs
- DiscriminatorMap.cs
- XmlAttributeAttribute.cs
- QueryGeneratorBase.cs
- PeerNameRecord.cs
- KnowledgeBase.cs
- _LocalDataStoreMgr.cs
- CodeTypeOfExpression.cs
- DecimalConstantAttribute.cs
- ComponentManagerBroker.cs
- SystemIPInterfaceProperties.cs
- HierarchicalDataSourceControl.cs
- TableParaClient.cs
- XmlEnumAttribute.cs
- TextEndOfSegment.cs
- List.cs
- ObjectDesignerDataSourceView.cs
- CroppedBitmap.cs
- ListViewItemEventArgs.cs
- CommandBinding.cs
- DesignerSerializationOptionsAttribute.cs
- PermissionToken.cs
- CookieParameter.cs
- ExpressionsCollectionEditor.cs
- InternalException.cs
- Cursor.cs
- SocketAddress.cs
- TimeSpanStorage.cs
- WpfKnownType.cs
- Executor.cs
- SwitchAttribute.cs
- UrlPath.cs
- ColorMatrix.cs
- StorageTypeMapping.cs
- OleTxTransactionInfo.cs
- Enlistment.cs
- SQLInt16Storage.cs
- ScaleTransform3D.cs
- MessagePropertyDescriptionCollection.cs
- XPathItem.cs
- TripleDESCryptoServiceProvider.cs
- SiteMembershipCondition.cs
- VerificationException.cs
- RSAProtectedConfigurationProvider.cs
- WindowsListViewItemStartMenu.cs
- DirectoryInfo.cs
- ScrollItemProviderWrapper.cs
- AppDomainFactory.cs
- SoapHttpTransportImporter.cs
- StringWriter.cs
- Util.cs
- ClientProtocol.cs
- ChangeInterceptorAttribute.cs
- StickyNoteAnnotations.cs
- OrderedDictionaryStateHelper.cs
- SimpleHandlerFactory.cs
- BinaryMessageFormatter.cs
- CommandID.cs
- JsonDataContract.cs
- HttpListenerException.cs
- TextSelectionHelper.cs
- DatatypeImplementation.cs
- SchemaElementLookUpTable.cs
- cookiecollection.cs
- TextDecorationCollection.cs
- MimeTypePropertyAttribute.cs
- BitSet.cs
- Rect3D.cs
- SQLResource.cs
- MethodRental.cs
- StylusButtonEventArgs.cs
- ZoneButton.cs
- DeclarativeCatalogPart.cs