FRECT

  Structures >

FRECT

Previous pageReturn to chapter overviewNext page

The FRECT union represents the 3D box defined by x-, y- and z- coordinates of its two opposite corners represented in CAD drawing units.

 

Syntax:

 

typedef union _FRECT

{

 struct

 {

  float Left;

  float Top;

  float Z1;

  float Right;

  float Bottom;

  float Z2;

 } Points;

 struct

 {

  FPOINT TopLeft;

  FPOINT BottomRight;

 } Corners;

} FRECT, *LPFRECT;

 

 

Fields:

 

Left

Specifies the x-coordinate of the upper-left corner of the rectangle.

Top

Specifies the y-coordinate of the upper-left corner of the rectangle.

Z1

Specifies the z-coordinate of the upper-left corner of the rectangle.

Bottom

Specifies the x-coordinate of the lower-right corner of the rectangle.

Right

Specifies the y-coordinate of the lower-right corner of the rectangle.

Z2

Specifies the z-coordinate of the lower-right corner of the rectangle.

TopLeft

Specifies the y-coordinate of the upper-left corner of the rectangle.

BottomRight

Specifies the lower-right corner of the rectangle.

 

 

See Also

CADDRAW  | CADEXPORTPARAMS  | DXFDATA  | DXFPOINT  | FPOINT


© 2003-2024 CADSoftTools

Go to CAD DLL