Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Compilation.cs
- DbCommandTree.cs
- AudienceUriMode.cs
- ExternalException.cs
- InputBindingCollection.cs
- ImageDesigner.cs
- XPathEmptyIterator.cs
- CornerRadiusConverter.cs
- TextEffectResolver.cs
- PriorityBinding.cs
- AccessText.cs
- GlyphingCache.cs
- GenericAuthenticationEventArgs.cs
- HandledEventArgs.cs
- CodeVariableReferenceExpression.cs
- srgsitem.cs
- WindowsFont.cs
- ListBindableAttribute.cs
- Range.cs
- ColorKeyFrameCollection.cs
- FastPropertyAccessor.cs
- SettingsPropertyValue.cs
- CodeCompileUnit.cs
- COAUTHINFO.cs
- SafeNativeMemoryHandle.cs
- RealizationContext.cs
- HtmlElementErrorEventArgs.cs
- VisualBrush.cs
- SafeFileMappingHandle.cs
- LocalServiceSecuritySettings.cs
- DesignerSelectionListAdapter.cs
- SequenceDesigner.cs
- UndirectedGraph.cs
- TextEmbeddedObject.cs
- Fault.cs
- HostProtectionException.cs
- DataGrid.cs
- MouseGestureValueSerializer.cs
- MtomMessageEncodingElement.cs
- EntityDataSourceDataSelectionPanel.cs
- Win32KeyboardDevice.cs
- CryptoStream.cs
- ILGenerator.cs
- QilPatternVisitor.cs
- HtmlInputImage.cs
- Enlistment.cs
- HtmlHead.cs
- BmpBitmapDecoder.cs
- Itemizer.cs
- Metafile.cs
- Shared.cs
- IteratorFilter.cs
- TransformProviderWrapper.cs
- SafeReversePInvokeHandle.cs
- XPathScanner.cs
- ModuleBuilder.cs
- ImageField.cs
- ValidationError.cs
- ScrollBar.cs
- HtmlInputPassword.cs
- XmlQuerySequence.cs
- DesignerOptionService.cs
- TimeSpanMinutesConverter.cs
- Transform3DGroup.cs
- Int64Storage.cs
- GrammarBuilderBase.cs
- Activator.cs
- EventMappingSettingsCollection.cs
- RegexRunnerFactory.cs
- InvalidStoreProtectionKeyException.cs
- TransformCollection.cs
- HttpRuntimeSection.cs
- CfgSemanticTag.cs
- Popup.cs
- ColumnMapVisitor.cs
- Visual3D.cs
- CapacityStreamGeometryContext.cs
- BaseTreeIterator.cs
- DropDownList.cs
- CodeGenerator.cs
- PerformanceCounterManager.cs
- ListViewUpdateEventArgs.cs
- _Events.cs
- SqlCacheDependency.cs
- ConnectionProviderAttribute.cs
- DataGridViewColumnHeaderCell.cs
- Parser.cs
- MachineKeySection.cs
- SetterBase.cs
- LinqDataSourceContextEventArgs.cs
- InvokePatternIdentifiers.cs
- ProviderMetadataCachedInformation.cs
- PreProcessor.cs
- ReceiveSecurityHeaderEntry.cs
- SinglePhaseEnlistment.cs
- Blend.cs
- JapaneseLunisolarCalendar.cs
- Schema.cs
- StrokeNodeEnumerator.cs
- TextSchema.cs