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
- WebPartConnectionsConfigureVerb.cs
- TreeNodeClickEventArgs.cs
- HttpDigestClientElement.cs
- ComplexTypeEmitter.cs
- _TransmitFileOverlappedAsyncResult.cs
- StoreContentChangedEventArgs.cs
- ToolStripDropDownButton.cs
- LinqDataSourceDeleteEventArgs.cs
- DataGridViewControlCollection.cs
- TableColumnCollection.cs
- DesignTimeValidationFeature.cs
- KnownTypeAttribute.cs
- Roles.cs
- SecurityTokenRequirement.cs
- SettingsBindableAttribute.cs
- RelatedPropertyManager.cs
- SecurityCriticalDataForSet.cs
- WindowsStatusBar.cs
- HttpRuntimeSection.cs
- FrameworkContentElementAutomationPeer.cs
- WindowsNonControl.cs
- DirtyTextRange.cs
- XmlSignificantWhitespace.cs
- TypeInitializationException.cs
- MatrixKeyFrameCollection.cs
- KeyManager.cs
- SspiNegotiationTokenAuthenticator.cs
- DisplayClaim.cs
- FontNamesConverter.cs
- SafeFileHandle.cs
- CodeNamespaceImport.cs
- CaseInsensitiveOrdinalStringComparer.cs
- PenThreadWorker.cs
- Section.cs
- EntityTypeEmitter.cs
- WindowsToolbarItemAsMenuItem.cs
- GeneratedCodeAttribute.cs
- Journaling.cs
- RelationshipEndMember.cs
- ThousandthOfEmRealDoubles.cs
- PlainXmlDeserializer.cs
- KeyBinding.cs
- ListViewCancelEventArgs.cs
- ExtenderControl.cs
- Signature.cs
- CompoundFileStreamReference.cs
- PrinterSettings.cs
- Deflater.cs
- NameTable.cs
- ArgumentNullException.cs
- HostedElements.cs
- ArgumentOutOfRangeException.cs
- SystemIPGlobalProperties.cs
- MTConfigUtil.cs
- SymmetricKeyWrap.cs
- ControlCommandSet.cs
- AlphabeticalEnumConverter.cs
- ADMembershipUser.cs
- XPathBuilder.cs
- ReadOnlyCollectionBase.cs
- ApplicationServiceHelper.cs
- DataGridColumnCollection.cs
- ToggleProviderWrapper.cs
- Camera.cs
- WebControlAdapter.cs
- dsa.cs
- ContractsBCL.cs
- DataGridHelper.cs
- OdbcException.cs
- Monitor.cs
- RequestResizeEvent.cs
- FullTextState.cs
- DbDeleteCommandTree.cs
- UpnEndpointIdentityExtension.cs
- DbConnectionStringCommon.cs
- Button.cs
- ParsedRoute.cs
- WeakReferenceKey.cs
- DoubleLinkList.cs
- IntegerValidator.cs
- DataGridViewButtonCell.cs
- PrintPreviewDialog.cs
- TextDecorationLocationValidation.cs
- Page.cs
- WebHttpBindingElement.cs
- XmlSerializer.cs
- NavigationWindowAutomationPeer.cs
- MessageOperationFormatter.cs
- SqlRetyper.cs
- LayoutUtils.cs
- DataViewSetting.cs
- SmiContext.cs
- DataGridItemCollection.cs
- DynamicQueryableWrapper.cs
- DataServiceRequest.cs
- FileSystemInfo.cs
- UnsafeNativeMethods.cs
- XmlSortKey.cs
- MessageSecurityVersion.cs
- CaseStatementSlot.cs