AffineTransform3D.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Media3D / AffineTransform3D.cs / 1 / AffineTransform3D.cs

                            //---------------------------------------------------------------------------- 
//
// 
//    Copyright (C) Microsoft Corporation.  All rights reserved.
//  
//
// 
// Description: Affine 3D transformations. 
//
//              See spec at [....]/medialayer/Specifications/Avalon3D%20API%20Spec.mht 
//
// History:
//  06/04/2003 : [....] - Created
// 
//---------------------------------------------------------------------------
 
using System; 

namespace System.Windows.Media.Media3D 
{
    /// 
    ///     Base class that all concrete affine 3D transforms derive from
    ///     (translate, rotate, scale, etc.) 
    /// 
    public abstract partial class AffineTransform3D : Transform3D 
    { 
        //-----------------------------------------------------
        // 
        //  Constructors
        //
        //-----------------------------------------------------
 
        // Prevent 3rd parties from extending this abstract base class.
        internal AffineTransform3D() {} 
 
        //------------------------------------------------------
        // 
        //  Public Methods
        //
        //-----------------------------------------------------
 
        //------------------------------------------------------
        // 
        //  Public Properties 
        //
        //------------------------------------------------------ 

        /// 
        ///     Determines if this is an affine transformation.
        ///  
        public override bool IsAffine
        { 
            get 
            {
                ReadPreamble(); 

                // All subclasses should be affine by definition.
                return true;
            } 
        }
 
        //----------------------------------------------------- 
        //
        //  Public Events 
        //
        //------------------------------------------------------

        //----------------------------------------------------- 
        //
        //  Private Fields 
        // 
        //-----------------------------------------------------
    } 
}


// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK