operator [] method
Returns a reference view of the inner vector at idx.
Mutations performed through the returned VecPoint (e.g. add, []=,
length) are applied in place and reflected in this VecVecPoint.
The view does not own the pointed-to memory: calling VecPoint.dispose
is a safe no-op, and the view is only valid while this VecVecPoint is
not structurally modified (resize/reserve/replace of the inner vector).
Implementation
@override
VecPoint operator [](int idx) => VecPoint._view(ccore.std_VecVecPoint_get_p(ptr, idx));