Generated
OCCT package Generated: BRepToolsWrapper, GeomToolsWrapper, NCollection_Array1_AppParCurves_ConstraintCouple,…
BRepToolsWrapper
Constructors(1)
Static methods(2)
- Write(shape: TopoDS_Shape): stringParameters (1)
shape
- Read(data: string): TopoDS_ShapeParameters (1)
data
GeomToolsWrapper
Constructors(1)
Static methods(2)
- Write(geometry: Geom2d_Curve): stringParameters (1)
geometry
- Read(data: string): Geom2d_CurveParameters (1)
data
NCollection_Array1_AppParCurves_ConstraintCouple
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_AppParCurves_ConstraintCouple
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_AppParCurves_ConstraintCouple): NCollection_Array1_AppParCurves_ConstraintCouple
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_AppParCurves_ConstraintCoupleParameters (2)
theLowertheUpper
- constructor(theBegin: AppParCurves_ConstraintCouple, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_AppParCurves_ConstraintCoupleParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: AppParCurves_ConstraintCouple): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_AppParCurves_ConstraintCouple): NCollection_Array1_AppParCurves_ConstraintCouple
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_AppParCurves_ConstraintCouple): NCollection_Array1_AppParCurves_ConstraintCouple
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_AppParCurves_ConstraintCouple): NCollection_Array1_AppParCurves_ConstraintCouple
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): AppParCurves_ConstraintCouple
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): AppParCurves_ConstraintCouple
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): AppParCurves_ConstraintCouple
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): AppParCurves_ConstraintCouple
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: AppParCurves_ConstraintCouple): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_AppParCurves_MultiBSpCurve
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_AppParCurves_MultiBSpCurve
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_AppParCurves_MultiBSpCurve): NCollection_Array1_AppParCurves_MultiBSpCurve
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_AppParCurves_MultiBSpCurveParameters (2)
theLowertheUpper
- constructor(theBegin: AppParCurves_MultiBSpCurve, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_AppParCurves_MultiBSpCurveParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: AppParCurves_MultiBSpCurve): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_AppParCurves_MultiBSpCurve): NCollection_Array1_AppParCurves_MultiBSpCurve
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_AppParCurves_MultiBSpCurve): NCollection_Array1_AppParCurves_MultiBSpCurve
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_AppParCurves_MultiBSpCurve): NCollection_Array1_AppParCurves_MultiBSpCurve
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): AppParCurves_MultiBSpCurve
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): AppParCurves_MultiBSpCurve
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): AppParCurves_MultiBSpCurve
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): AppParCurves_MultiBSpCurve
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: AppParCurves_MultiBSpCurve): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_AppParCurves_MultiCurve
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_AppParCurves_MultiCurve
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_AppParCurves_MultiCurve): NCollection_Array1_AppParCurves_MultiCurve
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_AppParCurves_MultiCurveParameters (2)
theLowertheUpper
- constructor(theBegin: AppParCurves_MultiCurve, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_AppParCurves_MultiCurveParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: AppParCurves_MultiCurve): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_AppParCurves_MultiCurve): NCollection_Array1_AppParCurves_MultiCurve
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_AppParCurves_MultiCurve): NCollection_Array1_AppParCurves_MultiCurve
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_AppParCurves_MultiCurve): NCollection_Array1_AppParCurves_MultiCurve
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): AppParCurves_MultiCurve
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): AppParCurves_MultiCurve
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): AppParCurves_MultiCurve
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): AppParCurves_MultiCurve
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: AppParCurves_MultiCurve): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_AppParCurves_MultiPoint
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_AppParCurves_MultiPoint
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: unknown): NCollection_Array1_AppParCurves_MultiPoint
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_AppParCurves_MultiPointParameters (2)
theLowertheUpper
- constructor(theBegin: AppParCurves_MultiPoint, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_AppParCurves_MultiPointParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: AppParCurves_MultiPoint): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: unknown): unknown
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: unknown): unknown
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: unknown): unknown
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): AppParCurves_MultiPoint
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): AppParCurves_MultiPoint
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): AppParCurves_MultiPoint
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): AppParCurves_MultiPoint
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: AppParCurves_MultiPoint): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_Bnd_Box
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_Bnd_Box
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_Bnd_BoxParameters (2)
theLowertheUpper
- constructor(theBegin: Bnd_Box, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_Bnd_BoxParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_Bnd_Box): NCollection_Array1_Bnd_Box
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): Bnd_Box
Variable value access.
Parameters (1)theIndex
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_Bnd_Box2d
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_Bnd_Box2d
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_Bnd_Box2dParameters (2)
theLowertheUpper
- constructor(theBegin: Bnd_Box2d, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_Bnd_Box2dParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): Bnd_Box2d
Variable value access.
Parameters (1)theIndex
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_Bnd_Sphere
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_Bnd_Sphere
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_Bnd_SphereParameters (2)
theLowertheUpper
- constructor(theBegin: Bnd_Sphere, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_Bnd_SphereParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: Bnd_Sphere): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- First(): Bnd_SphereReturns
first element
- Returns
first element
- Last(): Bnd_SphereReturns
last element
- Returns
last element
- Value(theIndex: number): Bnd_Sphere
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): Bnd_Sphere
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): Bnd_Sphere
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): Bnd_Sphere
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: Bnd_Sphere): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_bool
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_bool
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_boolParameters (2)
theLowertheUpper
- constructor(theBegin: boolean, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_boolParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: boolean): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_bool): NCollection_Array1_bool
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_bool): NCollection_Array1_bool
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_bool): NCollection_Array1_bool
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- First(): booleanReturns
first element
- ChangeFirst(): booleanReturns
first element
- Last(): booleanReturns
last element
- ChangeLast(): booleanReturns
last element
- Value(theIndex: number): boolean
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): boolean
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): boolean
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): boolean
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: boolean): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_BOPDS_Pave
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_BOPDS_Pave
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_BOPDS_PaveParameters (2)
theLowertheUpper
- constructor(theBegin: BOPDS_Pave, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_BOPDS_PaveParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: BOPDS_Pave): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- First(): BOPDS_PaveReturns
first element
- Returns
first element
- Last(): BOPDS_PaveReturns
last element
- Returns
last element
- Value(theIndex: number): BOPDS_Pave
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): BOPDS_Pave
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): BOPDS_Pave
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): BOPDS_Pave
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: BOPDS_Pave): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_BRepAdaptor_Curve
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_BRepAdaptor_Curve
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_BRepAdaptor_CurveParameters (2)
theLowertheUpper
- constructor(theBegin: BRepAdaptor_Curve, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_BRepAdaptor_CurveParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: BRepAdaptor_Curve): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): BRepAdaptor_Curve
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): BRepAdaptor_Curve
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): BRepAdaptor_Curve
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): BRepAdaptor_Curve
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: BRepAdaptor_Curve): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_char
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_char
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_charParameters (2)
theLowertheUpper
- constructor(theBegin: string, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_charParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: string): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_char): NCollection_Array1_char
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_char): NCollection_Array1_char
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_char): NCollection_Array1_char
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- First(): stringReturns
first element
- ChangeFirst(): stringReturns
first element
- Last(): stringReturns
last element
- ChangeLast(): stringReturns
last element
- Value(theIndex: number): string
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): string
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): string
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): string
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: string): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_ChFiDS_CircSection
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_ChFiDS_CircSection
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_ChFiDS_CircSectionParameters (2)
theLowertheUpper
- constructor(theBegin: ChFiDS_CircSection, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_ChFiDS_CircSectionParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: ChFiDS_CircSection): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): ChFiDS_CircSection
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): ChFiDS_CircSection
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): ChFiDS_CircSection
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): ChFiDS_CircSection
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: ChFiDS_CircSection): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_double
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_double
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_doubleParameters (2)
theLowertheUpper
- constructor(theBegin: number, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_doubleParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: number): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_double): NCollection_Array1_double
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_double): NCollection_Array1_double
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- First(): numberReturns
first element
- ChangeFirst(): numberReturns
first element
- Last(): numberReturns
last element
- ChangeLast(): numberReturns
last element
- Value(theIndex: number): number
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): number
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): number
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): number
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: number): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_Extrema_POnCurv
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_Extrema_POnCurv
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_Extrema_POnCurvParameters (2)
theLowertheUpper
- constructor(theBegin: Extrema_POnCurv, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_Extrema_POnCurvParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: Extrema_POnCurv): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): Extrema_POnCurv
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): Extrema_POnCurv
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): Extrema_POnCurv
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): Extrema_POnCurv
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: Extrema_POnCurv): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_Extrema_POnCurv2d
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_Extrema_POnCurv2d
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_Extrema_POnCurv2dParameters (2)
theLowertheUpper
- constructor(theBegin: Extrema_POnCurv2d, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_Extrema_POnCurv2dParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: Extrema_POnCurv2d): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): Extrema_POnCurv2d
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): Extrema_POnCurv2d
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): Extrema_POnCurv2d
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): Extrema_POnCurv2d
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: Extrema_POnCurv2d): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_Extrema_POnSurf
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_Extrema_POnSurf
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_Extrema_POnSurfParameters (2)
theLowertheUpper
- constructor(theBegin: Extrema_POnSurf, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_Extrema_POnSurfParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: Extrema_POnSurf): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): Extrema_POnSurf
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): Extrema_POnSurf
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): Extrema_POnSurf
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): Extrema_POnSurf
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: Extrema_POnSurf): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_float
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_float
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_floatParameters (2)
theLowertheUpper
- constructor(theBegin: number, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_floatParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: number): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_float): NCollection_Array1_float
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_float): NCollection_Array1_float
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- First(): numberReturns
first element
- ChangeFirst(): numberReturns
first element
- Last(): numberReturns
last element
- ChangeLast(): numberReturns
last element
- Value(theIndex: number): number
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): number
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): number
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): number
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: number): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_GccEnt_Position
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_GccEnt_Position
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_GccEnt_PositionParameters (2)
theLowertheUpper
- constructor(theBegin: GccEnt_Position, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_GccEnt_PositionParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: GccEnt_Position): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): GccEnt_Position
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): GccEnt_Position
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): GccEnt_Position
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): GccEnt_Position
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: GccEnt_Position): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_gp_Circ2d
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_gp_Circ2d
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_gp_Circ2dParameters (2)
theLowertheUpper
- constructor(theBegin: gp_Circ2d, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_gp_Circ2dParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): gp_Circ2d
Variable value access.
Parameters (1)theIndex
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_gp_Dir
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_gp_Dir
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_gp_DirParameters (2)
theLowertheUpper
- constructor(theBegin: gp_Dir, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_gp_DirParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_gp_Dir): NCollection_Array1_gp_Dir
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_gp_Dir): NCollection_Array1_gp_Dir
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- ChangeLast(): gp_DirReturns
last element
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): gp_Dir
Variable value access.
Parameters (1)theIndex
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_gp_Dir2d
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_gp_Dir2d
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_gp_Dir2dParameters (2)
theLowertheUpper
- constructor(theBegin: gp_Dir2d, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_gp_Dir2dParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): gp_Dir2d
Variable value access.
Parameters (1)theIndex
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_gp_GTrsf2d
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_gp_GTrsf2d
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_gp_GTrsf2dParameters (2)
theLowertheUpper
- constructor(theBegin: gp_GTrsf2d, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_gp_GTrsf2dParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: gp_GTrsf2d): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- First(): gp_GTrsf2dReturns
first element
- Returns
first element
- Last(): gp_GTrsf2dReturns
last element
- Returns
last element
- Value(theIndex: number): gp_GTrsf2d
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): gp_GTrsf2d
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): gp_GTrsf2d
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): gp_GTrsf2d
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: gp_GTrsf2d): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_gp_Lin
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_gp_Lin
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_gp_LinParameters (2)
theLowertheUpper
- constructor(theBegin: gp_Lin, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_gp_LinParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_gp_Lin): NCollection_Array1_gp_Lin
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_gp_Lin): NCollection_Array1_gp_Lin
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- ChangeLast(): gp_LinReturns
last element
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): gp_Lin
Variable value access.
Parameters (1)theIndex
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_gp_Lin2d
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_gp_Lin2d
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_gp_Lin2dParameters (2)
theLowertheUpper
- constructor(theBegin: gp_Lin2d, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_gp_Lin2dParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): gp_Lin2d
Variable value access.
Parameters (1)theIndex
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_gp_Mat
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_gp_Mat
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_gp_MatParameters (2)
theLowertheUpper
- constructor(theBegin: gp_Mat, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_gp_MatParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_gp_Mat): NCollection_Array1_gp_Mat
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_gp_Mat): NCollection_Array1_gp_Mat
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- ChangeLast(): gp_MatReturns
last element
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): gp_Mat
Variable value access.
Parameters (1)theIndex
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_gp_Pnt
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_gp_Pnt
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_gp_PntParameters (2)
theLowertheUpper
- constructor(theBegin: gp_Pnt, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_gp_PntParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_gp_Pnt): NCollection_Array1_gp_Pnt
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_gp_Pnt): NCollection_Array1_gp_Pnt
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- ChangeLast(): gp_PntReturns
last element
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): gp_Pnt
Variable value access.
Parameters (1)theIndex
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_gp_Pnt2d
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_gp_Pnt2d
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_gp_Pnt2dParameters (2)
theLowertheUpper
- constructor(theBegin: gp_Pnt2d, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_gp_Pnt2dParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): gp_Pnt2d
Variable value access.
Parameters (1)theIndex
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_gp_Trsf
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_gp_Trsf
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_gp_TrsfParameters (2)
theLowertheUpper
- constructor(theBegin: gp_Trsf, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_gp_TrsfParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_gp_Trsf): NCollection_Array1_gp_Trsf
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): gp_Trsf
Variable value access.
Parameters (1)theIndex
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_gp_Vec
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_gp_Vec
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_gp_VecParameters (2)
theLowertheUpper
- constructor(theBegin: gp_Vec, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_gp_VecParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_gp_Vec): NCollection_Array1_gp_Vec
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_gp_Vec): NCollection_Array1_gp_Vec
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- ChangeLast(): gp_VecReturns
last element
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): gp_Vec
Variable value access.
Parameters (1)theIndex
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_gp_Vec2d
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_gp_Vec2d
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_gp_Vec2dParameters (2)
theLowertheUpper
- constructor(theBegin: gp_Vec2d, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_gp_Vec2dParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): gp_Vec2d
Variable value access.
Parameters (1)theIndex
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_gp_XY
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_gp_XY
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_gp_XYParameters (2)
theLowertheUpper
- constructor(theBegin: gp_XY, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_gp_XYParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_gp_XY): NCollection_Array1_gp_XY
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_gp_XY): NCollection_Array1_gp_XY
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- ChangeFirst(): gp_XYReturns
first element
- Returns
last element
- ChangeLast(): gp_XYReturns
last element
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): gp_XY
Variable value access.
Parameters (1)theIndex
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_gp_XYZ
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_gp_XYZ
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_gp_XYZParameters (2)
theLowertheUpper
- constructor(theBegin: gp_XYZ, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_gp_XYZParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_gp_XYZ): NCollection_Array1_gp_XYZ
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_gp_XYZ): NCollection_Array1_gp_XYZ
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- ChangeLast(): gp_XYZReturns
last element
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): gp_XYZ
Variable value access.
Parameters (1)theIndex
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_Adaptor3d_Curve
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_Adaptor3d_Curve
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_Adaptor3d_Curve): NCollection_Array1_handle_Adaptor3d_Curve
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_Adaptor3d_CurveParameters (2)
theLowertheUpper
- constructor(theBegin: Adaptor3d_Curve, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_Adaptor3d_CurveParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: Adaptor3d_Curve): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_Adaptor3d_Curve): NCollection_Array1_handle_Adaptor3d_Curve
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_Adaptor3d_Curve): NCollection_Array1_handle_Adaptor3d_Curve
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_Adaptor3d_Curve): NCollection_Array1_handle_Adaptor3d_Curve
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): Adaptor3d_Curve
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): Adaptor3d_Curve
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): Adaptor3d_Curve
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): Adaptor3d_Curve
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: Adaptor3d_Curve): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_Adaptor3d_Surface
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_Adaptor3d_Surface
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_Adaptor3d_Surface): NCollection_Array1_handle_Adaptor3d_Surface
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_Adaptor3d_SurfaceParameters (2)
theLowertheUpper
- constructor(theBegin: Adaptor3d_Surface, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_Adaptor3d_SurfaceParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: Adaptor3d_Surface): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_Adaptor3d_Surface): NCollection_Array1_handle_Adaptor3d_Surface
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_Adaptor3d_Surface): NCollection_Array1_handle_Adaptor3d_Surface
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_Adaptor3d_Surface): NCollection_Array1_handle_Adaptor3d_Surface
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): Adaptor3d_Surface
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): Adaptor3d_Surface
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): Adaptor3d_Surface
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): Adaptor3d_Surface
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: Adaptor3d_Surface): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_ChFiDS_Stripe
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_ChFiDS_Stripe
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_ChFiDS_Stripe): NCollection_Array1_handle_ChFiDS_Stripe
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_ChFiDS_StripeParameters (2)
theLowertheUpper
- constructor(theBegin: ChFiDS_Stripe, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_ChFiDS_StripeParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: ChFiDS_Stripe): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_ChFiDS_Stripe): NCollection_Array1_handle_ChFiDS_Stripe
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): ChFiDS_Stripe
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): ChFiDS_Stripe
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): ChFiDS_Stripe
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): ChFiDS_Stripe
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: ChFiDS_Stripe): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_Expr_GeneralExpression
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_Expr_GeneralExpression
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_Expr_GeneralExpression): NCollection_Array1_handle_Expr_GeneralExpression
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_Expr_GeneralExpressionParameters (2)
theLowertheUpper
- constructor(theBegin: Expr_GeneralExpression, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_Expr_GeneralExpressionParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: Expr_GeneralExpression): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_Expr_GeneralExpression): NCollection_Array1_handle_Expr_GeneralExpression
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_Expr_GeneralExpression): NCollection_Array1_handle_Expr_GeneralExpression
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_Expr_GeneralExpression): NCollection_Array1_handle_Expr_GeneralExpression
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): Expr_GeneralExpression
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): Expr_GeneralExpression
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): Expr_GeneralExpression
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): Expr_GeneralExpression
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: Expr_GeneralExpression): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_Expr_NamedUnknown
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_Expr_NamedUnknown
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_Expr_NamedUnknown): NCollection_Array1_handle_Expr_NamedUnknown
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_Expr_NamedUnknownParameters (2)
theLowertheUpper
- constructor(theBegin: Expr_NamedUnknown, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_Expr_NamedUnknownParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: Expr_NamedUnknown): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_Expr_NamedUnknown): NCollection_Array1_handle_Expr_NamedUnknown
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_Expr_NamedUnknown): NCollection_Array1_handle_Expr_NamedUnknown
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_Expr_NamedUnknown): NCollection_Array1_handle_Expr_NamedUnknown
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): Expr_NamedUnknown
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): Expr_NamedUnknown
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): Expr_NamedUnknown
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): Expr_NamedUnknown
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: Expr_NamedUnknown): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_Expr_SingleRelation
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_Expr_SingleRelation
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_Expr_SingleRelation): NCollection_Array1_handle_Expr_SingleRelation
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_Expr_SingleRelationParameters (2)
theLowertheUpper
- constructor(theBegin: Expr_SingleRelation, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_Expr_SingleRelationParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: Expr_SingleRelation): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_Expr_SingleRelation): NCollection_Array1_handle_Expr_SingleRelation
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_Expr_SingleRelation): NCollection_Array1_handle_Expr_SingleRelation
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_Expr_SingleRelation): NCollection_Array1_handle_Expr_SingleRelation
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): Expr_SingleRelation
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): Expr_SingleRelation
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): Expr_SingleRelation
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): Expr_SingleRelation
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: Expr_SingleRelation): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_Geom_BezierCurve
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_Geom_BezierCurve
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_Geom_BezierCurve): NCollection_Array1_handle_Geom_BezierCurve
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_Geom_BezierCurveParameters (2)
theLowertheUpper
- constructor(theBegin: Geom_BezierCurve, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_Geom_BezierCurveParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: Geom_BezierCurve): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_Geom_BezierCurve): NCollection_Array1_handle_Geom_BezierCurve
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_Geom_BezierCurve): NCollection_Array1_handle_Geom_BezierCurve
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_Geom_BezierCurve): NCollection_Array1_handle_Geom_BezierCurve
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): Geom_BezierCurve
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): Geom_BezierCurve
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): Geom_BezierCurve
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): Geom_BezierCurve
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: Geom_BezierCurve): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_Geom_BSplineCurve
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_Geom_BSplineCurve
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_Geom_BSplineCurve): NCollection_Array1_handle_Geom_BSplineCurve
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_Geom_BSplineCurveParameters (2)
theLowertheUpper
- constructor(theBegin: Geom_BSplineCurve, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_Geom_BSplineCurveParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: Geom_BSplineCurve): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_Geom_BSplineCurve): NCollection_Array1_handle_Geom_BSplineCurve
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_Geom_BSplineCurve): NCollection_Array1_handle_Geom_BSplineCurve
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_Geom_BSplineCurve): NCollection_Array1_handle_Geom_BSplineCurve
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): Geom_BSplineCurve
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): Geom_BSplineCurve
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): Geom_BSplineCurve
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): Geom_BSplineCurve
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: Geom_BSplineCurve): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_Geom_Curve
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_Geom_Curve
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_Geom_CurveParameters (2)
theLowertheUpper
- constructor(theBegin: Geom_Curve, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_Geom_CurveParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: Geom_Curve): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- First(): Geom_CurveReturns
first element
- Returns
first element
- Last(): Geom_CurveReturns
last element
- Returns
last element
- Value(theIndex: number): Geom_Curve
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): Geom_Curve
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): Geom_Curve
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): Geom_Curve
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: Geom_Curve): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_Geom_Surface
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_Geom_Surface
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_Geom_Surface): NCollection_Array1_handle_Geom_Surface
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_Geom_SurfaceParameters (2)
theLowertheUpper
- constructor(theBegin: Geom_Surface, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_Geom_SurfaceParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: Geom_Surface): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_Geom_Surface): NCollection_Array1_handle_Geom_Surface
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Last(): Geom_SurfaceReturns
last element
- Returns
last element
- Value(theIndex: number): Geom_Surface
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): Geom_Surface
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): Geom_Surface
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): Geom_Surface
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: Geom_Surface): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_Geom2d_BezierCurve
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_Geom2d_BezierCurve
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_Geom2d_BezierCurve): NCollection_Array1_handle_Geom2d_BezierCurve
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_Geom2d_BezierCurveParameters (2)
theLowertheUpper
- constructor(theBegin: Geom2d_BezierCurve, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_Geom2d_BezierCurveParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: Geom2d_BezierCurve): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_Geom2d_BezierCurve): NCollection_Array1_handle_Geom2d_BezierCurve
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_Geom2d_BezierCurve): NCollection_Array1_handle_Geom2d_BezierCurve
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_Geom2d_BezierCurve): NCollection_Array1_handle_Geom2d_BezierCurve
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): Geom2d_BezierCurve
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): Geom2d_BezierCurve
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): Geom2d_BezierCurve
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): Geom2d_BezierCurve
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: Geom2d_BezierCurve): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_Geom2d_BSplineCurve
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_Geom2d_BSplineCurve
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_Geom2d_BSplineCurve): NCollection_Array1_handle_Geom2d_BSplineCurve
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_Geom2d_BSplineCurveParameters (2)
theLowertheUpper
- constructor(theBegin: Geom2d_BSplineCurve, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_Geom2d_BSplineCurveParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: Geom2d_BSplineCurve): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_Geom2d_BSplineCurve): NCollection_Array1_handle_Geom2d_BSplineCurve
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_Geom2d_BSplineCurve): NCollection_Array1_handle_Geom2d_BSplineCurve
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_Geom2d_BSplineCurve): NCollection_Array1_handle_Geom2d_BSplineCurve
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): Geom2d_BSplineCurve
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): Geom2d_BSplineCurve
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): Geom2d_BSplineCurve
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): Geom2d_BSplineCurve
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: Geom2d_BSplineCurve): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_Geom2d_Curve
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_Geom2d_Curve
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_Geom2d_Curve): NCollection_Array1_handle_Geom2d_Curve
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_Geom2d_CurveParameters (2)
theLowertheUpper
- constructor(theBegin: Geom2d_Curve, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_Geom2d_CurveParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: Geom2d_Curve): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_Geom2d_Curve): NCollection_Array1_handle_Geom2d_Curve
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Last(): Geom2d_CurveReturns
last element
- Returns
last element
- Value(theIndex: number): Geom2d_Curve
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): Geom2d_Curve
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): Geom2d_Curve
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): Geom2d_Curve
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: Geom2d_Curve): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_GeomFill_LocationLaw
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_GeomFill_LocationLaw
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_GeomFill_LocationLaw): NCollection_Array1_handle_GeomFill_LocationLaw
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_GeomFill_LocationLawParameters (2)
theLowertheUpper
- constructor(theBegin: GeomFill_LocationLaw, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_GeomFill_LocationLawParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: GeomFill_LocationLaw): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_GeomFill_LocationLaw): NCollection_Array1_handle_GeomFill_LocationLaw
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_GeomFill_LocationLaw): NCollection_Array1_handle_GeomFill_LocationLaw
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_GeomFill_LocationLaw): NCollection_Array1_handle_GeomFill_LocationLaw
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): GeomFill_LocationLaw
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): GeomFill_LocationLaw
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): GeomFill_LocationLaw
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): GeomFill_LocationLaw
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: GeomFill_LocationLaw): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_GeomFill_SectionLaw
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_GeomFill_SectionLaw
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_GeomFill_SectionLaw): NCollection_Array1_handle_GeomFill_SectionLaw
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_GeomFill_SectionLawParameters (2)
theLowertheUpper
- constructor(theBegin: GeomFill_SectionLaw, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_GeomFill_SectionLawParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: GeomFill_SectionLaw): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_GeomFill_SectionLaw): NCollection_Array1_handle_GeomFill_SectionLaw
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_GeomFill_SectionLaw): NCollection_Array1_handle_GeomFill_SectionLaw
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_GeomFill_SectionLaw): NCollection_Array1_handle_GeomFill_SectionLaw
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): GeomFill_SectionLaw
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): GeomFill_SectionLaw
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): GeomFill_SectionLaw
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): GeomFill_SectionLaw
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: GeomFill_SectionLaw): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_HLRAlgo_PolyData
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_HLRAlgo_PolyData
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_HLRAlgo_PolyData): NCollection_Array1_handle_HLRAlgo_PolyData
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_HLRAlgo_PolyDataParameters (2)
theLowertheUpper
- constructor(theBegin: HLRAlgo_PolyData, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_HLRAlgo_PolyDataParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: HLRAlgo_PolyData): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_HLRAlgo_PolyData): NCollection_Array1_handle_HLRAlgo_PolyData
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_HLRAlgo_PolyData): NCollection_Array1_handle_HLRAlgo_PolyData
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_HLRAlgo_PolyData): NCollection_Array1_handle_HLRAlgo_PolyData
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): HLRAlgo_PolyData
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): HLRAlgo_PolyData
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): HLRAlgo_PolyData
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): HLRAlgo_PolyData
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: HLRAlgo_PolyData): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_HLRAlgo_PolyInternalNode
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_HLRAlgo_PolyInternalNode
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_HLRAlgo_PolyInternalNode): NCollection_Array1_handle_HLRAlgo_PolyInternalNode
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_HLRAlgo_PolyInternalNodeParameters (2)
theLowertheUpper
- constructor(theBegin: HLRAlgo_PolyInternalNode, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_HLRAlgo_PolyInternalNodeParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: HLRAlgo_PolyInternalNode): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_HLRAlgo_PolyInternalNode): NCollection_Array1_handle_HLRAlgo_PolyInternalNode
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_HLRAlgo_PolyInternalNode): NCollection_Array1_handle_HLRAlgo_PolyInternalNode
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_HLRAlgo_PolyInternalNode): NCollection_Array1_handle_HLRAlgo_PolyInternalNode
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): HLRAlgo_PolyInternalNode
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): HLRAlgo_PolyInternalNode
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): HLRAlgo_PolyInternalNode
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): HLRAlgo_PolyInternalNode
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: HLRAlgo_PolyInternalNode): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_HLRAlgo_PolyShellData
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_HLRAlgo_PolyShellData
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_HLRAlgo_PolyShellData): NCollection_Array1_handle_HLRAlgo_PolyShellData
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_HLRAlgo_PolyShellDataParameters (2)
theLowertheUpper
- constructor(theBegin: HLRAlgo_PolyShellData, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_HLRAlgo_PolyShellDataParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: HLRAlgo_PolyShellData): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_HLRAlgo_PolyShellData): NCollection_Array1_handle_HLRAlgo_PolyShellData
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_HLRAlgo_PolyShellData): NCollection_Array1_handle_HLRAlgo_PolyShellData
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_HLRAlgo_PolyShellData): NCollection_Array1_handle_HLRAlgo_PolyShellData
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): HLRAlgo_PolyShellData
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): HLRAlgo_PolyShellData
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): HLRAlgo_PolyShellData
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): HLRAlgo_PolyShellData
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: HLRAlgo_PolyShellData): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_IGESAppli_FiniteElement
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_IGESAppli_FiniteElement
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_IGESAppli_FiniteElement): NCollection_Array1_handle_IGESAppli_FiniteElement
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_IGESAppli_FiniteElementParameters (2)
theLowertheUpper
- constructor(theBegin: IGESAppli_FiniteElement, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_IGESAppli_FiniteElementParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: IGESAppli_FiniteElement): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_IGESAppli_FiniteElement): NCollection_Array1_handle_IGESAppli_FiniteElement
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_IGESAppli_FiniteElement): NCollection_Array1_handle_IGESAppli_FiniteElement
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_IGESAppli_FiniteElement): NCollection_Array1_handle_IGESAppli_FiniteElement
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): IGESAppli_FiniteElement
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): IGESAppli_FiniteElement
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): IGESAppli_FiniteElement
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): IGESAppli_FiniteElement
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: IGESAppli_FiniteElement): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_IGESAppli_Flow
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_IGESAppli_Flow
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_IGESAppli_Flow): NCollection_Array1_handle_IGESAppli_Flow
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_IGESAppli_FlowParameters (2)
theLowertheUpper
- constructor(theBegin: IGESAppli_Flow, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_IGESAppli_FlowParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: IGESAppli_Flow): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_IGESAppli_Flow): NCollection_Array1_handle_IGESAppli_Flow
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_IGESAppli_Flow): NCollection_Array1_handle_IGESAppli_Flow
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): IGESAppli_Flow
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): IGESAppli_Flow
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): IGESAppli_Flow
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): IGESAppli_Flow
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: IGESAppli_Flow): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_IGESAppli_Node
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_IGESAppli_Node
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_IGESAppli_Node): NCollection_Array1_handle_IGESAppli_Node
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_IGESAppli_NodeParameters (2)
theLowertheUpper
- constructor(theBegin: IGESAppli_Node, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_IGESAppli_NodeParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: IGESAppli_Node): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_IGESAppli_Node): NCollection_Array1_handle_IGESAppli_Node
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_IGESAppli_Node): NCollection_Array1_handle_IGESAppli_Node
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): IGESAppli_Node
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): IGESAppli_Node
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): IGESAppli_Node
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): IGESAppli_Node
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: IGESAppli_Node): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_IGESData_IGESEntity
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_IGESData_IGESEntity
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_IGESData_IGESEntity): NCollection_Array1_handle_IGESData_IGESEntity
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_IGESData_IGESEntityParameters (2)
theLowertheUpper
- constructor(theBegin: IGESData_IGESEntity, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_IGESData_IGESEntityParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: IGESData_IGESEntity): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_IGESData_IGESEntity): NCollection_Array1_handle_IGESData_IGESEntity
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_IGESData_IGESEntity): NCollection_Array1_handle_IGESData_IGESEntity
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_IGESData_IGESEntity): NCollection_Array1_handle_IGESData_IGESEntity
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): IGESData_IGESEntity
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): IGESData_IGESEntity
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): IGESData_IGESEntity
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): IGESData_IGESEntity
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: IGESData_IGESEntity): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_IGESData_LineFontEntity
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_IGESData_LineFontEntity
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_IGESData_LineFontEntity): NCollection_Array1_handle_IGESData_LineFontEntity
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_IGESData_LineFontEntityParameters (2)
theLowertheUpper
- constructor(theBegin: IGESData_LineFontEntity, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_IGESData_LineFontEntityParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: IGESData_LineFontEntity): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_IGESData_LineFontEntity): NCollection_Array1_handle_IGESData_LineFontEntity
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_IGESData_LineFontEntity): NCollection_Array1_handle_IGESData_LineFontEntity
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_IGESData_LineFontEntity): NCollection_Array1_handle_IGESData_LineFontEntity
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): IGESData_LineFontEntity
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): IGESData_LineFontEntity
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): IGESData_LineFontEntity
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): IGESData_LineFontEntity
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: IGESData_LineFontEntity): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_IGESData_ViewKindEntity
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_IGESData_ViewKindEntity
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_IGESData_ViewKindEntity): NCollection_Array1_handle_IGESData_ViewKindEntity
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_IGESData_ViewKindEntityParameters (2)
theLowertheUpper
- constructor(theBegin: IGESData_ViewKindEntity, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_IGESData_ViewKindEntityParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: IGESData_ViewKindEntity): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_IGESData_ViewKindEntity): NCollection_Array1_handle_IGESData_ViewKindEntity
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_IGESData_ViewKindEntity): NCollection_Array1_handle_IGESData_ViewKindEntity
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_IGESData_ViewKindEntity): NCollection_Array1_handle_IGESData_ViewKindEntity
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): IGESData_ViewKindEntity
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): IGESData_ViewKindEntity
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): IGESData_ViewKindEntity
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): IGESData_ViewKindEntity
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: IGESData_ViewKindEntity): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_IGESDefs_TabularData
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_IGESDefs_TabularData
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_IGESDefs_TabularData): NCollection_Array1_handle_IGESDefs_TabularData
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_IGESDefs_TabularDataParameters (2)
theLowertheUpper
- constructor(theBegin: IGESDefs_TabularData, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_IGESDefs_TabularDataParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: IGESDefs_TabularData): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_IGESDefs_TabularData): NCollection_Array1_handle_IGESDefs_TabularData
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_IGESDefs_TabularData): NCollection_Array1_handle_IGESDefs_TabularData
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_IGESDefs_TabularData): NCollection_Array1_handle_IGESDefs_TabularData
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): IGESDefs_TabularData
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): IGESDefs_TabularData
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): IGESDefs_TabularData
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): IGESDefs_TabularData
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: IGESDefs_TabularData): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_IGESDimen_GeneralNote
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_IGESDimen_GeneralNote
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_IGESDimen_GeneralNote): NCollection_Array1_handle_IGESDimen_GeneralNote
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_IGESDimen_GeneralNoteParameters (2)
theLowertheUpper
- constructor(theBegin: IGESDimen_GeneralNote, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_IGESDimen_GeneralNoteParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: IGESDimen_GeneralNote): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_IGESDimen_GeneralNote): NCollection_Array1_handle_IGESDimen_GeneralNote
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_IGESDimen_GeneralNote): NCollection_Array1_handle_IGESDimen_GeneralNote
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_IGESDimen_GeneralNote): NCollection_Array1_handle_IGESDimen_GeneralNote
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): IGESDimen_GeneralNote
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): IGESDimen_GeneralNote
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): IGESDimen_GeneralNote
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): IGESDimen_GeneralNote
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: IGESDimen_GeneralNote): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_IGESDimen_LeaderArrow
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_IGESDimen_LeaderArrow
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_IGESDimen_LeaderArrow): NCollection_Array1_handle_IGESDimen_LeaderArrow
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_IGESDimen_LeaderArrowParameters (2)
theLowertheUpper
- constructor(theBegin: IGESDimen_LeaderArrow, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_IGESDimen_LeaderArrowParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: IGESDimen_LeaderArrow): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_IGESDimen_LeaderArrow): NCollection_Array1_handle_IGESDimen_LeaderArrow
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_IGESDimen_LeaderArrow): NCollection_Array1_handle_IGESDimen_LeaderArrow
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_IGESDimen_LeaderArrow): NCollection_Array1_handle_IGESDimen_LeaderArrow
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): IGESDimen_LeaderArrow
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): IGESDimen_LeaderArrow
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): IGESDimen_LeaderArrow
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): IGESDimen_LeaderArrow
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: IGESDimen_LeaderArrow): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_IGESDraw_ConnectPoint
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_IGESDraw_ConnectPoint
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: unknown): NCollection_Array1_handle_IGESDraw_ConnectPoint
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_IGESDraw_ConnectPointParameters (2)
theLowertheUpper
- constructor(theBegin: IGESDraw_ConnectPoint, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_IGESDraw_ConnectPointParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: IGESDraw_ConnectPoint): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: unknown): unknown
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: unknown): unknown
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: unknown): unknown
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): IGESDraw_ConnectPoint
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): IGESDraw_ConnectPoint
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): IGESDraw_ConnectPoint
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): IGESDraw_ConnectPoint
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: IGESDraw_ConnectPoint): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_IGESGeom_Boundary
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_IGESGeom_Boundary
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_IGESGeom_Boundary): NCollection_Array1_handle_IGESGeom_Boundary
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_IGESGeom_BoundaryParameters (2)
theLowertheUpper
- constructor(theBegin: IGESGeom_Boundary, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_IGESGeom_BoundaryParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: IGESGeom_Boundary): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_IGESGeom_Boundary): NCollection_Array1_handle_IGESGeom_Boundary
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_IGESGeom_Boundary): NCollection_Array1_handle_IGESGeom_Boundary
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_IGESGeom_Boundary): NCollection_Array1_handle_IGESGeom_Boundary
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): IGESGeom_Boundary
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): IGESGeom_Boundary
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): IGESGeom_Boundary
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): IGESGeom_Boundary
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: IGESGeom_Boundary): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_IGESGeom_CurveOnSurface
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_IGESGeom_CurveOnSurface
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_IGESGeom_CurveOnSurface): NCollection_Array1_handle_IGESGeom_CurveOnSurface
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_IGESGeom_CurveOnSurfaceParameters (2)
theLowertheUpper
- constructor(theBegin: IGESGeom_CurveOnSurface, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_IGESGeom_CurveOnSurfaceParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: IGESGeom_CurveOnSurface): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_IGESGeom_CurveOnSurface): NCollection_Array1_handle_IGESGeom_CurveOnSurface
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_IGESGeom_CurveOnSurface): NCollection_Array1_handle_IGESGeom_CurveOnSurface
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_IGESGeom_CurveOnSurface): NCollection_Array1_handle_IGESGeom_CurveOnSurface
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): IGESGeom_CurveOnSurface
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): IGESGeom_CurveOnSurface
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): IGESGeom_CurveOnSurface
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): IGESGeom_CurveOnSurface
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: IGESGeom_CurveOnSurface): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_IGESGeom_TransformationMatrix
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_IGESGeom_TransformationMatrix
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_IGESGeom_TransformationMatrix): NCollection_Array1_handle_IGESGeom_TransformationMatrix
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_IGESGeom_TransformationMatrixParameters (2)
theLowertheUpper
- constructor(theBegin: IGESGeom_TransformationMatrix, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_IGESGeom_TransformationMatrixParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: IGESGeom_TransformationMatrix): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_IGESGeom_TransformationMatrix): NCollection_Array1_handle_IGESGeom_TransformationMatrix
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_IGESGeom_TransformationMatrix): NCollection_Array1_handle_IGESGeom_TransformationMatrix
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_IGESGeom_TransformationMatrix): NCollection_Array1_handle_IGESGeom_TransformationMatrix
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): IGESGeom_TransformationMatrix
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): IGESGeom_TransformationMatrix
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): IGESGeom_TransformationMatrix
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): IGESGeom_TransformationMatrix
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: IGESGeom_TransformationMatrix): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_IGESGraph_Color
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_IGESGraph_Color
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_IGESGraph_Color): NCollection_Array1_handle_IGESGraph_Color
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_IGESGraph_ColorParameters (2)
theLowertheUpper
- constructor(theBegin: IGESGraph_Color, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_IGESGraph_ColorParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: IGESGraph_Color): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_IGESGraph_Color): NCollection_Array1_handle_IGESGraph_Color
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_IGESGraph_Color): NCollection_Array1_handle_IGESGraph_Color
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_IGESGraph_Color): NCollection_Array1_handle_IGESGraph_Color
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): IGESGraph_Color
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): IGESGraph_Color
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): IGESGraph_Color
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): IGESGraph_Color
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: IGESGraph_Color): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_IGESGraph_TextDisplayTemplate
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_IGESGraph_TextDisplayTemplate
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_IGESGraph_TextDisplayTemplate): NCollection_Array1_handle_IGESGraph_TextDisplayTemplate
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_IGESGraph_TextDisplayTemplateParameters (2)
theLowertheUpper
- constructor(theBegin: IGESGraph_TextDisplayTemplate, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_IGESGraph_TextDisplayTemplateParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: IGESGraph_TextDisplayTemplate): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_IGESGraph_TextDisplayTemplate): NCollection_Array1_handle_IGESGraph_TextDisplayTemplate
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_IGESGraph_TextDisplayTemplate): NCollection_Array1_handle_IGESGraph_TextDisplayTemplate
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_IGESGraph_TextDisplayTemplate): NCollection_Array1_handle_IGESGraph_TextDisplayTemplate
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): IGESGraph_TextDisplayTemplate
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): IGESGraph_TextDisplayTemplate
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): IGESGraph_TextDisplayTemplate
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): IGESGraph_TextDisplayTemplate
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: IGESGraph_TextDisplayTemplate): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_IGESGraph_TextFontDef
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_IGESGraph_TextFontDef
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_IGESGraph_TextFontDef): NCollection_Array1_handle_IGESGraph_TextFontDef
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_IGESGraph_TextFontDefParameters (2)
theLowertheUpper
- constructor(theBegin: IGESGraph_TextFontDef, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_IGESGraph_TextFontDefParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: IGESGraph_TextFontDef): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_IGESGraph_TextFontDef): NCollection_Array1_handle_IGESGraph_TextFontDef
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_IGESGraph_TextFontDef): NCollection_Array1_handle_IGESGraph_TextFontDef
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_IGESGraph_TextFontDef): NCollection_Array1_handle_IGESGraph_TextFontDef
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): IGESGraph_TextFontDef
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): IGESGraph_TextFontDef
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): IGESGraph_TextFontDef
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): IGESGraph_TextFontDef
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: IGESGraph_TextFontDef): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_IGESSolid_Face
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_IGESSolid_Face
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_IGESSolid_Face): NCollection_Array1_handle_IGESSolid_Face
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_IGESSolid_FaceParameters (2)
theLowertheUpper
- constructor(theBegin: IGESSolid_Face, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_IGESSolid_FaceParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: IGESSolid_Face): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_IGESSolid_Face): NCollection_Array1_handle_IGESSolid_Face
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_IGESSolid_Face): NCollection_Array1_handle_IGESSolid_Face
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): IGESSolid_Face
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): IGESSolid_Face
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): IGESSolid_Face
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): IGESSolid_Face
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: IGESSolid_Face): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_IGESSolid_Loop
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_IGESSolid_Loop
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_IGESSolid_Loop): NCollection_Array1_handle_IGESSolid_Loop
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_IGESSolid_LoopParameters (2)
theLowertheUpper
- constructor(theBegin: IGESSolid_Loop, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_IGESSolid_LoopParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: IGESSolid_Loop): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_IGESSolid_Loop): NCollection_Array1_handle_IGESSolid_Loop
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_IGESSolid_Loop): NCollection_Array1_handle_IGESSolid_Loop
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): IGESSolid_Loop
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): IGESSolid_Loop
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): IGESSolid_Loop
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): IGESSolid_Loop
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: IGESSolid_Loop): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_IGESSolid_Shell
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_IGESSolid_Shell
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_IGESSolid_Shell): NCollection_Array1_handle_IGESSolid_Shell
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_IGESSolid_ShellParameters (2)
theLowertheUpper
- constructor(theBegin: IGESSolid_Shell, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_IGESSolid_ShellParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: IGESSolid_Shell): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_IGESSolid_Shell): NCollection_Array1_handle_IGESSolid_Shell
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_IGESSolid_Shell): NCollection_Array1_handle_IGESSolid_Shell
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_IGESSolid_Shell): NCollection_Array1_handle_IGESSolid_Shell
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): IGESSolid_Shell
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): IGESSolid_Shell
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): IGESSolid_Shell
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): IGESSolid_Shell
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: IGESSolid_Shell): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_IGESSolid_VertexList
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_IGESSolid_VertexList
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_IGESSolid_VertexList): NCollection_Array1_handle_IGESSolid_VertexList
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_IGESSolid_VertexListParameters (2)
theLowertheUpper
- constructor(theBegin: IGESSolid_VertexList, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_IGESSolid_VertexListParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: IGESSolid_VertexList): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_IGESSolid_VertexList): NCollection_Array1_handle_IGESSolid_VertexList
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_IGESSolid_VertexList): NCollection_Array1_handle_IGESSolid_VertexList
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_IGESSolid_VertexList): NCollection_Array1_handle_IGESSolid_VertexList
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): IGESSolid_VertexList
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): IGESSolid_VertexList
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): IGESSolid_VertexList
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): IGESSolid_VertexList
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: IGESSolid_VertexList): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_NCollection_HSequence_handle_StepElement_CurveElementPurposeMember
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_NCollection_HSequence_handle_StepElement_CurveElementPurposeMember
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_NCollection_HSequence_handle_StepElement_CurveElementPurposeMember): NCollection_Array1_handle_NCollection_HSequence_handle_StepElement_CurveElementPurposeMember
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_NCollection_HSequence_handle_StepElement_CurveElementPurposeMemberParameters (2)
theLowertheUpper
- constructor(theBegin: unknown, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_NCollection_HSequence_handle_StepElement_CurveElementPurposeMemberParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: unknown): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_NCollection_HSequence_handle_StepElement_CurveElementPurposeMember): NCollection_Array1_handle_NCollection_HSequence_handle_StepElement_CurveElementPurposeMember
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_NCollection_HSequence_handle_StepElement_CurveElementPurposeMember): NCollection_Array1_handle_NCollection_HSequence_handle_StepElement_CurveElementPurposeMember
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_NCollection_HSequence_handle_StepElement_CurveElementPurposeMember): NCollection_Array1_handle_NCollection_HSequence_handle_StepElement_CurveElementPurposeMember
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- First(): unknownReturns
first element
- ChangeFirst(): unknownReturns
first element
- Last(): unknownReturns
last element
- ChangeLast(): unknownReturns
last element
- Value(theIndex: number): unknown
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): unknown
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): unknown
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): unknown
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: unknown): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_NCollection_HSequence_handle_StepElement_SurfaceElementPurposeMember
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_NCollection_HSequence_handle_StepElement_SurfaceElementPurposeMember
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_NCollection_HSequence_handle_StepElement_SurfaceElementPurposeMember): NCollection_Array1_handle_NCollection_HSequence_handle_StepElement_SurfaceElementPurposeMember
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_NCollection_HSequence_handle_StepElement_SurfaceElementPurposeMemberParameters (2)
theLowertheUpper
- constructor(theBegin: unknown, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_NCollection_HSequence_handle_StepElement_SurfaceElementPurposeMemberParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: unknown): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_NCollection_HSequence_handle_StepElement_SurfaceElementPurposeMember): NCollection_Array1_handle_NCollection_HSequence_handle_StepElement_SurfaceElementPurposeMember
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_NCollection_HSequence_handle_StepElement_SurfaceElementPurposeMember): NCollection_Array1_handle_NCollection_HSequence_handle_StepElement_SurfaceElementPurposeMember
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_NCollection_HSequence_handle_StepElement_SurfaceElementPurposeMember): NCollection_Array1_handle_NCollection_HSequence_handle_StepElement_SurfaceElementPurposeMember
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- First(): unknownReturns
first element
- ChangeFirst(): unknownReturns
first element
- Last(): unknownReturns
last element
- ChangeLast(): unknownReturns
last element
- Value(theIndex: number): unknown
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): unknown
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): unknown
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): unknown
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: unknown): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_Standard_Persistent
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_Standard_Persistent
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_Standard_Persistent): NCollection_Array1_handle_Standard_Persistent
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_Standard_PersistentParameters (2)
theLowertheUpper
- constructor(theBegin: Standard_Persistent, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_Standard_PersistentParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: Standard_Persistent): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_Standard_Persistent): NCollection_Array1_handle_Standard_Persistent
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_Standard_Persistent): NCollection_Array1_handle_Standard_Persistent
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_Standard_Persistent): NCollection_Array1_handle_Standard_Persistent
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): Standard_Persistent
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): Standard_Persistent
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): Standard_Persistent
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): Standard_Persistent
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: Standard_Persistent): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_Standard_Transient
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_Standard_Transient
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_Standard_Transient): NCollection_Array1_handle_Standard_Transient
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_Standard_TransientParameters (2)
theLowertheUpper
- constructor(theBegin: Standard_Transient, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_Standard_TransientParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: Standard_Transient): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_Standard_Transient): NCollection_Array1_handle_Standard_Transient
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_Standard_Transient): NCollection_Array1_handle_Standard_Transient
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_Standard_Transient): NCollection_Array1_handle_Standard_Transient
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): Standard_Transient
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): Standard_Transient
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): Standard_Transient
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): Standard_Transient
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: Standard_Transient): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_StepBasic_Approval
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_StepBasic_Approval
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_StepBasic_Approval): NCollection_Array1_handle_StepBasic_Approval
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_StepBasic_ApprovalParameters (2)
theLowertheUpper
- constructor(theBegin: StepBasic_Approval, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_StepBasic_ApprovalParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepBasic_Approval): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_StepBasic_Approval): NCollection_Array1_handle_StepBasic_Approval
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_StepBasic_Approval): NCollection_Array1_handle_StepBasic_Approval
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_StepBasic_Approval): NCollection_Array1_handle_StepBasic_Approval
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): StepBasic_Approval
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepBasic_Approval
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepBasic_Approval
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepBasic_Approval
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepBasic_Approval): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_StepBasic_DerivedUnitElement
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_StepBasic_DerivedUnitElement
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_StepBasic_DerivedUnitElement): NCollection_Array1_handle_StepBasic_DerivedUnitElement
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_StepBasic_DerivedUnitElementParameters (2)
theLowertheUpper
- constructor(theBegin: StepBasic_DerivedUnitElement, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_StepBasic_DerivedUnitElementParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepBasic_DerivedUnitElement): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_StepBasic_DerivedUnitElement): NCollection_Array1_handle_StepBasic_DerivedUnitElement
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_StepBasic_DerivedUnitElement): NCollection_Array1_handle_StepBasic_DerivedUnitElement
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_StepBasic_DerivedUnitElement): NCollection_Array1_handle_StepBasic_DerivedUnitElement
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): StepBasic_DerivedUnitElement
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepBasic_DerivedUnitElement
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepBasic_DerivedUnitElement
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepBasic_DerivedUnitElement
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepBasic_DerivedUnitElement): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_StepBasic_Document
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_StepBasic_Document
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_StepBasic_Document): NCollection_Array1_handle_StepBasic_Document
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_StepBasic_DocumentParameters (2)
theLowertheUpper
- constructor(theBegin: StepBasic_Document, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_StepBasic_DocumentParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepBasic_Document): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_StepBasic_Document): NCollection_Array1_handle_StepBasic_Document
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_StepBasic_Document): NCollection_Array1_handle_StepBasic_Document
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_StepBasic_Document): NCollection_Array1_handle_StepBasic_Document
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): StepBasic_Document
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepBasic_Document
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepBasic_Document
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepBasic_Document
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepBasic_Document): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_StepBasic_NamedUnit
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_StepBasic_NamedUnit
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_StepBasic_NamedUnit): NCollection_Array1_handle_StepBasic_NamedUnit
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_StepBasic_NamedUnitParameters (2)
theLowertheUpper
- constructor(theBegin: StepBasic_NamedUnit, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_StepBasic_NamedUnitParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepBasic_NamedUnit): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_StepBasic_NamedUnit): NCollection_Array1_handle_StepBasic_NamedUnit
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_StepBasic_NamedUnit): NCollection_Array1_handle_StepBasic_NamedUnit
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_StepBasic_NamedUnit): NCollection_Array1_handle_StepBasic_NamedUnit
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): StepBasic_NamedUnit
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepBasic_NamedUnit
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepBasic_NamedUnit
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepBasic_NamedUnit
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepBasic_NamedUnit): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_StepBasic_Organization
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_StepBasic_Organization
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_StepBasic_Organization): NCollection_Array1_handle_StepBasic_Organization
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_StepBasic_OrganizationParameters (2)
theLowertheUpper
- constructor(theBegin: StepBasic_Organization, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_StepBasic_OrganizationParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepBasic_Organization): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_StepBasic_Organization): NCollection_Array1_handle_StepBasic_Organization
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_StepBasic_Organization): NCollection_Array1_handle_StepBasic_Organization
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_StepBasic_Organization): NCollection_Array1_handle_StepBasic_Organization
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): StepBasic_Organization
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepBasic_Organization
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepBasic_Organization
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepBasic_Organization
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepBasic_Organization): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_StepBasic_Person
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_StepBasic_Person
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_StepBasic_Person): NCollection_Array1_handle_StepBasic_Person
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_StepBasic_PersonParameters (2)
theLowertheUpper
- constructor(theBegin: StepBasic_Person, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_StepBasic_PersonParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepBasic_Person): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_StepBasic_Person): NCollection_Array1_handle_StepBasic_Person
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_StepBasic_Person): NCollection_Array1_handle_StepBasic_Person
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_StepBasic_Person): NCollection_Array1_handle_StepBasic_Person
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): StepBasic_Person
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepBasic_Person
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepBasic_Person
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepBasic_Person
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepBasic_Person): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_StepBasic_Product
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_StepBasic_Product
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_StepBasic_Product): NCollection_Array1_handle_StepBasic_Product
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_StepBasic_ProductParameters (2)
theLowertheUpper
- constructor(theBegin: StepBasic_Product, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_StepBasic_ProductParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepBasic_Product): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_StepBasic_Product): NCollection_Array1_handle_StepBasic_Product
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_StepBasic_Product): NCollection_Array1_handle_StepBasic_Product
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_StepBasic_Product): NCollection_Array1_handle_StepBasic_Product
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): StepBasic_Product
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepBasic_Product
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepBasic_Product
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepBasic_Product
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepBasic_Product): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_StepBasic_ProductContext
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_StepBasic_ProductContext
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_StepBasic_ProductContext): NCollection_Array1_handle_StepBasic_ProductContext
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_StepBasic_ProductContextParameters (2)
theLowertheUpper
- constructor(theBegin: StepBasic_ProductContext, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_StepBasic_ProductContextParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepBasic_ProductContext): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_StepBasic_ProductContext): NCollection_Array1_handle_StepBasic_ProductContext
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_StepBasic_ProductContext): NCollection_Array1_handle_StepBasic_ProductContext
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_StepBasic_ProductContext): NCollection_Array1_handle_StepBasic_ProductContext
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): StepBasic_ProductContext
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepBasic_ProductContext
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepBasic_ProductContext
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepBasic_ProductContext
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepBasic_ProductContext): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_StepBasic_ProductDefinition
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_StepBasic_ProductDefinition
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_StepBasic_ProductDefinition): NCollection_Array1_handle_StepBasic_ProductDefinition
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_StepBasic_ProductDefinitionParameters (2)
theLowertheUpper
- constructor(theBegin: StepBasic_ProductDefinition, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_StepBasic_ProductDefinitionParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepBasic_ProductDefinition): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_StepBasic_ProductDefinition): NCollection_Array1_handle_StepBasic_ProductDefinition
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_StepBasic_ProductDefinition): NCollection_Array1_handle_StepBasic_ProductDefinition
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_StepBasic_ProductDefinition): NCollection_Array1_handle_StepBasic_ProductDefinition
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): StepBasic_ProductDefinition
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepBasic_ProductDefinition
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepBasic_ProductDefinition
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepBasic_ProductDefinition
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepBasic_ProductDefinition): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_StepBasic_UncertaintyMeasureWithUnit
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_StepBasic_UncertaintyMeasureWithUnit
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_StepBasic_UncertaintyMeasureWithUnit): NCollection_Array1_handle_StepBasic_UncertaintyMeasureWithUnit
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_StepBasic_UncertaintyMeasureWithUnitParameters (2)
theLowertheUpper
- constructor(theBegin: StepBasic_UncertaintyMeasureWithUnit, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_StepBasic_UncertaintyMeasureWithUnitParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepBasic_UncertaintyMeasureWithUnit): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_StepBasic_UncertaintyMeasureWithUnit): NCollection_Array1_handle_StepBasic_UncertaintyMeasureWithUnit
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_StepBasic_UncertaintyMeasureWithUnit): NCollection_Array1_handle_StepBasic_UncertaintyMeasureWithUnit
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_StepBasic_UncertaintyMeasureWithUnit): NCollection_Array1_handle_StepBasic_UncertaintyMeasureWithUnit
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): StepBasic_UncertaintyMeasureWithUnit
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepBasic_UncertaintyMeasureWithUnit
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepBasic_UncertaintyMeasureWithUnit
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepBasic_UncertaintyMeasureWithUnit
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepBasic_UncertaintyMeasureWithUnit): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_StepDimTol_DatumReference
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_StepDimTol_DatumReference
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_StepDimTol_DatumReference): NCollection_Array1_handle_StepDimTol_DatumReference
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_StepDimTol_DatumReferenceParameters (2)
theLowertheUpper
- constructor(theBegin: StepDimTol_DatumReference, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_StepDimTol_DatumReferenceParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepDimTol_DatumReference): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_StepDimTol_DatumReference): NCollection_Array1_handle_StepDimTol_DatumReference
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_StepDimTol_DatumReference): NCollection_Array1_handle_StepDimTol_DatumReference
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_StepDimTol_DatumReference): NCollection_Array1_handle_StepDimTol_DatumReference
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): StepDimTol_DatumReference
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepDimTol_DatumReference
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepDimTol_DatumReference
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepDimTol_DatumReference
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepDimTol_DatumReference): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_StepDimTol_DatumReferenceCompartment
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_StepDimTol_DatumReferenceCompartment
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_StepDimTol_DatumReferenceCompartment): NCollection_Array1_handle_StepDimTol_DatumReferenceCompartment
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_StepDimTol_DatumReferenceCompartmentParameters (2)
theLowertheUpper
- constructor(theBegin: StepDimTol_DatumReferenceCompartment, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_StepDimTol_DatumReferenceCompartmentParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepDimTol_DatumReferenceCompartment): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_StepDimTol_DatumReferenceCompartment): NCollection_Array1_handle_StepDimTol_DatumReferenceCompartment
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_StepDimTol_DatumReferenceCompartment): NCollection_Array1_handle_StepDimTol_DatumReferenceCompartment
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_StepDimTol_DatumReferenceCompartment): NCollection_Array1_handle_StepDimTol_DatumReferenceCompartment
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): StepDimTol_DatumReferenceCompartment
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepDimTol_DatumReferenceCompartment
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepDimTol_DatumReferenceCompartment
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepDimTol_DatumReferenceCompartment
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepDimTol_DatumReferenceCompartment): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_StepDimTol_DatumReferenceElement
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_StepDimTol_DatumReferenceElement
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_StepDimTol_DatumReferenceElement): NCollection_Array1_handle_StepDimTol_DatumReferenceElement
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_StepDimTol_DatumReferenceElementParameters (2)
theLowertheUpper
- constructor(theBegin: StepDimTol_DatumReferenceElement, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_StepDimTol_DatumReferenceElementParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepDimTol_DatumReferenceElement): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_StepDimTol_DatumReferenceElement): NCollection_Array1_handle_StepDimTol_DatumReferenceElement
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_StepDimTol_DatumReferenceElement): NCollection_Array1_handle_StepDimTol_DatumReferenceElement
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_StepDimTol_DatumReferenceElement): NCollection_Array1_handle_StepDimTol_DatumReferenceElement
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): StepDimTol_DatumReferenceElement
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepDimTol_DatumReferenceElement
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepDimTol_DatumReferenceElement
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepDimTol_DatumReferenceElement
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepDimTol_DatumReferenceElement): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_StepElement_CurveElementEndReleasePacket
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_StepElement_CurveElementEndReleasePacket): NCollection_Array1_handle_StepElement_CurveElementEndReleasePacket
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_StepElement_CurveElementEndReleasePacketParameters (2)
theLowertheUpper
- constructor(theBegin: StepElement_CurveElementEndReleasePacket, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_StepElement_CurveElementEndReleasePacketParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepElement_CurveElementEndReleasePacket): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_StepElement_CurveElementEndReleasePacket): NCollection_Array1_handle_StepElement_CurveElementEndReleasePacket
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_StepElement_CurveElementEndReleasePacket): NCollection_Array1_handle_StepElement_CurveElementEndReleasePacket
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_StepElement_CurveElementEndReleasePacket): NCollection_Array1_handle_StepElement_CurveElementEndReleasePacket
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): StepElement_CurveElementEndReleasePacket
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepElement_CurveElementEndReleasePacket
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepElement_CurveElementEndReleasePacket
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepElement_CurveElementEndReleasePacket
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepElement_CurveElementEndReleasePacket): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_StepElement_CurveElementSectionDefinition
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_StepElement_CurveElementSectionDefinition): NCollection_Array1_handle_StepElement_CurveElementSectionDefinition
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_StepElement_CurveElementSectionDefinitionParameters (2)
theLowertheUpper
- constructor(theBegin: StepElement_CurveElementSectionDefinition, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_StepElement_CurveElementSectionDefinitionParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepElement_CurveElementSectionDefinition): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_StepElement_CurveElementSectionDefinition): NCollection_Array1_handle_StepElement_CurveElementSectionDefinition
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_StepElement_CurveElementSectionDefinition): NCollection_Array1_handle_StepElement_CurveElementSectionDefinition
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_StepElement_CurveElementSectionDefinition): NCollection_Array1_handle_StepElement_CurveElementSectionDefinition
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): StepElement_CurveElementSectionDefinition
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepElement_CurveElementSectionDefinition
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepElement_CurveElementSectionDefinition
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepElement_CurveElementSectionDefinition
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepElement_CurveElementSectionDefinition): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_StepElement_SurfaceSection
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_StepElement_SurfaceSection
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_StepElement_SurfaceSection): NCollection_Array1_handle_StepElement_SurfaceSection
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_StepElement_SurfaceSectionParameters (2)
theLowertheUpper
- constructor(theBegin: StepElement_SurfaceSection, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_StepElement_SurfaceSectionParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepElement_SurfaceSection): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_StepElement_SurfaceSection): NCollection_Array1_handle_StepElement_SurfaceSection
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_StepElement_SurfaceSection): NCollection_Array1_handle_StepElement_SurfaceSection
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_StepElement_SurfaceSection): NCollection_Array1_handle_StepElement_SurfaceSection
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): StepElement_SurfaceSection
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepElement_SurfaceSection
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepElement_SurfaceSection
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepElement_SurfaceSection
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepElement_SurfaceSection): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_StepElement_VolumeElementPurposeMember
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_StepElement_VolumeElementPurposeMember
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_StepElement_VolumeElementPurposeMember): NCollection_Array1_handle_StepElement_VolumeElementPurposeMember
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_StepElement_VolumeElementPurposeMemberParameters (2)
theLowertheUpper
- constructor(theBegin: StepElement_VolumeElementPurposeMember, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_StepElement_VolumeElementPurposeMemberParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepElement_VolumeElementPurposeMember): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_StepElement_VolumeElementPurposeMember): NCollection_Array1_handle_StepElement_VolumeElementPurposeMember
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_StepElement_VolumeElementPurposeMember): NCollection_Array1_handle_StepElement_VolumeElementPurposeMember
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_StepElement_VolumeElementPurposeMember): NCollection_Array1_handle_StepElement_VolumeElementPurposeMember
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): StepElement_VolumeElementPurposeMember
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepElement_VolumeElementPurposeMember
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepElement_VolumeElementPurposeMember
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepElement_VolumeElementPurposeMember
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepElement_VolumeElementPurposeMember): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_StepFEA_CurveElementEndOffset
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_StepFEA_CurveElementEndOffset
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_StepFEA_CurveElementEndOffset): NCollection_Array1_handle_StepFEA_CurveElementEndOffset
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_StepFEA_CurveElementEndOffsetParameters (2)
theLowertheUpper
- constructor(theBegin: StepFEA_CurveElementEndOffset, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_StepFEA_CurveElementEndOffsetParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepFEA_CurveElementEndOffset): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_StepFEA_CurveElementEndOffset): NCollection_Array1_handle_StepFEA_CurveElementEndOffset
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_StepFEA_CurveElementEndOffset): NCollection_Array1_handle_StepFEA_CurveElementEndOffset
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_StepFEA_CurveElementEndOffset): NCollection_Array1_handle_StepFEA_CurveElementEndOffset
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): StepFEA_CurveElementEndOffset
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepFEA_CurveElementEndOffset
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepFEA_CurveElementEndOffset
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepFEA_CurveElementEndOffset
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepFEA_CurveElementEndOffset): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_StepFEA_CurveElementEndRelease
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_StepFEA_CurveElementEndRelease
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_StepFEA_CurveElementEndRelease): NCollection_Array1_handle_StepFEA_CurveElementEndRelease
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_StepFEA_CurveElementEndReleaseParameters (2)
theLowertheUpper
- constructor(theBegin: StepFEA_CurveElementEndRelease, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_StepFEA_CurveElementEndReleaseParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepFEA_CurveElementEndRelease): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_StepFEA_CurveElementEndRelease): NCollection_Array1_handle_StepFEA_CurveElementEndRelease
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_StepFEA_CurveElementEndRelease): NCollection_Array1_handle_StepFEA_CurveElementEndRelease
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_StepFEA_CurveElementEndRelease): NCollection_Array1_handle_StepFEA_CurveElementEndRelease
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): StepFEA_CurveElementEndRelease
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepFEA_CurveElementEndRelease
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepFEA_CurveElementEndRelease
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepFEA_CurveElementEndRelease
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepFEA_CurveElementEndRelease): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_StepFEA_CurveElementInterval
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_StepFEA_CurveElementInterval
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_StepFEA_CurveElementInterval): NCollection_Array1_handle_StepFEA_CurveElementInterval
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_StepFEA_CurveElementIntervalParameters (2)
theLowertheUpper
- constructor(theBegin: StepFEA_CurveElementInterval, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_StepFEA_CurveElementIntervalParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepFEA_CurveElementInterval): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_StepFEA_CurveElementInterval): NCollection_Array1_handle_StepFEA_CurveElementInterval
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_StepFEA_CurveElementInterval): NCollection_Array1_handle_StepFEA_CurveElementInterval
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_StepFEA_CurveElementInterval): NCollection_Array1_handle_StepFEA_CurveElementInterval
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): StepFEA_CurveElementInterval
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepFEA_CurveElementInterval
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepFEA_CurveElementInterval
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepFEA_CurveElementInterval
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepFEA_CurveElementInterval): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_StepFEA_ElementRepresentation
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_StepFEA_ElementRepresentation
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_StepFEA_ElementRepresentation): NCollection_Array1_handle_StepFEA_ElementRepresentation
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_StepFEA_ElementRepresentationParameters (2)
theLowertheUpper
- constructor(theBegin: StepFEA_ElementRepresentation, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_StepFEA_ElementRepresentationParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepFEA_ElementRepresentation): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_StepFEA_ElementRepresentation): NCollection_Array1_handle_StepFEA_ElementRepresentation
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_StepFEA_ElementRepresentation): NCollection_Array1_handle_StepFEA_ElementRepresentation
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_StepFEA_ElementRepresentation): NCollection_Array1_handle_StepFEA_ElementRepresentation
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): StepFEA_ElementRepresentation
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepFEA_ElementRepresentation
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepFEA_ElementRepresentation
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepFEA_ElementRepresentation
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepFEA_ElementRepresentation): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_StepFEA_NodeRepresentation
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_StepFEA_NodeRepresentation
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_StepFEA_NodeRepresentation): NCollection_Array1_handle_StepFEA_NodeRepresentation
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_StepFEA_NodeRepresentationParameters (2)
theLowertheUpper
- constructor(theBegin: StepFEA_NodeRepresentation, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_StepFEA_NodeRepresentationParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepFEA_NodeRepresentation): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_StepFEA_NodeRepresentation): NCollection_Array1_handle_StepFEA_NodeRepresentation
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_StepFEA_NodeRepresentation): NCollection_Array1_handle_StepFEA_NodeRepresentation
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_StepFEA_NodeRepresentation): NCollection_Array1_handle_StepFEA_NodeRepresentation
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): StepFEA_NodeRepresentation
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepFEA_NodeRepresentation
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepFEA_NodeRepresentation
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepFEA_NodeRepresentation
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepFEA_NodeRepresentation): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_StepGeom_BoundaryCurve
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_StepGeom_BoundaryCurve
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_handle_StepGeom_BoundaryCurve): NCollection_Array1_handle_StepGeom_BoundaryCurve
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_StepGeom_BoundaryCurveParameters (2)
theLowertheUpper
- constructor(theBegin: StepGeom_BoundaryCurve, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_StepGeom_BoundaryCurveParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepGeom_BoundaryCurve): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_handle_StepGeom_BoundaryCurve): NCollection_Array1_handle_StepGeom_BoundaryCurve
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_handle_StepGeom_BoundaryCurve): NCollection_Array1_handle_StepGeom_BoundaryCurve
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_handle_StepGeom_BoundaryCurve): NCollection_Array1_handle_StepGeom_BoundaryCurve
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): StepGeom_BoundaryCurve
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepGeom_BoundaryCurve
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepGeom_BoundaryCurve
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepGeom_BoundaryCurve
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepGeom_BoundaryCurve): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_handle_StepGeom_CartesianPoint
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(5)
- constructor(theSize: number): NCollection_Array1_handle_StepGeom_CartesianPoint
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: unknown): NCollection_Array1_handle_StepGeom_CartesianPoint
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_StepGeom_CartesianPointParameters (2)
theLowertheUpper
- constructor(theBegin: StepGeom_CartesianPoint, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_StepGeom_CartesianPointParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepGeom_CartesianPoint): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: unknown): unknown
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: unknown): unknown
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: unknown): unknown
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): StepGeom_CartesianPoint
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepGeom_CartesianPoint
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepGeom_CartesianPoint
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepGeom_CartesianPoint
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepGeom_CartesianPoint): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean