AffineTransform3D.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media3D / AffineTransform3D.cs / 1305600 / AffineTransform3D.cs

                            //---------------------------------------------------------------------------- 
//
// 
//    Copyright (C) Microsoft Corporation.  All rights reserved.
//  
//
// 
// Description: Affine 3D transformations. 
//
//              See spec at http://avalon/medialayer/Specifications/Avalon3D%20API%20Spec.mht 
//
// History:
//  06/04/2003 : t-gregr - 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.
//---------------------------------------------------------------------------- 
//
// 
//    Copyright (C) Microsoft Corporation.  All rights reserved.
//  
//
// 
// Description: Affine 3D transformations. 
//
//              See spec at http://avalon/medialayer/Specifications/Avalon3D%20API%20Spec.mht 
//
// History:
//  06/04/2003 : t-gregr - 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