Definition at line 1114 of file shpopen.c.
References SHPObject::bMeasureIsUsed, nVertices, SHPObject::padfM, SHPObject::padfX, SHPObject::padfY, SHPObject::padfZ, and TRUE.
1116 psObject->padfX = (
double *) calloc(
sizeof(
double),
nVertices);
1117 psObject->padfY = (
double *) calloc(
sizeof(
double),
nVertices);
1118 psObject->padfZ = (
double *) calloc(
sizeof(
double),
nVertices);
1119 psObject->padfM = (
double *) calloc(
sizeof(
double),
nVertices);
1124 psObject->padfX[i] = padfX[i];
1126 psObject->padfY[i] = padfY[i];
1127 if( padfZ != NULL &&
bHasZ )
1128 psObject->padfZ[i] = padfZ[i];
1129 if( padfM != NULL && bHasM )
1130 psObject->padfM[i] = padfM[i];
1132 if( padfM != NULL && bHasM )
1133 psObject->bMeasureIsUsed =
TRUE;