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
- Timer.cs
- SendMailErrorEventArgs.cs
- LinkConverter.cs
- DatagridviewDisplayedBandsData.cs
- ScriptBehaviorDescriptor.cs
- PolyLineSegment.cs
- ActivationServices.cs
- DependencyProperty.cs
- TypeExtensionSerializer.cs
- StateWorkerRequest.cs
- ListBox.cs
- DetailsViewDeletedEventArgs.cs
- DataGridPageChangedEventArgs.cs
- TrackingStringDictionary.cs
- Sql8ExpressionRewriter.cs
- ConfigXmlWhitespace.cs
- MetafileHeader.cs
- WebHeaderCollection.cs
- ServiceEndpointCollection.cs
- SchemaAttDef.cs
- listitem.cs
- SQLInt64.cs
- AppDomain.cs
- MetadataException.cs
- GenericAuthenticationEventArgs.cs
- DataGridViewCheckBoxCell.cs
- ReadOnlyHierarchicalDataSourceView.cs
- ColumnPropertiesGroup.cs
- Vector3DIndependentAnimationStorage.cs
- MatrixCamera.cs
- TrackPointCollection.cs
- DataControlImageButton.cs
- SiteMapNodeItem.cs
- AdRotatorDesigner.cs
- ServerValidateEventArgs.cs
- XmlChildEnumerator.cs
- ConsoleTraceListener.cs
- TableLayoutStyleCollection.cs
- ConfigXmlAttribute.cs
- activationcontext.cs
- EmptyEnumerator.cs
- EventLogPermissionEntryCollection.cs
- MessageSmuggler.cs
- WebPartActionVerb.cs
- IdentityReference.cs
- FileDialog_Vista.cs
- BindingExpressionUncommonField.cs
- EnumCodeDomSerializer.cs
- ThreadStaticAttribute.cs
- SoapSchemaExporter.cs
- DataList.cs
- ValidationEventArgs.cs
- ControlBindingsCollection.cs
- oledbmetadatacolumnnames.cs
- ClusterUtils.cs
- XmlImplementation.cs
- BaseCollection.cs
- _ListenerResponseStream.cs
- DeviceFilterDictionary.cs
- SqlConnectionStringBuilder.cs
- SkipStoryboardToFill.cs
- UnsafeNativeMethodsMilCoreApi.cs
- AuthorizationSection.cs
- ConnectionConsumerAttribute.cs
- PlanCompiler.cs
- DrawToolTipEventArgs.cs
- CodeMethodInvokeExpression.cs
- SerializationUtilities.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- StyleHelper.cs
- StringWriter.cs
- COM2ComponentEditor.cs
- ControlTemplate.cs
- RelationshipManager.cs
- ComponentResourceKeyConverter.cs
- HtmlTernaryTree.cs
- FilterElement.cs
- DateTimeFormatInfo.cs
- SoapExtensionTypeElementCollection.cs
- ZipIOLocalFileHeader.cs
- StringDictionary.cs
- XamlReaderHelper.cs
- RolePrincipal.cs
- WindowInteropHelper.cs
- FontFaceLayoutInfo.cs
- EpmCustomContentWriterNodeData.cs
- SqlProvider.cs
- PanelStyle.cs
- WebPartActionVerb.cs
- OutOfMemoryException.cs
- StaticResourceExtension.cs
- SqlTrackingWorkflowInstance.cs
- GPPOINT.cs
- OdbcParameterCollection.cs
- Selector.cs
- InvocationExpression.cs
- MimeTypePropertyAttribute.cs
- CreateUserErrorEventArgs.cs
- GestureRecognizer.cs
- UiaCoreApi.cs