help needed: Triangle3D function and TTrianglePoint3D param

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Omer
Newbie
Newbie
Posts: 1
Joined: Mon May 03, 2004 4:00 am
Location: NYC

help needed: Triangle3D function and TTrianglePoint3D param

Post by Omer » Sun May 16, 2004 3:50 pm

I couldn't find any sample or documentation on the usage of Triangle3D function and definition of TTrianglePoints3D and TTriangleColors3D parameters. Any information will be appriciated.

Marjan
Site Admin
Site Admin
Posts: 745
Joined: Fri Nov 07, 2003 5:00 am
Location: Slovenia
Contact:

Post by Marjan » Mon May 17, 2004 6:58 am

Hi, Omer.

I hope this will help:

Code: Select all

     TPoint3D         =packed record x,y,z:Integer; end;
     TTrianglePoints3D=Array[0..2] of TPoint3D;
     TTriangleColors3D=Array[0..2] of TColor;
As for the Triangle3D function, this Canvas method draws triangle by using the Points (3 3d point coordinatess) and colors it according to Colors[0] color.
Marjan Slatinek,
http://www.steema.com

Post Reply