Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media3D / Vector3dCollection.cs / 1305600 / Vector3dCollection.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: Vector3D 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 { public partial class Vector3DCollection { ////// 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() ; Vector3DCollection collection = new Vector3DCollection( (int) count) ; for ( uint i = 0; i < count ; i ++ ) { Vector3D point = new Vector3D( 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
- SQLDoubleStorage.cs
- SqlRemoveConstantOrderBy.cs
- DelegatedStream.cs
- RecordManager.cs
- CodeExporter.cs
- RequestResizeEvent.cs
- TreeViewTemplateSelector.cs
- ExpressionNode.cs
- TargetException.cs
- FixedSOMElement.cs
- ProfilePropertyNameValidator.cs
- DataGridViewCellStateChangedEventArgs.cs
- ParameterRetriever.cs
- Cursor.cs
- CodeIterationStatement.cs
- TableAutomationPeer.cs
- UriParserTemplates.cs
- ConfigXmlComment.cs
- LabelDesigner.cs
- BaseInfoTable.cs
- SQLInt64.cs
- BuildProviderCollection.cs
- datacache.cs
- MetadataItem_Static.cs
- SrgsGrammarCompiler.cs
- WindowsNonControl.cs
- SmtpException.cs
- ConfigurationElementProperty.cs
- BinaryCommonClasses.cs
- ProfileEventArgs.cs
- RuntimeCompatibilityAttribute.cs
- TableChangeProcessor.cs
- SQLMoneyStorage.cs
- LockCookie.cs
- WebPartManager.cs
- AsyncInvokeOperation.cs
- CodeAttributeArgumentCollection.cs
- RowTypePropertyElement.cs
- ToolBarOverflowPanel.cs
- ProfilePropertyNameValidator.cs
- UnsafeNativeMethodsTablet.cs
- DesignerCategoryAttribute.cs
- recordstatescratchpad.cs
- DataMisalignedException.cs
- LayoutExceptionEventArgs.cs
- TableLayoutRowStyleCollection.cs
- DictionaryManager.cs
- DynamicPropertyReader.cs
- Rect3DValueSerializer.cs
- LowerCaseStringConverter.cs
- SQLMembershipProvider.cs
- EntityStoreSchemaGenerator.cs
- Activity.cs
- DataRelationPropertyDescriptor.cs
- UIServiceHelper.cs
- ClientSideQueueItem.cs
- LinkClickEvent.cs
- LongMinMaxAggregationOperator.cs
- ExpressionBindingCollection.cs
- DbMetaDataColumnNames.cs
- Transaction.cs
- WindowsRegion.cs
- HandlerFactoryCache.cs
- Privilege.cs
- CredentialCache.cs
- ScriptBehaviorDescriptor.cs
- _ChunkParse.cs
- CodeObject.cs
- DataGridViewImageCell.cs
- EventDrivenDesigner.cs
- DesignTimeXamlWriter.cs
- FactoryGenerator.cs
- CommandHelper.cs
- SQLResource.cs
- DataServiceStreamResponse.cs
- SafeNativeMethodsOther.cs
- Style.cs
- WebPartTracker.cs
- DataObjectAttribute.cs
- RuleElement.cs
- PropertyChangedEventManager.cs
- LeaseManager.cs
- processwaithandle.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- KnownIds.cs
- ResourceDescriptionAttribute.cs
- ResourcePool.cs
- ExtensionFile.cs
- FixedTextSelectionProcessor.cs
- TextEditorLists.cs
- Itemizer.cs
- ViewStateException.cs
- PasswordDeriveBytes.cs
- SqlDependency.cs
- FullTextBreakpoint.cs
- RemotingServices.cs
- ConfigurationSchemaErrors.cs
- AsynchronousChannel.cs
- WebResourceUtil.cs
- log.cs