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
- StateMachineWorkflowInstance.cs
- CaseInsensitiveComparer.cs
- StateMachineTimers.cs
- Rectangle.cs
- FastEncoder.cs
- ActivityExecutorOperation.cs
- XmlDataSource.cs
- __ConsoleStream.cs
- BuildProviderCollection.cs
- WindowsTitleBar.cs
- EntityProviderFactory.cs
- WebPartActionVerb.cs
- DataTableNewRowEvent.cs
- MergeFilterQuery.cs
- NonClientArea.cs
- SqlPersistenceProviderFactory.cs
- TransformedBitmap.cs
- SelectorAutomationPeer.cs
- PerspectiveCamera.cs
- DataTableTypeConverter.cs
- SchemaImporterExtensionElementCollection.cs
- SystemThemeKey.cs
- XmlSchemaSimpleType.cs
- IpcChannelHelper.cs
- UrlPropertyAttribute.cs
- FromRequest.cs
- PageFunction.cs
- StringCollection.cs
- SystemIcons.cs
- Canvas.cs
- SqlMethodTransformer.cs
- TraceLog.cs
- StringToken.cs
- RemoteWebConfigurationHost.cs
- DetailsView.cs
- HandlerBase.cs
- QilTernary.cs
- FontStretchConverter.cs
- DesignerTransaction.cs
- SimplePropertyEntry.cs
- ConstructorArgumentAttribute.cs
- RawStylusInputCustomData.cs
- WindowsTokenRoleProvider.cs
- Int64AnimationUsingKeyFrames.cs
- ResourceDisplayNameAttribute.cs
- LayoutDump.cs
- SystemInformation.cs
- ToolboxComponentsCreatingEventArgs.cs
- RegexParser.cs
- ReadonlyMessageFilter.cs
- CipherData.cs
- ImageClickEventArgs.cs
- SQLInt16Storage.cs
- PasswordRecovery.cs
- BitmapMetadataBlob.cs
- CoTaskMemHandle.cs
- Update.cs
- DragAssistanceManager.cs
- Stylesheet.cs
- CommonXSendMessage.cs
- TypographyProperties.cs
- PropertyGeneratedEventArgs.cs
- UriSectionReader.cs
- IImplicitResourceProvider.cs
- ItemAutomationPeer.cs
- OleDbCommand.cs
- TextProviderWrapper.cs
- HttpPostedFile.cs
- PEFileEvidenceFactory.cs
- HtmlTextArea.cs
- MiniCustomAttributeInfo.cs
- HttpClientCertificate.cs
- DoubleStorage.cs
- Matrix.cs
- ConfigXmlAttribute.cs
- KeyValuePairs.cs
- ManagementScope.cs
- DbParameterHelper.cs
- Point3DConverter.cs
- MembershipAdapter.cs
- UIElementParaClient.cs
- TableLayoutSettingsTypeConverter.cs
- FunctionImportMapping.cs
- HttpWebRequest.cs
- WebPermission.cs
- ElementAction.cs
- NodeCounter.cs
- XmlLanguageConverter.cs
- CharacterBufferReference.cs
- HttpModulesSection.cs
- SqlMethods.cs
- MouseActionConverter.cs
- MulticastIPAddressInformationCollection.cs
- WS2007FederationHttpBindingCollectionElement.cs
- DispatcherOperation.cs
- BufferAllocator.cs
- RoleBoolean.cs
- TimelineClockCollection.cs
- SafeSystemMetrics.cs
- ImageList.cs