Revision 26423 branches/v10/libraries/libDielmoOpenLidar/src/com/dielmo/lidar/LASPoint11F0.java
LASPoint11F0.java | ||
---|---|---|
149 | 149 |
*/ |
150 | 150 |
protected char userData; |
151 | 151 |
|
152 |
protected long lasIndex; |
|
153 |
|
|
152 | 154 |
/** |
153 | 155 |
* This value indicates the file from which this point originated. |
154 | 156 |
* Valid values for this field are 1 to 65,535 inclusive with zero |
... | ... | |
180 | 182 |
userData = 0; |
181 | 183 |
pointSourceID = 0; |
182 | 184 |
sizeFormat = 20; |
185 |
lasIndex=-1; |
|
183 | 186 |
} |
184 | 187 |
|
185 | 188 |
// GET METHODS |
... | ... | |
638 | 641 |
throw new UnexpectedPointException("Out of index"); |
639 | 642 |
} |
640 | 643 |
|
644 |
if(index==lasIndex) |
|
645 |
return; |
|
646 |
else |
|
647 |
lasIndex=index; |
|
648 |
|
|
641 | 649 |
byte[] punto = new byte[getSizeFormat()]; |
642 | 650 |
|
643 | 651 |
input.position(hdr.getOffsetData()+getSizeFormat()*index); |
Also available in: Unified diff