Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media3D / Point3DCollection.cs / 1305600 / 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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- X509Certificate2Collection.cs
- ReadWriteControlDesigner.cs
- followingquery.cs
- NamespaceList.cs
- LogSwitch.cs
- PersonalizationAdministration.cs
- PropertyConverter.cs
- WebHttpBindingElement.cs
- WebPageTraceListener.cs
- ScriptResourceInfo.cs
- DbProviderFactories.cs
- MatrixAnimationUsingKeyFrames.cs
- ContainerFilterService.cs
- TextServicesCompartmentContext.cs
- PerformanceCounterCategory.cs
- ObjectConverter.cs
- SecurityException.cs
- Profiler.cs
- GetResponse.cs
- SiteMapDataSourceView.cs
- CannotUnloadAppDomainException.cs
- DeploymentSectionCache.cs
- CompareValidator.cs
- DataGridViewAccessibleObject.cs
- EditorZone.cs
- ActivationServices.cs
- Point3DCollection.cs
- BaseProcessor.cs
- RsaElement.cs
- SourceElementsCollection.cs
- ResXDataNode.cs
- TextSpan.cs
- MasterPageBuildProvider.cs
- HierarchicalDataTemplate.cs
- Normalization.cs
- SqlDataSourceCommandEventArgs.cs
- SessionParameter.cs
- KeyFrames.cs
- Journal.cs
- ObjectDataSourceChooseMethodsPanel.cs
- CodeMethodReturnStatement.cs
- ellipse.cs
- GPPOINT.cs
- XamlSerializerUtil.cs
- OverlappedAsyncResult.cs
- TimeoutException.cs
- StickyNoteContentControl.cs
- TraceContextEventArgs.cs
- XmlDataCollection.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- ProvidersHelper.cs
- Single.cs
- GlobalProxySelection.cs
- ServiceProviders.cs
- BitVec.cs
- UInt64Converter.cs
- RowCache.cs
- TcpDuplicateContext.cs
- EdmItemError.cs
- BitmapInitialize.cs
- EntityDesignerBuildProvider.cs
- SecurityBindingElementImporter.cs
- TableTextElementCollectionInternal.cs
- UIPermission.cs
- DependencyPropertyAttribute.cs
- PrimaryKeyTypeConverter.cs
- XmlWriter.cs
- DbConnectionPoolCounters.cs
- FactoryRecord.cs
- TreeBuilderBamlTranslator.cs
- RoleService.cs
- LocalServiceSecuritySettingsElement.cs
- FullTextBreakpoint.cs
- EventProviderClassic.cs
- RuntimeTrackingProfile.cs
- ListViewUpdatedEventArgs.cs
- SurrogateEncoder.cs
- CodeIdentifiers.cs
- NavigationService.cs
- DefaultPropertyAttribute.cs
- SynchronizationLockException.cs
- FormsAuthenticationTicket.cs
- CellParaClient.cs
- GeneralTransform.cs
- UriScheme.cs
- OperandQuery.cs
- KeyValuePairs.cs
- _Win32.cs
- CompareValidator.cs
- TypeDependencyAttribute.cs
- DbProviderFactory.cs
- AssemblyInfo.cs
- FormViewRow.cs
- PersonalizationState.cs
- ADConnectionHelper.cs
- RegistryKey.cs
- HtmlTernaryTree.cs
- ObjectItemCollection.cs
- Receive.cs
- DataColumnCollection.cs