Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Media3D / Point3DCollection.cs / 1 / Point3DCollection.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: 3D point 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 { ////// 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
- __TransparentProxy.cs
- RadioButtonFlatAdapter.cs
- FastEncoder.cs
- _IPv6Address.cs
- JsonWriter.cs
- TypeContext.cs
- ActivityTypeResolver.xaml.cs
- DataRelationCollection.cs
- ListViewInsertionMark.cs
- SQlBooleanStorage.cs
- ScrollViewerAutomationPeer.cs
- SelectionGlyphBase.cs
- BezierSegment.cs
- ServiceProviders.cs
- ClosureBinding.cs
- DataGridPageChangedEventArgs.cs
- ServiceProviders.cs
- MimeWriter.cs
- StrokeDescriptor.cs
- WebService.cs
- MTConfigUtil.cs
- Frame.cs
- NativeRightsManagementAPIsStructures.cs
- LogAppendAsyncResult.cs
- DataServiceQueryProvider.cs
- ProviderConnectionPointCollection.cs
- RegexCode.cs
- BrowserTree.cs
- Matrix3DConverter.cs
- VirtualDirectoryMappingCollection.cs
- NameGenerator.cs
- UInt16Storage.cs
- Label.cs
- DecodeHelper.cs
- Rect.cs
- PrintPreviewControl.cs
- HttpHandlerActionCollection.cs
- EntityKeyElement.cs
- XPathExpr.cs
- ToolStripSettings.cs
- GridSplitter.cs
- SqlClientFactory.cs
- SoapRpcServiceAttribute.cs
- dbenumerator.cs
- EntityClassGenerator.cs
- ResourcesBuildProvider.cs
- SqlRowUpdatedEvent.cs
- log.cs
- SqlStream.cs
- UnsafeNativeMethodsMilCoreApi.cs
- TargetControlTypeCache.cs
- ValidationUtility.cs
- OdbcConnection.cs
- FormatVersion.cs
- FolderBrowserDialog.cs
- ConvertersCollection.cs
- DrawingImage.cs
- MailMessage.cs
- Int32Storage.cs
- AdjustableArrowCap.cs
- CompilerResults.cs
- MimeParameter.cs
- HttpWebRequest.cs
- DataListGeneralPage.cs
- Shape.cs
- IPGlobalProperties.cs
- LogLogRecordHeader.cs
- Item.cs
- SuppressIldasmAttribute.cs
- FilePrompt.cs
- DataGridViewSortCompareEventArgs.cs
- ValidationSummary.cs
- SqlClientMetaDataCollectionNames.cs
- MatrixTransform.cs
- ExpandCollapsePattern.cs
- controlskin.cs
- SessionEndingEventArgs.cs
- StorageComplexPropertyMapping.cs
- CustomPopupPlacement.cs
- NoClickablePointException.cs
- HttpFileCollection.cs
- Control.cs
- ScrollItemProviderWrapper.cs
- UxThemeWrapper.cs
- _ProxyChain.cs
- SqlFactory.cs
- Permission.cs
- FileRecordSequenceCompletedAsyncResult.cs
- SqlDataSourceSelectingEventArgs.cs
- DataPagerField.cs
- ShapingWorkspace.cs
- ModelItemCollection.cs
- CurrencyWrapper.cs
- ProviderMetadataCachedInformation.cs
- TextTreeDeleteContentUndoUnit.cs
- SortedDictionary.cs
- TabControlCancelEvent.cs
- SqlAggregateChecker.cs
- CodeCastExpression.cs
- RelativeSource.cs