Searched refs:segmentStartX (Results 1 – 1 of 1) sorted by relevance
151 float segmentStartX = pts[i] < 0 ? 0 : pts[i]; in spatialSampling() local153 if (segmentStartX > targetPatchSize) { in spatialSampling()154 segmentStartX = targetPatchSize; in spatialSampling()159 plot(segmentStartX, segmentStartY, sample, bitmapSize); in spatialSampling()162 if (segmentEndX > segmentStartX) { in spatialSampling()163 xpos = (float) Math.ceil(segmentStartX); in spatialSampling()165 (segmentEndX - segmentStartX); in spatialSampling()167 ypos = slope * (xpos - segmentStartX) + segmentStartY; in spatialSampling()171 } else if (segmentEndX < segmentStartX){ in spatialSampling()174 (segmentEndX - segmentStartX); in spatialSampling()[all …]