PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ printLWTRIANGLE()

void printLWTRIANGLE ( LWTRIANGLE triangle)
extern

Definition at line 82 of file lwtriangle.c.

83{
84 if (triangle->type != TRIANGLETYPE)
85 lwerror("printLWTRIANGLE called with something else than a Triangle");
86
87 lwnotice("LWTRIANGLE {");
88 lwnotice(" ndims = %i", (int)FLAGS_NDIMS(triangle->flags));
89 lwnotice(" SRID = %i", (int)triangle->srid);
90 printPA(triangle->points);
91 lwnotice("}");
92}
void printPA(POINTARRAY *pa)
Definition lwgeom_api.c:440
#define FLAGS_NDIMS(flags)
Definition liblwgeom.h:179
#define TRIANGLETYPE
Definition liblwgeom.h:115
void lwnotice(const char *fmt,...) __attribute__((format(printf
Write a notice out to the notice handler.
void void lwerror(const char *fmt,...) __attribute__((format(printf
Write a notice out to the error handler.
int32_t srid
Definition liblwgeom.h:496
uint8_t type
Definition liblwgeom.h:498
lwflags_t flags
Definition liblwgeom.h:497
POINTARRAY * points
Definition liblwgeom.h:495

References LWTRIANGLE::flags, FLAGS_NDIMS, lwerror(), lwnotice(), LWTRIANGLE::points, printPA(), LWTRIANGLE::srid, TRIANGLETYPE, and LWTRIANGLE::type.

Here is the call graph for this function: