VCL RAD DirectX for C++ Builder

Welcome to

www.tdxlibrary.org

Home of the
the TDx_Library...

=- RAD DirectX =-

"RAD DirectX"
for
C++ Builder

...

Welcome to tdxlibrary.org Latest News

Development Tools Demo Applications Step-By-Step Tutorials Component Reference

Register our Tools Available Downloads

Frequently Asked Questions Links to other sites Information about the tdxlibrary.org website


    TDx_3DI_Library v2.00 Component Reference

    -= Click to navigate the reference =-
    Go to the Welcome Page

    [ TDx_3DDevice::GetClipPlane() ]     [ next: GetClipStatus() ]     [ prev: GetCaps() ]

    public:

         virtual bool __fastcall GetClipPlane( dword pIndex, D3DVALUE* pPlaneEquation );





    -= Go to the TDx_3DDevice description =-    TDX_3DDEVICE::GETCLIPPLANE()   [ component method ]

    • Description

        The TDx_3DDevice::GetClipPlane() method will retrieve the coefficients of the user defined clipping plane for this device.

        The plane equation exists in world space and is set using TDx_3DDevice::SetClipPlane().

        The coefficients returned take the form of the general plane equation.
        Eg: If values A, B, C, and D were returned in PlaneEquation they would fit the general plane equation such that Ax + By + Cz + D = 0.
        A homogeneous coordinate point (x, y, z, w) will be visible where Ax + By + Cz + Dw >= 0.

        If the method call fails, the OnError event will be triggered with one of the following values:
        DDERR_INVALIDPARAMS

    • Parameters

        Index
        The Index parameter identifies the clipping plane for which the coefficients are being retrieved.

        PlaneEquation
        The PlaneEquation parameter references a 4 element floating point array for holding the coefficients if this method returns successfully.


    • See Also
    • Top





    If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.



























Top

Welcome |  Latest News |  Tools |  Demos |  Tutorials |  Reference |  Register |  Downloads
FAQ |  Links |  Site Information

This page is Copyright © 2019 Darren John Dwyer, Australia. All Rights Reserved.
Borland C++ Builder, CBuilder, etc are Trademarks of Borland Corporation.
DirectX, DirectDraw, Windows, etc are Trademarks of Microsoft Corporation.