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
- BitmapEffectDrawing.cs
- GrowingArray.cs
- FontNamesConverter.cs
- TypeBuilder.cs
- EFTableProvider.cs
- AdobeCFFWrapper.cs
- ContextMenuStripGroup.cs
- RectAnimationUsingKeyFrames.cs
- FontDialog.cs
- CurrentChangingEventArgs.cs
- EmptyElement.cs
- Expander.cs
- Int32Converter.cs
- BinHexDecoder.cs
- SamlAuthorityBinding.cs
- XmlWriterDelegator.cs
- Transform.cs
- Debug.cs
- AdvancedBindingPropertyDescriptor.cs
- M3DUtil.cs
- ListViewItem.cs
- ToolStripDropTargetManager.cs
- EntityException.cs
- ParagraphResult.cs
- Crc32.cs
- StoreAnnotationsMap.cs
- DynamicDataManager.cs
- DurableInstance.cs
- Listbox.cs
- ListSortDescription.cs
- ClonableStack.cs
- DesignTimeTemplateParser.cs
- Tokenizer.cs
- LineBreakRecord.cs
- ScrollViewerAutomationPeer.cs
- ResourceReferenceExpression.cs
- DataContractSerializer.cs
- FileIOPermission.cs
- TraceFilter.cs
- BrowserCapabilitiesCodeGenerator.cs
- SQLChars.cs
- EventInfo.cs
- TrustLevelCollection.cs
- DateTimeFormat.cs
- KeyManager.cs
- IFormattable.cs
- MenuItemStyle.cs
- PeerNameRecordCollection.cs
- BindingListCollectionView.cs
- Code.cs
- FontFamily.cs
- ISAPIRuntime.cs
- UrlMappingsModule.cs
- DataGridViewTopLeftHeaderCell.cs
- _Events.cs
- LogArchiveSnapshot.cs
- VisualBasicSettings.cs
- KeyValueConfigurationElement.cs
- DataGridViewRowCollection.cs
- CharacterMetricsDictionary.cs
- MasterPageBuildProvider.cs
- DesignerGeometryHelper.cs
- Parameter.cs
- FileLogRecordStream.cs
- TreeNodeCollectionEditor.cs
- FixedSOMContainer.cs
- SystemIPGlobalProperties.cs
- ListItemCollection.cs
- XPathEmptyIterator.cs
- UrlMappingsModule.cs
- UriTemplateDispatchFormatter.cs
- UITypeEditor.cs
- QueryStringConverter.cs
- ToolStripDropDown.cs
- UrlAuthFailedErrorFormatter.cs
- TransformedBitmap.cs
- MenuItemStyleCollection.cs
- CustomPopupPlacement.cs
- SqlMetaData.cs
- IDataContractSurrogate.cs
- Internal.cs
- ToolStripDropDownMenu.cs
- TabletDeviceInfo.cs
- TextViewElement.cs
- JsonReader.cs
- JsonFormatGeneratorStatics.cs
- NonVisualControlAttribute.cs
- _IPv4Address.cs
- StructuredCompositeActivityDesigner.cs
- SecurityElement.cs
- RepeatBehaviorConverter.cs
- ControlUtil.cs
- OpCopier.cs
- TypeFieldSchema.cs
- CollectionViewProxy.cs
- PageScaling.cs
- ValidationRuleCollection.cs
- MethodBuilderInstantiation.cs
- NumericUpDownAccelerationCollection.cs
- ExpressionParser.cs