Message 1 of 2
Forgetting to add some RCAttributeType to RCPointBuffer has no consequence
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I use RCProjectImportSession to create a RCP, and I add scans to it via RCPointBuffer.
I've just realised that if I omit to call RCPointBuffer::addAttribute(RCAttributeType::Position) (and RCPointBuffer::addAttribute(RCAttributeType::RowIndex) and RCPointBuffer::addAttribute(RCAttributeType::ColumnIndex) for structured scans), it has no consequence: the calls to RCPointBuffer::setPositionAt() (and respectively to RCPointBuffer::setRowIndexAt() and RCPointBuffer::setColumnIndexAt()) don't trigger any error or exception, and the resulting RCP is perfectly fine.