diff --git a/src/Aardvark.Base/Math/RangesBoxes/Box_auto.cs b/src/Aardvark.Base/Math/RangesBoxes/Box_auto.cs index 8b61774f..838b334c 100644 --- a/src/Aardvark.Base/Math/RangesBoxes/Box_auto.cs +++ b/src/Aardvark.Base/Math/RangesBoxes/Box_auto.cs @@ -943,7 +943,7 @@ public static Range1b GetBoundingRange(this int[] indexArray, byte[] pointArray) [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Range1b GetBoundingRange(this int[] indexArray, int count, byte[] pointArray) { - return indexArray.GetBoundingRange(0, indexArray.Length, pointArray); + return indexArray.GetBoundingRange(0, count, pointArray); } /// @@ -987,7 +987,7 @@ public static Range1b GetBoundingRange(this long[] indexArray, byte[] pointArray [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Range1b GetBoundingRange(this long[] indexArray, long count, byte[] pointArray) { - return indexArray.GetBoundingRange(0, indexArray.LongLength, pointArray); + return indexArray.GetBoundingRange(0, count, pointArray); } /// @@ -1935,7 +1935,7 @@ public static Range1sb GetBoundingRange(this int[] indexArray, sbyte[] pointArra [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Range1sb GetBoundingRange(this int[] indexArray, int count, sbyte[] pointArray) { - return indexArray.GetBoundingRange(0, indexArray.Length, pointArray); + return indexArray.GetBoundingRange(0, count, pointArray); } /// @@ -1979,7 +1979,7 @@ public static Range1sb GetBoundingRange(this long[] indexArray, sbyte[] pointArr [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Range1sb GetBoundingRange(this long[] indexArray, long count, sbyte[] pointArray) { - return indexArray.GetBoundingRange(0, indexArray.LongLength, pointArray); + return indexArray.GetBoundingRange(0, count, pointArray); } /// @@ -2927,7 +2927,7 @@ public static Range1s GetBoundingRange(this int[] indexArray, short[] pointArray [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Range1s GetBoundingRange(this int[] indexArray, int count, short[] pointArray) { - return indexArray.GetBoundingRange(0, indexArray.Length, pointArray); + return indexArray.GetBoundingRange(0, count, pointArray); } /// @@ -2971,7 +2971,7 @@ public static Range1s GetBoundingRange(this long[] indexArray, short[] pointArra [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Range1s GetBoundingRange(this long[] indexArray, long count, short[] pointArray) { - return indexArray.GetBoundingRange(0, indexArray.LongLength, pointArray); + return indexArray.GetBoundingRange(0, count, pointArray); } /// @@ -3919,7 +3919,7 @@ public static Range1us GetBoundingRange(this int[] indexArray, ushort[] pointArr [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Range1us GetBoundingRange(this int[] indexArray, int count, ushort[] pointArray) { - return indexArray.GetBoundingRange(0, indexArray.Length, pointArray); + return indexArray.GetBoundingRange(0, count, pointArray); } /// @@ -3963,7 +3963,7 @@ public static Range1us GetBoundingRange(this long[] indexArray, ushort[] pointAr [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Range1us GetBoundingRange(this long[] indexArray, long count, ushort[] pointArray) { - return indexArray.GetBoundingRange(0, indexArray.LongLength, pointArray); + return indexArray.GetBoundingRange(0, count, pointArray); } /// @@ -4911,7 +4911,7 @@ public static Range1i GetBoundingRange(this int[] indexArray, int[] pointArray) [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Range1i GetBoundingRange(this int[] indexArray, int count, int[] pointArray) { - return indexArray.GetBoundingRange(0, indexArray.Length, pointArray); + return indexArray.GetBoundingRange(0, count, pointArray); } /// @@ -4955,7 +4955,7 @@ public static Range1i GetBoundingRange(this long[] indexArray, int[] pointArray) [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Range1i GetBoundingRange(this long[] indexArray, long count, int[] pointArray) { - return indexArray.GetBoundingRange(0, indexArray.LongLength, pointArray); + return indexArray.GetBoundingRange(0, count, pointArray); } /// @@ -5903,7 +5903,7 @@ public static Range1ui GetBoundingRange(this int[] indexArray, uint[] pointArray [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Range1ui GetBoundingRange(this int[] indexArray, int count, uint[] pointArray) { - return indexArray.GetBoundingRange(0, indexArray.Length, pointArray); + return indexArray.GetBoundingRange(0, count, pointArray); } /// @@ -5947,7 +5947,7 @@ public static Range1ui GetBoundingRange(this long[] indexArray, uint[] pointArra [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Range1ui GetBoundingRange(this long[] indexArray, long count, uint[] pointArray) { - return indexArray.GetBoundingRange(0, indexArray.LongLength, pointArray); + return indexArray.GetBoundingRange(0, count, pointArray); } /// @@ -6895,7 +6895,7 @@ public static Range1l GetBoundingRange(this int[] indexArray, long[] pointArray) [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Range1l GetBoundingRange(this int[] indexArray, int count, long[] pointArray) { - return indexArray.GetBoundingRange(0, indexArray.Length, pointArray); + return indexArray.GetBoundingRange(0, count, pointArray); } /// @@ -6939,7 +6939,7 @@ public static Range1l GetBoundingRange(this long[] indexArray, long[] pointArray [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Range1l GetBoundingRange(this long[] indexArray, long count, long[] pointArray) { - return indexArray.GetBoundingRange(0, indexArray.LongLength, pointArray); + return indexArray.GetBoundingRange(0, count, pointArray); } /// @@ -7887,7 +7887,7 @@ public static Range1ul GetBoundingRange(this int[] indexArray, ulong[] pointArra [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Range1ul GetBoundingRange(this int[] indexArray, int count, ulong[] pointArray) { - return indexArray.GetBoundingRange(0, indexArray.Length, pointArray); + return indexArray.GetBoundingRange(0, count, pointArray); } /// @@ -7931,7 +7931,7 @@ public static Range1ul GetBoundingRange(this long[] indexArray, ulong[] pointArr [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Range1ul GetBoundingRange(this long[] indexArray, long count, ulong[] pointArray) { - return indexArray.GetBoundingRange(0, indexArray.LongLength, pointArray); + return indexArray.GetBoundingRange(0, count, pointArray); } /// @@ -8898,7 +8898,7 @@ public static Range1f GetBoundingRange(this int[] indexArray, float[] pointArray [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Range1f GetBoundingRange(this int[] indexArray, int count, float[] pointArray) { - return indexArray.GetBoundingRange(0, indexArray.Length, pointArray); + return indexArray.GetBoundingRange(0, count, pointArray); } /// @@ -8942,7 +8942,7 @@ public static Range1f GetBoundingRange(this long[] indexArray, float[] pointArra [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Range1f GetBoundingRange(this long[] indexArray, long count, float[] pointArray) { - return indexArray.GetBoundingRange(0, indexArray.LongLength, pointArray); + return indexArray.GetBoundingRange(0, count, pointArray); } /// @@ -9909,7 +9909,7 @@ public static Range1d GetBoundingRange(this int[] indexArray, double[] pointArra [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Range1d GetBoundingRange(this int[] indexArray, int count, double[] pointArray) { - return indexArray.GetBoundingRange(0, indexArray.Length, pointArray); + return indexArray.GetBoundingRange(0, count, pointArray); } /// @@ -9953,7 +9953,7 @@ public static Range1d GetBoundingRange(this long[] indexArray, double[] pointArr [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Range1d GetBoundingRange(this long[] indexArray, long count, double[] pointArray) { - return indexArray.GetBoundingRange(0, indexArray.LongLength, pointArray); + return indexArray.GetBoundingRange(0, count, pointArray); } /// @@ -11488,7 +11488,7 @@ public static Box2i GetBoundingBox(this int[] indexArray, V2i[] pointArray) [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Box2i GetBoundingBox(this int[] indexArray, int count, V2i[] pointArray) { - return indexArray.GetBoundingBox(0, indexArray.Length, pointArray); + return indexArray.GetBoundingBox(0, count, pointArray); } /// @@ -11532,7 +11532,7 @@ public static Box2i GetBoundingBox(this long[] indexArray, V2i[] pointArray) [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Box2i GetBoundingBox(this long[] indexArray, long count, V2i[] pointArray) { - return indexArray.GetBoundingBox(0, indexArray.LongLength, pointArray); + return indexArray.GetBoundingBox(0, count, pointArray); } /// @@ -13019,7 +13019,7 @@ public static Box2l GetBoundingBox(this int[] indexArray, V2l[] pointArray) [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Box2l GetBoundingBox(this int[] indexArray, int count, V2l[] pointArray) { - return indexArray.GetBoundingBox(0, indexArray.Length, pointArray); + return indexArray.GetBoundingBox(0, count, pointArray); } /// @@ -13063,7 +13063,7 @@ public static Box2l GetBoundingBox(this long[] indexArray, V2l[] pointArray) [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Box2l GetBoundingBox(this long[] indexArray, long count, V2l[] pointArray) { - return indexArray.GetBoundingBox(0, indexArray.LongLength, pointArray); + return indexArray.GetBoundingBox(0, count, pointArray); } /// @@ -14656,7 +14656,7 @@ public static Box2f GetBoundingBox(this int[] indexArray, V2f[] pointArray) [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Box2f GetBoundingBox(this int[] indexArray, int count, V2f[] pointArray) { - return indexArray.GetBoundingBox(0, indexArray.Length, pointArray); + return indexArray.GetBoundingBox(0, count, pointArray); } /// @@ -14700,7 +14700,7 @@ public static Box2f GetBoundingBox(this long[] indexArray, V2f[] pointArray) [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Box2f GetBoundingBox(this long[] indexArray, long count, V2f[] pointArray) { - return indexArray.GetBoundingBox(0, indexArray.LongLength, pointArray); + return indexArray.GetBoundingBox(0, count, pointArray); } /// @@ -16293,7 +16293,7 @@ public static Box2d GetBoundingBox(this int[] indexArray, V2d[] pointArray) [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Box2d GetBoundingBox(this int[] indexArray, int count, V2d[] pointArray) { - return indexArray.GetBoundingBox(0, indexArray.Length, pointArray); + return indexArray.GetBoundingBox(0, count, pointArray); } /// @@ -16337,7 +16337,7 @@ public static Box2d GetBoundingBox(this long[] indexArray, V2d[] pointArray) [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Box2d GetBoundingBox(this long[] indexArray, long count, V2d[] pointArray) { - return indexArray.GetBoundingBox(0, indexArray.LongLength, pointArray); + return indexArray.GetBoundingBox(0, count, pointArray); } /// @@ -17801,7 +17801,7 @@ public static Box3i GetBoundingBox(this int[] indexArray, V3i[] pointArray) [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Box3i GetBoundingBox(this int[] indexArray, int count, V3i[] pointArray) { - return indexArray.GetBoundingBox(0, indexArray.Length, pointArray); + return indexArray.GetBoundingBox(0, count, pointArray); } /// @@ -17845,7 +17845,7 @@ public static Box3i GetBoundingBox(this long[] indexArray, V3i[] pointArray) [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Box3i GetBoundingBox(this long[] indexArray, long count, V3i[] pointArray) { - return indexArray.GetBoundingBox(0, indexArray.LongLength, pointArray); + return indexArray.GetBoundingBox(0, count, pointArray); } /// @@ -19689,7 +19689,7 @@ public static Box3l GetBoundingBox(this int[] indexArray, V3l[] pointArray) [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Box3l GetBoundingBox(this int[] indexArray, int count, V3l[] pointArray) { - return indexArray.GetBoundingBox(0, indexArray.Length, pointArray); + return indexArray.GetBoundingBox(0, count, pointArray); } /// @@ -19733,7 +19733,7 @@ public static Box3l GetBoundingBox(this long[] indexArray, V3l[] pointArray) [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Box3l GetBoundingBox(this long[] indexArray, long count, V3l[] pointArray) { - return indexArray.GetBoundingBox(0, indexArray.LongLength, pointArray); + return indexArray.GetBoundingBox(0, count, pointArray); } /// @@ -21688,7 +21688,7 @@ public static Box3f GetBoundingBox(this int[] indexArray, V3f[] pointArray) [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Box3f GetBoundingBox(this int[] indexArray, int count, V3f[] pointArray) { - return indexArray.GetBoundingBox(0, indexArray.Length, pointArray); + return indexArray.GetBoundingBox(0, count, pointArray); } /// @@ -21732,7 +21732,7 @@ public static Box3f GetBoundingBox(this long[] indexArray, V3f[] pointArray) [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Box3f GetBoundingBox(this long[] indexArray, long count, V3f[] pointArray) { - return indexArray.GetBoundingBox(0, indexArray.LongLength, pointArray); + return indexArray.GetBoundingBox(0, count, pointArray); } /// @@ -23687,7 +23687,7 @@ public static Box3d GetBoundingBox(this int[] indexArray, V3d[] pointArray) [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Box3d GetBoundingBox(this int[] indexArray, int count, V3d[] pointArray) { - return indexArray.GetBoundingBox(0, indexArray.Length, pointArray); + return indexArray.GetBoundingBox(0, count, pointArray); } /// @@ -23731,7 +23731,7 @@ public static Box3d GetBoundingBox(this long[] indexArray, V3d[] pointArray) [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Box3d GetBoundingBox(this long[] indexArray, long count, V3d[] pointArray) { - return indexArray.GetBoundingBox(0, indexArray.LongLength, pointArray); + return indexArray.GetBoundingBox(0, count, pointArray); } /// diff --git a/src/Aardvark.Base/Math/RangesBoxes/Box_template.cs b/src/Aardvark.Base/Math/RangesBoxes/Box_template.cs index e1d7f622..b9137739 100644 --- a/src/Aardvark.Base/Math/RangesBoxes/Box_template.cs +++ b/src/Aardvark.Base/Math/RangesBoxes/Box_template.cs @@ -1978,7 +1978,7 @@ public static __type__ GetBounding__bnamecaps__(this __itype__[] indexArray, __l [MethodImpl(MethodImplOptions.AggressiveInlining)] public static __type__ GetBounding__bnamecaps__(this __itype__[] indexArray, __itype__ count, __ltype__[] pointArray) { - return indexArray.GetBounding__bnamecaps__(0, indexArray.__getlength__, pointArray); + return indexArray.GetBounding__bnamecaps__(0, count, pointArray); } ///