A buffer holding points first .. first+capacity-1 of the chain.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=wp), | public | :: | box_hi(3) | = | 0.0_wp |
bounding box of the points written: upper corner |
|
| real(kind=wp), | public | :: | box_lo(3) | = | 0.0_wp |
bounding box of the points written: lower corner |
|
| integer, | public | :: | capacity | = | 0 |
number of points it holds |
|
| integer, | public | :: | first | = | 1 |
the chain index of its first point |
|
| type(c_ptr), | public | :: | line | = | c_null_ptr |
the line, marker or ribbon node |
|
| type(LodLevel), | public | :: | lod(lod_levels) |
error bounds at strides 2, 4, ... 2^lod_levels |
|||
| integer, | public | :: | n_written | = | 0 |
points written (the bounds are for them) |
type :: LineChunk type(c_ptr) :: line = c_null_ptr !! the line, marker or ribbon node integer :: first = 1 !! the chain index of its first point integer :: capacity = 0 !! number of points it holds ! level of detail (strips) type(LodLevel) :: lod(lod_levels) !! error bounds at strides 2, 4, ... 2^lod_levels real(wp) :: box_lo(3) = 0.0_wp !! bounding box of the points written: lower corner real(wp) :: box_hi(3) = 0.0_wp !! bounding box of the points written: upper corner integer :: n_written = 0 !! points written (the bounds are for them) end type LineChunk