DirectX SDK

D3DXPLANE

The D3DXPLANE structure describes a plane.

typedef struct D3DXPLANE {
  float a, b, c, d;
} D3DXPLANE;

Members

a
The a coefficient of the clipping plane in the general plane equation. See remarks.
b
The b coefficient of the clipping plane in the general plane equation. See remarks.
c
The c coefficient of the clipping plane in the general plane equation. See remarks.
d
The d coefficient of the clipping plane in the general plane equation. See remarks.

Remarks

The members of the D3DXPLANE structure take the form of the general plane equation. They fit into the general plane equation such that ax + by + cz + dw = 0.

C++ programmers can take advantage of operator overloading and type casting. The C++ implementation of the D3DXPLANE structure implements overloaded constructors and overloaded unary and binary operators. For more information, see C++ Specific Features.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Windows CE: Unsupported.
  Version: Requires DirectX 7.0.
  Header: Declared in d3dxmath.h.

See Also

D3DXPlaneDot, D3DXPlaneDotCoord, D3DXPlaneDotNormal, D3DXPlaneIntersectLine, D3DXPlaneFromPointNormal, D3DXPlaneFromPoints, D3DXPlaneTransform