1#!F-adobe-helvetica-medium-r-normal--18* 2#!N 3#!N #!Rdxltqt DXLn, DXTri, DXQuad, DXTetra 4#!N #!N Function #!N #!N Constructs a line, triangle, quadrilateral, or 5tetrahedron from point identifiers. #!N #!N Syntax #!N #!F-adobe-times-bold-r-normal--18* #include <dx/dx.h> 6Line DXLn(PointId p, PointId q) Triangle DXTri(PointId p, PointId q, PointId 7r) Quadrilateral DXQuad(PointId p, PointId q, PointId r, PointId s) Tetrahedron 8DXTetra(PointId p, PointId q, PointId r, PointId s) #!EF #!N #!N 9Functional Details #!N #!N Each of the connection primitives defined here 10consists of indices into an Array that stores the coordinate data, 11which are typically stored in the "positions" component of a Field. 12#!N #!N The type definitions for a #!F-adobe-times-bold-r-normal--18* Line #!EF , 13 #!F-adobe-times-bold-r-normal--18* Triangle #!EF , #!F-adobe-times-bold-r-normal--18* Quadrilateral #!EF , and #!F-adobe-times-bold-r-normal--18* Tetrahedron 14#!EF are as follows: #!N #!F-adobe-times-bold-r-normal--18* typedef struct line { PointId 15p, q; } Line; typedef struct triangle { PointId p, q, 16r; } Triangle; typedef struct quadrilateral { PointId p, q, r, 17s; } Quadrilateral; typedef struct tetrahedron { PointId p, q, r, 18s; } Tetrahedron; #!EF #!N #!N A Point Id is defined 19as follows: #!N #!F-adobe-times-bold-r-normal--18* typedef int PointId; #!EF #!N #!N Return 20Value #!N #!N Returns a line, triangle, quadrilateral, or tetrahedron. #!N 21#!N See Also #!N #!N #!F-adobe-times-bold-r-normal--18* #!Ldxaad,dxall1165 h DXAddArrayData #!EL , #!Ldxals,dxall1167 h DXAddLine, ...Triangle, ...Quad, ...Tetrahedron, ...Lines, ...Triangles, ...Quads, ...Tetrahedra #!EL , #!Ldxnav,dxall1310 h DXNewArray, DXNewArrayV #!EL 22#!EF #!N #!N #!Lltqtc,dxall1108 h Lines, Triangles, Quadrilaterals, Tetrahedra, and Cubes #!EL . #!N #!N #!N #!F-adobe-times-medium-i-normal--18* Next Topic 23#!EF #!N #!N #!Ldxli,dxall1293 h DXLocalizeInterpolator #!EL #!N #!F-adobe-times-medium-i-normal--18* #!N 24