#!F-adobe-helvetica-medium-r-normal--18* #!N #!N #!Rdxals DXAddLine, ...Triangle, ...Quad, ...Tetrahedron, ...Lines, ...Triangles, ...Quads, ...Tetrahedra #!N #!N Function Adds interpolation element(s) to a Field. #!N #!N Syntax #!CForestGreen #!N #!N #!F-adobe-courier-bold-r-normal--18* #!F-adobe-times-bold-r-normal--18* #!N #include <dx/dx.h> #!N #!N Field DXAddLine(Field f, int id, Line l) #!N Field DXAddTriangle(Field f, int id, Triangle t) #!N Field DXAddQuad(Field f, int id, Quadrilateral q) #!N Field DXAddTetrahedron(Field f, int id, Tetrahedron t) #!N #!N Field DXAddLines(Field f, int start, int n, Line *l) #!N Field DXAddTriangles(Field f, int start, int n, Triangle *t) #!N Field DXAddQuads(Field f, int start, int n, Quadrilateral *q) #!N Field DXAddTetrahedra(Field f, int start, int n, Tetrahedron *t) #!EF #!EF . #!N #!N #!EC #!N #!N Functional Details The interpolation elements generated by these routines are stored in the "connections" component. #!N #!I0 #!N #!N #!I0 #!N #!F-adobe-times-bold-r-normal--18* #!F-adobe-times-bold-r-normal--18* DXAddLine #!F-adobe-times-medium-r-normal--18* , #!EF DXAddTriangle #!F-adobe-times-medium-r-normal--18* , #!EF #!EF DXAddQuad #!F-adobe-times-medium-r-normal--18* , #!EF DXAddTetrahedron #!EF #!I50 #!N Add a single line, triangle, quad, or tetrahedron to #!F-adobe-times-bold-r-normal--18* f #!EF with the specified zero-based #!F-adobe-times-bold-r-normal--18* id #!EF . If necessary, a routine creates the "connections" component. #!N #!I0 #!N #!F-adobe-times-bold-r-normal--18* #!F-adobe-times-bold-r-normal--18* DXAddLines #!F-adobe-times-medium-r-normal--18* , #!EF DXAddTriangles #!F-adobe-times-medium-r-normal--18* , #!EF #!EF DXAddQuads #!F-adobe-times-medium-r-normal--18* , #!EF DXAddTetrahedra #!EF #!I50 #!N Add #!F-adobe-times-bold-r-normal--18* n #!EF lines, triangles, quads, or tetrahedra to #!F-adobe-times-bold-r-normal--18* f #!EF . Identifiers begin with #!F-adobe-times-bold-r-normal--18* start #!EF . If necessary, a routine creates the "connections" component. #!I0 #!N #!N #!N #!N #!F-adobe-times-bold-r-normal--18* Lines #!F-adobe-times-medium-r-normal--18* , #!EF Triangles #!F-adobe-times-medium-r-normal--18* , #!EF Quadrilaterals #!F-adobe-times-medium-r-normal--18* , #!EF and Tetrahedra. #!EF are defined as follows: #!CForestGreen #!N #!N #!F-adobe-courier-bold-r-normal--18* #!N #!F-adobe-times-bold-r-normal--18* #!N typedef struct line { #!N PointId p, q; #!N } Line; #!N #!N typedef struct triangle { #!N PointId p, q, r; #!N } Triangle; #!N #!N typedef struct quadrilateral { #!N PointId p, q, r, s; #!N } Quadrilateral; #!N #!N typedef struct tetrahedron { #!N PointId p, q, r, s; #!N } Tetrahedron; #!N #!EF #!EF #!N #!N #!EC Note: It is an error to attempt adding one kind of interpolation element to a "connections" component that already contains a different kind. #!N #!N Return Value Returns #!F-adobe-times-bold-r-normal--18* f #!EF or returns #!F-adobe-times-bold-r-normal--18* NULL #!EF and sets an error code. #!N #!N See Also #!F-adobe-times-bold-r-normal--18* #!Ldxsc,dxall1373 h DXSetConnections #!EL , #!Ldxgc,dxall1229 h DXGetConnections #!EL #!EF #!N #!N #!Lcnn,dxall1085 h Connections #!EL . #!N #!N #!N #!F-adobe-times-medium-i-normal--18* Next Topic #!EF #!N #!N #!Ldxam,dxall1168 h DXAddMessage, DXMessageReturn, DXMessageGoto #!EL #!N #!F-adobe-times-medium-i-normal--18* #!N
Generated by dwww version 1.15 on Thu Jun 20 16:07:51 CEST 2024.