array1_from_integers1
- compas_occ.conversions.array1_from_integers1(numbers)
Construct a one-dimensional integer array from a list of integers.
- Parameters:
- numberslist[int]
- Returns:
- TColStd_Array1OfInteger
See also
Examples
>>> from compas_occ.conversions import array1_from_integers1 >>> integers1 = [0, 1, 2] >>> array1 = array1_from_integers1(integers1) >>> array1 <OCC.Core.TColStd.TColStd_Array1OfInteger; ... >