Generated (page 2 of 9)
OCCT package Generated: BRepToolsWrapper, GeomToolsWrapper, NCollection_Array1_AppParCurves_ConstraintCouple,…
NCollection_Array1_handle_StepGeom_CompositeCurveSegment
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_CompositeCurveSegment
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_CompositeCurveSegment): NCollection_Array1_handle_StepGeom_CompositeCurveSegment
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_StepGeom_CompositeCurveSegmentParameters (2)
theLowertheUpper
- constructor(theBegin: StepGeom_CompositeCurveSegment, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_StepGeom_CompositeCurveSegmentParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepGeom_CompositeCurveSegment): 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_CompositeCurveSegment): NCollection_Array1_handle_StepGeom_CompositeCurveSegment
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_CompositeCurveSegment): NCollection_Array1_handle_StepGeom_CompositeCurveSegment
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_CompositeCurveSegment): NCollection_Array1_handle_StepGeom_CompositeCurveSegment
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_CompositeCurveSegment
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepGeom_CompositeCurveSegment
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepGeom_CompositeCurveSegment
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepGeom_CompositeCurveSegment
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepGeom_CompositeCurveSegment): 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_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_StepGeom_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_StepGeom_Curve): NCollection_Array1_handle_StepGeom_Curve
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_StepGeom_CurveParameters (2)
theLowertheUpper
- constructor(theBegin: StepGeom_Curve, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_StepGeom_CurveParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepGeom_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_StepGeom_Curve): NCollection_Array1_handle_StepGeom_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_StepGeom_Curve): NCollection_Array1_handle_StepGeom_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
- Returns
last element
- Returns
last element
- Value(theIndex: number): StepGeom_Curve
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepGeom_Curve
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepGeom_Curve
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepGeom_Curve
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepGeom_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_StepRepr_MaterialPropertyRepresentation
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_StepRepr_MaterialPropertyRepresentation
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_StepRepr_MaterialPropertyRepresentation): NCollection_Array1_handle_StepRepr_MaterialPropertyRepresentation
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_StepRepr_MaterialPropertyRepresentationParameters (2)
theLowertheUpper
- constructor(theBegin: StepRepr_MaterialPropertyRepresentation, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_StepRepr_MaterialPropertyRepresentationParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepRepr_MaterialPropertyRepresentation): 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_StepRepr_MaterialPropertyRepresentation): NCollection_Array1_handle_StepRepr_MaterialPropertyRepresentation
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_StepRepr_MaterialPropertyRepresentation): NCollection_Array1_handle_StepRepr_MaterialPropertyRepresentation
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_StepRepr_MaterialPropertyRepresentation): NCollection_Array1_handle_StepRepr_MaterialPropertyRepresentation
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): StepRepr_MaterialPropertyRepresentation
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepRepr_MaterialPropertyRepresentation
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepRepr_MaterialPropertyRepresentation
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepRepr_MaterialPropertyRepresentation
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepRepr_MaterialPropertyRepresentation): 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_StepRepr_PropertyDefinitionRepresentation
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_StepRepr_PropertyDefinitionRepresentation): NCollection_Array1_handle_StepRepr_PropertyDefinitionRepresentation
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_StepRepr_PropertyDefinitionRepresentationParameters (2)
theLowertheUpper
- constructor(theBegin: StepRepr_PropertyDefinitionRepresentation, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_StepRepr_PropertyDefinitionRepresentationParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepRepr_PropertyDefinitionRepresentation): 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_StepRepr_PropertyDefinitionRepresentation): NCollection_Array1_handle_StepRepr_PropertyDefinitionRepresentation
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_StepRepr_PropertyDefinitionRepresentation): NCollection_Array1_handle_StepRepr_PropertyDefinitionRepresentation
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_StepRepr_PropertyDefinitionRepresentation): NCollection_Array1_handle_StepRepr_PropertyDefinitionRepresentation
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): StepRepr_PropertyDefinitionRepresentation
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepRepr_PropertyDefinitionRepresentation
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepRepr_PropertyDefinitionRepresentation
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepRepr_PropertyDefinitionRepresentation
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepRepr_PropertyDefinitionRepresentation): 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_StepRepr_RepresentationItem
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_StepRepr_RepresentationItem
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_StepRepr_RepresentationItem): NCollection_Array1_handle_StepRepr_RepresentationItem
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_StepRepr_RepresentationItemParameters (2)
theLowertheUpper
- constructor(theBegin: StepRepr_RepresentationItem, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_StepRepr_RepresentationItemParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepRepr_RepresentationItem): 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_StepRepr_RepresentationItem): NCollection_Array1_handle_StepRepr_RepresentationItem
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_StepRepr_RepresentationItem): NCollection_Array1_handle_StepRepr_RepresentationItem
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_StepRepr_RepresentationItem): NCollection_Array1_handle_StepRepr_RepresentationItem
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): StepRepr_RepresentationItem
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepRepr_RepresentationItem
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepRepr_RepresentationItem
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepRepr_RepresentationItem
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepRepr_RepresentationItem): 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_StepRepr_ShapeAspect
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_StepRepr_ShapeAspect
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_StepRepr_ShapeAspect): NCollection_Array1_handle_StepRepr_ShapeAspect
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_StepRepr_ShapeAspectParameters (2)
theLowertheUpper
- constructor(theBegin: StepRepr_ShapeAspect, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_StepRepr_ShapeAspectParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepRepr_ShapeAspect): 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_StepRepr_ShapeAspect): NCollection_Array1_handle_StepRepr_ShapeAspect
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_StepRepr_ShapeAspect): NCollection_Array1_handle_StepRepr_ShapeAspect
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_StepRepr_ShapeAspect): NCollection_Array1_handle_StepRepr_ShapeAspect
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): StepRepr_ShapeAspect
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepRepr_ShapeAspect
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepRepr_ShapeAspect
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepRepr_ShapeAspect
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepRepr_ShapeAspect): 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_StepShape_ConnectedEdgeSet
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_StepShape_ConnectedEdgeSet
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_StepShape_ConnectedEdgeSet): NCollection_Array1_handle_StepShape_ConnectedEdgeSet
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_StepShape_ConnectedEdgeSetParameters (2)
theLowertheUpper
- constructor(theBegin: StepShape_ConnectedEdgeSet, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_StepShape_ConnectedEdgeSetParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepShape_ConnectedEdgeSet): 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_StepShape_ConnectedEdgeSet): NCollection_Array1_handle_StepShape_ConnectedEdgeSet
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_StepShape_ConnectedEdgeSet): NCollection_Array1_handle_StepShape_ConnectedEdgeSet
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_StepShape_ConnectedEdgeSet): NCollection_Array1_handle_StepShape_ConnectedEdgeSet
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): StepShape_ConnectedEdgeSet
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepShape_ConnectedEdgeSet
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepShape_ConnectedEdgeSet
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepShape_ConnectedEdgeSet
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepShape_ConnectedEdgeSet): 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_StepShape_ConnectedFaceSet
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_StepShape_ConnectedFaceSet
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_StepShape_ConnectedFaceSet): NCollection_Array1_handle_StepShape_ConnectedFaceSet
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_StepShape_ConnectedFaceSetParameters (2)
theLowertheUpper
- constructor(theBegin: StepShape_ConnectedFaceSet, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_StepShape_ConnectedFaceSetParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepShape_ConnectedFaceSet): 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_StepShape_ConnectedFaceSet): NCollection_Array1_handle_StepShape_ConnectedFaceSet
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_StepShape_ConnectedFaceSet): NCollection_Array1_handle_StepShape_ConnectedFaceSet
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_StepShape_ConnectedFaceSet): NCollection_Array1_handle_StepShape_ConnectedFaceSet
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): StepShape_ConnectedFaceSet
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepShape_ConnectedFaceSet
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepShape_ConnectedFaceSet
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepShape_ConnectedFaceSet
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepShape_ConnectedFaceSet): 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_StepShape_Edge
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_StepShape_Edge
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_StepShape_Edge): NCollection_Array1_handle_StepShape_Edge
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_StepShape_EdgeParameters (2)
theLowertheUpper
- constructor(theBegin: StepShape_Edge, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_StepShape_EdgeParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepShape_Edge): 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_StepShape_Edge): NCollection_Array1_handle_StepShape_Edge
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_StepShape_Edge): NCollection_Array1_handle_StepShape_Edge
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): StepShape_Edge
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepShape_Edge
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepShape_Edge
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepShape_Edge
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepShape_Edge): 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_StepShape_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_StepShape_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_StepShape_Face): NCollection_Array1_handle_StepShape_Face
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_StepShape_FaceParameters (2)
theLowertheUpper
- constructor(theBegin: StepShape_Face, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_StepShape_FaceParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepShape_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_StepShape_Face): NCollection_Array1_handle_StepShape_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_StepShape_Face): NCollection_Array1_handle_StepShape_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): StepShape_Face
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepShape_Face
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepShape_Face
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepShape_Face
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepShape_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_StepShape_FaceBound
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_StepShape_FaceBound
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_StepShape_FaceBound): NCollection_Array1_handle_StepShape_FaceBound
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_StepShape_FaceBoundParameters (2)
theLowertheUpper
- constructor(theBegin: StepShape_FaceBound, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_StepShape_FaceBoundParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepShape_FaceBound): 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_StepShape_FaceBound): NCollection_Array1_handle_StepShape_FaceBound
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_StepShape_FaceBound): NCollection_Array1_handle_StepShape_FaceBound
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_StepShape_FaceBound): NCollection_Array1_handle_StepShape_FaceBound
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): StepShape_FaceBound
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepShape_FaceBound
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepShape_FaceBound
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepShape_FaceBound
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepShape_FaceBound): 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_StepShape_OrientedClosedShell
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_StepShape_OrientedClosedShell
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_StepShape_OrientedClosedShell): NCollection_Array1_handle_StepShape_OrientedClosedShell
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_StepShape_OrientedClosedShellParameters (2)
theLowertheUpper
- constructor(theBegin: StepShape_OrientedClosedShell, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_StepShape_OrientedClosedShellParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepShape_OrientedClosedShell): 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_StepShape_OrientedClosedShell): NCollection_Array1_handle_StepShape_OrientedClosedShell
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_StepShape_OrientedClosedShell): NCollection_Array1_handle_StepShape_OrientedClosedShell
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_StepShape_OrientedClosedShell): NCollection_Array1_handle_StepShape_OrientedClosedShell
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): StepShape_OrientedClosedShell
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepShape_OrientedClosedShell
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepShape_OrientedClosedShell
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepShape_OrientedClosedShell
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepShape_OrientedClosedShell): 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_StepShape_OrientedEdge
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_StepShape_OrientedEdge
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_StepShape_OrientedEdge): NCollection_Array1_handle_StepShape_OrientedEdge
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_StepShape_OrientedEdgeParameters (2)
theLowertheUpper
- constructor(theBegin: StepShape_OrientedEdge, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_StepShape_OrientedEdgeParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepShape_OrientedEdge): 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_StepShape_OrientedEdge): NCollection_Array1_handle_StepShape_OrientedEdge
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_StepShape_OrientedEdge): NCollection_Array1_handle_StepShape_OrientedEdge
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_StepShape_OrientedEdge): NCollection_Array1_handle_StepShape_OrientedEdge
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): StepShape_OrientedEdge
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepShape_OrientedEdge
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepShape_OrientedEdge
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepShape_OrientedEdge
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepShape_OrientedEdge): 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_StepVisual_CurveStyleFontPattern
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_StepVisual_CurveStyleFontPattern
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_StepVisual_CurveStyleFontPattern): NCollection_Array1_handle_StepVisual_CurveStyleFontPattern
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_StepVisual_CurveStyleFontPatternParameters (2)
theLowertheUpper
- constructor(theBegin: StepVisual_CurveStyleFontPattern, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_StepVisual_CurveStyleFontPatternParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepVisual_CurveStyleFontPattern): 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_StepVisual_CurveStyleFontPattern): NCollection_Array1_handle_StepVisual_CurveStyleFontPattern
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_StepVisual_CurveStyleFontPattern): NCollection_Array1_handle_StepVisual_CurveStyleFontPattern
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_StepVisual_CurveStyleFontPattern): NCollection_Array1_handle_StepVisual_CurveStyleFontPattern
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): StepVisual_CurveStyleFontPattern
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepVisual_CurveStyleFontPattern
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepVisual_CurveStyleFontPattern
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepVisual_CurveStyleFontPattern
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepVisual_CurveStyleFontPattern): 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_StepVisual_PresentationStyleAssignment
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_StepVisual_PresentationStyleAssignment
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_StepVisual_PresentationStyleAssignment): NCollection_Array1_handle_StepVisual_PresentationStyleAssignment
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_StepVisual_PresentationStyleAssignmentParameters (2)
theLowertheUpper
- constructor(theBegin: StepVisual_PresentationStyleAssignment, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_StepVisual_PresentationStyleAssignmentParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepVisual_PresentationStyleAssignment): 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_StepVisual_PresentationStyleAssignment): NCollection_Array1_handle_StepVisual_PresentationStyleAssignment
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_StepVisual_PresentationStyleAssignment): NCollection_Array1_handle_StepVisual_PresentationStyleAssignment
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_StepVisual_PresentationStyleAssignment): NCollection_Array1_handle_StepVisual_PresentationStyleAssignment
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): StepVisual_PresentationStyleAssignment
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepVisual_PresentationStyleAssignment
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepVisual_PresentationStyleAssignment
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepVisual_PresentationStyleAssignment
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepVisual_PresentationStyleAssignment): 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_StepVisual_TessellatedItem
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_StepVisual_TessellatedItem
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_StepVisual_TessellatedItem): NCollection_Array1_handle_StepVisual_TessellatedItem
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_StepVisual_TessellatedItemParameters (2)
theLowertheUpper
- constructor(theBegin: StepVisual_TessellatedItem, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_StepVisual_TessellatedItemParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepVisual_TessellatedItem): 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_StepVisual_TessellatedItem): NCollection_Array1_handle_StepVisual_TessellatedItem
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_StepVisual_TessellatedItem): NCollection_Array1_handle_StepVisual_TessellatedItem
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_StepVisual_TessellatedItem): NCollection_Array1_handle_StepVisual_TessellatedItem
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): StepVisual_TessellatedItem
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepVisual_TessellatedItem
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepVisual_TessellatedItem
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepVisual_TessellatedItem
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepVisual_TessellatedItem): 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_StepVisual_TessellatedStructuredItem
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_StepVisual_TessellatedStructuredItem
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_StepVisual_TessellatedStructuredItem): NCollection_Array1_handle_StepVisual_TessellatedStructuredItem
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_StepVisual_TessellatedStructuredItemParameters (2)
theLowertheUpper
- constructor(theBegin: StepVisual_TessellatedStructuredItem, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_StepVisual_TessellatedStructuredItemParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepVisual_TessellatedStructuredItem): 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_StepVisual_TessellatedStructuredItem): NCollection_Array1_handle_StepVisual_TessellatedStructuredItem
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_StepVisual_TessellatedStructuredItem): NCollection_Array1_handle_StepVisual_TessellatedStructuredItem
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_StepVisual_TessellatedStructuredItem): NCollection_Array1_handle_StepVisual_TessellatedStructuredItem
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): StepVisual_TessellatedStructuredItem
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepVisual_TessellatedStructuredItem
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepVisual_TessellatedStructuredItem
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepVisual_TessellatedStructuredItem
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepVisual_TessellatedStructuredItem): 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_Storage_CallBack
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_Storage_CallBack
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_Storage_CallBack): NCollection_Array1_handle_Storage_CallBack
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_Storage_CallBackParameters (2)
theLowertheUpper
- constructor(theBegin: Storage_CallBack, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_Storage_CallBackParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: Storage_CallBack): 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_Storage_CallBack): NCollection_Array1_handle_Storage_CallBack
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_Storage_CallBack): NCollection_Array1_handle_Storage_CallBack
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_Storage_CallBack): NCollection_Array1_handle_Storage_CallBack
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): Storage_CallBack
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): Storage_CallBack
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): Storage_CallBack
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): Storage_CallBack
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: Storage_CallBack): 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_Storage_Schema
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_Storage_Schema
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_Storage_Schema): NCollection_Array1_handle_Storage_Schema
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_Storage_SchemaParameters (2)
theLowertheUpper
- constructor(theBegin: Storage_Schema, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_Storage_SchemaParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: Storage_Schema): 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_Storage_Schema): NCollection_Array1_handle_Storage_Schema
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_Storage_Schema): NCollection_Array1_handle_Storage_Schema
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): Storage_Schema
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): Storage_Schema
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): Storage_Schema
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): Storage_Schema
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: Storage_Schema): 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_TCollection_HAsciiString
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_TCollection_HAsciiString
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_TCollection_HAsciiString): NCollection_Array1_handle_TCollection_HAsciiString
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_TCollection_HAsciiStringParameters (2)
theLowertheUpper
- constructor(theBegin: TCollection_HAsciiString, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_TCollection_HAsciiStringParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: TCollection_HAsciiString): 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_TCollection_HAsciiString): NCollection_Array1_handle_TCollection_HAsciiString
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_TCollection_HAsciiString): NCollection_Array1_handle_TCollection_HAsciiString
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_TCollection_HAsciiString): NCollection_Array1_handle_TCollection_HAsciiString
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): TCollection_HAsciiString
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): TCollection_HAsciiString
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): TCollection_HAsciiString
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): TCollection_HAsciiString
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: TCollection_HAsciiString): 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_TDF_Attribute
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_TDF_Attribute
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_TDF_Attribute): NCollection_Array1_handle_TDF_Attribute
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_handle_TDF_AttributeParameters (2)
theLowertheUpper
- constructor(theBegin: TDF_Attribute, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_handle_TDF_AttributeParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: TDF_Attribute): 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_TDF_Attribute): NCollection_Array1_handle_TDF_Attribute
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): TDF_Attribute
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): TDF_Attribute
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): TDF_Attribute
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): TDF_Attribute
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: TDF_Attribute): 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_HLRAlgo_PolyHidingData
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_HLRAlgo_PolyHidingData
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_HLRAlgo_PolyHidingData): NCollection_Array1_HLRAlgo_PolyHidingData
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_HLRAlgo_PolyHidingDataParameters (2)
theLowertheUpper
- constructor(theBegin: HLRAlgo_PolyHidingData, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_HLRAlgo_PolyHidingDataParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: HLRAlgo_PolyHidingData): 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_HLRAlgo_PolyHidingData): NCollection_Array1_HLRAlgo_PolyHidingData
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_HLRAlgo_PolyHidingData): NCollection_Array1_HLRAlgo_PolyHidingData
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_HLRAlgo_PolyHidingData): NCollection_Array1_HLRAlgo_PolyHidingData
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_PolyHidingData
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): HLRAlgo_PolyHidingData
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): HLRAlgo_PolyHidingData
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): HLRAlgo_PolyHidingData
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: HLRAlgo_PolyHidingData): 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_HLRAlgo_PolyInternalSegment
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_HLRAlgo_PolyInternalSegment
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_HLRAlgo_PolyInternalSegment): NCollection_Array1_HLRAlgo_PolyInternalSegment
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_HLRAlgo_PolyInternalSegmentParameters (2)
theLowertheUpper
- constructor(theBegin: HLRAlgo_PolyInternalSegment, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_HLRAlgo_PolyInternalSegmentParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: HLRAlgo_PolyInternalSegment): 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_HLRAlgo_PolyInternalSegment): NCollection_Array1_HLRAlgo_PolyInternalSegment
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_HLRAlgo_PolyInternalSegment): NCollection_Array1_HLRAlgo_PolyInternalSegment
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_HLRAlgo_PolyInternalSegment): NCollection_Array1_HLRAlgo_PolyInternalSegment
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_PolyInternalSegment
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): HLRAlgo_PolyInternalSegment
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): HLRAlgo_PolyInternalSegment
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): HLRAlgo_PolyInternalSegment
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: HLRAlgo_PolyInternalSegment): 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_HLRAlgo_TriangleData
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_HLRAlgo_TriangleData
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_HLRAlgo_TriangleData): NCollection_Array1_HLRAlgo_TriangleData
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_HLRAlgo_TriangleDataParameters (2)
theLowertheUpper
- constructor(theBegin: HLRAlgo_TriangleData, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_HLRAlgo_TriangleDataParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: HLRAlgo_TriangleData): 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_HLRAlgo_TriangleData): NCollection_Array1_HLRAlgo_TriangleData
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): HLRAlgo_TriangleData
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): HLRAlgo_TriangleData
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): HLRAlgo_TriangleData
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): HLRAlgo_TriangleData
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: HLRAlgo_TriangleData): 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_HLRBRep_EdgeData
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_HLRBRep_EdgeData
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_HLRBRep_EdgeDataParameters (2)
theLowertheUpper
- constructor(theBegin: HLRBRep_EdgeData, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_HLRBRep_EdgeDataParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: HLRBRep_EdgeData): 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): HLRBRep_EdgeData
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): HLRBRep_EdgeData
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): HLRBRep_EdgeData
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): HLRBRep_EdgeData
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: HLRBRep_EdgeData): 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_HLRBRep_FaceData
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_HLRBRep_FaceData
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_HLRBRep_FaceDataParameters (2)
theLowertheUpper
- constructor(theBegin: HLRBRep_FaceData, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_HLRBRep_FaceDataParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: HLRBRep_FaceData): 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): HLRBRep_FaceData
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): HLRBRep_FaceData
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): HLRBRep_FaceData
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): HLRBRep_FaceData
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: HLRBRep_FaceData): 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_IGESData_DirPart
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_IGESData_DirPart
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_IGESData_DirPartParameters (2)
theLowertheUpper
- constructor(theBegin: IGESData_DirPart, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_IGESData_DirPartParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: IGESData_DirPart): 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): IGESData_DirPart
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): IGESData_DirPart
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): IGESData_DirPart
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): IGESData_DirPart
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: IGESData_DirPart): 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_int
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_int
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_int): NCollection_Array1_int
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_intParameters (2)
theLowertheUpper
- constructor(theBegin: number, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_intParameters (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_int): NCollection_Array1_int
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_int): NCollection_Array1_int
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_int): NCollection_Array1_int
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_Interface_FileParameter
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_Interface_FileParameter
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_Interface_FileParameter): NCollection_Array1_Interface_FileParameter
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_Interface_FileParameterParameters (2)
theLowertheUpper
- constructor(theBegin: Interface_FileParameter, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_Interface_FileParameterParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: Interface_FileParameter): 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_Interface_FileParameter): NCollection_Array1_Interface_FileParameter
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_Interface_FileParameter): NCollection_Array1_Interface_FileParameter
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_Interface_FileParameter): NCollection_Array1_Interface_FileParameter
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): Interface_FileParameter
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): Interface_FileParameter
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): Interface_FileParameter
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): Interface_FileParameter
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: Interface_FileParameter): 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_IntTools_Range
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_IntTools_Range
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_IntTools_RangeParameters (2)
theLowertheUpper
- constructor(theBegin: IntTools_Range, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_IntTools_RangeParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: IntTools_Range): 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): IntTools_Range
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): IntTools_Range
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): IntTools_Range
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): IntTools_Range
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: IntTools_Range): 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_IntTools_Root
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_IntTools_Root
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_IntTools_RootParameters (2)
theLowertheUpper
- constructor(theBegin: IntTools_Root, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_IntTools_RootParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: IntTools_Root): 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): IntTools_Root
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): IntTools_Root
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): IntTools_Root
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): IntTools_Root
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: IntTools_Root): 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_math_ValueAndWeight
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_math_ValueAndWeight
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_math_ValueAndWeight): NCollection_Array1_math_ValueAndWeight
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_math_ValueAndWeightParameters (2)
theLowertheUpper
- constructor(theBegin: math_ValueAndWeight, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_math_ValueAndWeightParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: math_ValueAndWeight): 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_math_ValueAndWeight): NCollection_Array1_math_ValueAndWeight
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): math_ValueAndWeight
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): math_ValueAndWeight
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): math_ValueAndWeight
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): math_ValueAndWeight
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: math_ValueAndWeight): 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_NCollection_Handle_Message_Msg
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_NCollection_Handle_Message_Msg
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_NCollection_Handle_Message_Msg): NCollection_Array1_NCollection_Handle_Message_Msg
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_NCollection_Handle_Message_MsgParameters (2)
theLowertheUpper
- constructor(theBegin: unknown, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_NCollection_Handle_Message_MsgParameters (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_NCollection_Handle_Message_Msg): NCollection_Array1_NCollection_Handle_Message_Msg
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_NCollection_Handle_Message_Msg): NCollection_Array1_NCollection_Handle_Message_Msg
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_NCollection_Handle_Message_Msg): NCollection_Array1_NCollection_Handle_Message_Msg
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_NCollection_List_int
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_NCollection_List_int
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_NCollection_List_int): NCollection_Array1_NCollection_List_int
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_NCollection_List_intParameters (2)
theLowertheUpper
- constructor(theBegin: NCollection_List_int, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_NCollection_List_intParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: NCollection_List_int): 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_NCollection_List_int): NCollection_Array1_NCollection_List_int
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): NCollection_List_int
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): NCollection_List_int
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): NCollection_List_int
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): NCollection_List_int
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: NCollection_List_int): 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_NCollection_List_TopoDS_Shape
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_NCollection_List_TopoDS_Shape
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_NCollection_List_TopoDS_Shape): NCollection_Array1_NCollection_List_TopoDS_Shape
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_NCollection_List_TopoDS_ShapeParameters (2)
theLowertheUpper
- constructor(theBegin: NCollection_List_TopoDS_Shape, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_NCollection_List_TopoDS_ShapeParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: NCollection_List_TopoDS_Shape): 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_NCollection_List_TopoDS_Shape): NCollection_Array1_NCollection_List_TopoDS_Shape
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_NCollection_List_TopoDS_Shape): NCollection_Array1_NCollection_List_TopoDS_Shape
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_NCollection_List_TopoDS_Shape): NCollection_Array1_NCollection_List_TopoDS_Shape
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): NCollection_List_TopoDS_Shape
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): NCollection_List_TopoDS_Shape
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): NCollection_List_TopoDS_Shape
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): NCollection_List_TopoDS_Shape
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: NCollection_List_TopoDS_Shape): 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_NCollection_Sequence_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_NCollection_Sequence_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
- constructor(theOther: NCollection_Array1_NCollection_Sequence_double): NCollection_Array1_NCollection_Sequence_double
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_NCollection_Sequence_doubleParameters (2)
theLowertheUpper
- constructor(theBegin: NCollection_Sequence_double, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_NCollection_Sequence_doubleParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: NCollection_Sequence_double): 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_NCollection_Sequence_double): NCollection_Array1_NCollection_Sequence_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
- CopyValues(theOther: NCollection_Array1_NCollection_Sequence_double): NCollection_Array1_NCollection_Sequence_double
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_NCollection_Sequence_double): NCollection_Array1_NCollection_Sequence_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.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): NCollection_Sequence_double
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): NCollection_Sequence_double
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): NCollection_Sequence_double
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): NCollection_Sequence_double
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: NCollection_Sequence_double): 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_NCollection_Sequence_int
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_NCollection_Sequence_int
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_NCollection_Sequence_int): NCollection_Array1_NCollection_Sequence_int
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_NCollection_Sequence_intParameters (2)
theLowertheUpper
- constructor(theBegin: NCollection_Sequence_int, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_NCollection_Sequence_intParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: NCollection_Sequence_int): 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_NCollection_Sequence_int): NCollection_Array1_NCollection_Sequence_int
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_NCollection_Sequence_int): NCollection_Array1_NCollection_Sequence_int
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_NCollection_Sequence_int): NCollection_Array1_NCollection_Sequence_int
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): NCollection_Sequence_int
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): NCollection_Sequence_int
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): NCollection_Sequence_int
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): NCollection_Sequence_int
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: NCollection_Sequence_int): 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_NCollection_Vec3_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_NCollection_Vec3_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
- constructor(theOther: NCollection_Array1_NCollection_Vec3_float): NCollection_Array1_NCollection_Vec3_float
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_NCollection_Vec3_floatParameters (2)
theLowertheUpper
- constructor(theBegin: unknown, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_NCollection_Vec3_floatParameters (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_NCollection_Vec3_float): NCollection_Array1_NCollection_Vec3_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
- CopyValues(theOther: NCollection_Array1_NCollection_Vec3_float): NCollection_Array1_NCollection_Vec3_float
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_NCollection_Vec3_float): NCollection_Array1_NCollection_Vec3_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(): 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_Plate_PinpointConstraint
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_Plate_PinpointConstraint
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_Plate_PinpointConstraint): NCollection_Array1_Plate_PinpointConstraint
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_Plate_PinpointConstraintParameters (2)
theLowertheUpper
- constructor(theBegin: Plate_PinpointConstraint, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_Plate_PinpointConstraintParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: Plate_PinpointConstraint): 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_Plate_PinpointConstraint): NCollection_Array1_Plate_PinpointConstraint
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_Plate_PinpointConstraint): NCollection_Array1_Plate_PinpointConstraint
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_Plate_PinpointConstraint): NCollection_Array1_Plate_PinpointConstraint
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): Plate_PinpointConstraint
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): Plate_PinpointConstraint
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): Plate_PinpointConstraint
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): Plate_PinpointConstraint
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: Plate_PinpointConstraint): 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_Poly_Triangle
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_Poly_Triangle
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_Poly_TriangleParameters (2)
theLowertheUpper
- constructor(theBegin: Poly_Triangle, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_Poly_TriangleParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: Poly_Triangle): 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): Poly_Triangle
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): Poly_Triangle
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): Poly_Triangle
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): Poly_Triangle
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: Poly_Triangle): 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_Quantity_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_Quantity_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
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_Quantity_ColorParameters (2)
theLowertheUpper
- constructor(theBegin: Quantity_Color, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_Quantity_ColorParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: Quantity_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.
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): Quantity_Color
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): Quantity_Color
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): Quantity_Color
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): Quantity_Color
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: Quantity_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_std_pair_unsignedint_int
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_std_pair_unsignedint_int
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_std_pair_unsignedint_int): NCollection_Array1_std_pair_unsignedint_int
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_std_pair_unsignedint_intParameters (2)
theLowertheUpper
- constructor(theBegin: unknown, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_std_pair_unsignedint_intParameters (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_std_pair_unsignedint_int): NCollection_Array1_std_pair_unsignedint_int
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_std_pair_unsignedint_int): NCollection_Array1_std_pair_unsignedint_int
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_std_pair_unsignedint_int): NCollection_Array1_std_pair_unsignedint_int
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_StepAP203_ApprovedItem
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_StepAP203_ApprovedItem
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_StepAP203_ApprovedItem): NCollection_Array1_StepAP203_ApprovedItem
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepAP203_ApprovedItemParameters (2)
theLowertheUpper
- constructor(theBegin: StepAP203_ApprovedItem, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepAP203_ApprovedItemParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepAP203_ApprovedItem): 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_StepAP203_ApprovedItem): NCollection_Array1_StepAP203_ApprovedItem
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_StepAP203_ApprovedItem): NCollection_Array1_StepAP203_ApprovedItem
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_StepAP203_ApprovedItem): NCollection_Array1_StepAP203_ApprovedItem
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): StepAP203_ApprovedItem
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepAP203_ApprovedItem
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepAP203_ApprovedItem
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepAP203_ApprovedItem
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepAP203_ApprovedItem): 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_StepAP203_CertifiedItem
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_StepAP203_CertifiedItem
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_StepAP203_CertifiedItem): NCollection_Array1_StepAP203_CertifiedItem
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepAP203_CertifiedItemParameters (2)
theLowertheUpper
- constructor(theBegin: StepAP203_CertifiedItem, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepAP203_CertifiedItemParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepAP203_CertifiedItem): 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_StepAP203_CertifiedItem): NCollection_Array1_StepAP203_CertifiedItem
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_StepAP203_CertifiedItem): NCollection_Array1_StepAP203_CertifiedItem
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_StepAP203_CertifiedItem): NCollection_Array1_StepAP203_CertifiedItem
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): StepAP203_CertifiedItem
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepAP203_CertifiedItem
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepAP203_CertifiedItem
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepAP203_CertifiedItem
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepAP203_CertifiedItem): 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_StepAP203_ChangeRequestItem
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_StepAP203_ChangeRequestItem
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_StepAP203_ChangeRequestItem): NCollection_Array1_StepAP203_ChangeRequestItem
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepAP203_ChangeRequestItemParameters (2)
theLowertheUpper
- constructor(theBegin: StepAP203_ChangeRequestItem, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepAP203_ChangeRequestItemParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepAP203_ChangeRequestItem): 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_StepAP203_ChangeRequestItem): NCollection_Array1_StepAP203_ChangeRequestItem
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_StepAP203_ChangeRequestItem): NCollection_Array1_StepAP203_ChangeRequestItem
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_StepAP203_ChangeRequestItem): NCollection_Array1_StepAP203_ChangeRequestItem
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): StepAP203_ChangeRequestItem
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepAP203_ChangeRequestItem
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepAP203_ChangeRequestItem
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepAP203_ChangeRequestItem
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepAP203_ChangeRequestItem): 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_StepAP203_ClassifiedItem
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_StepAP203_ClassifiedItem
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_StepAP203_ClassifiedItem): NCollection_Array1_StepAP203_ClassifiedItem
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepAP203_ClassifiedItemParameters (2)
theLowertheUpper
- constructor(theBegin: StepAP203_ClassifiedItem, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepAP203_ClassifiedItemParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepAP203_ClassifiedItem): 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_StepAP203_ClassifiedItem): NCollection_Array1_StepAP203_ClassifiedItem
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_StepAP203_ClassifiedItem): NCollection_Array1_StepAP203_ClassifiedItem
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_StepAP203_ClassifiedItem): NCollection_Array1_StepAP203_ClassifiedItem
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): StepAP203_ClassifiedItem
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepAP203_ClassifiedItem
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepAP203_ClassifiedItem
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepAP203_ClassifiedItem
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepAP203_ClassifiedItem): 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_StepAP203_ContractedItem
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_StepAP203_ContractedItem
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_StepAP203_ContractedItem): NCollection_Array1_StepAP203_ContractedItem
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepAP203_ContractedItemParameters (2)
theLowertheUpper
- constructor(theBegin: StepAP203_ContractedItem, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepAP203_ContractedItemParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepAP203_ContractedItem): 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_StepAP203_ContractedItem): NCollection_Array1_StepAP203_ContractedItem
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_StepAP203_ContractedItem): NCollection_Array1_StepAP203_ContractedItem
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_StepAP203_ContractedItem): NCollection_Array1_StepAP203_ContractedItem
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): StepAP203_ContractedItem
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepAP203_ContractedItem
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepAP203_ContractedItem
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepAP203_ContractedItem
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepAP203_ContractedItem): 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_StepAP203_DateTimeItem
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_StepAP203_DateTimeItem
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_StepAP203_DateTimeItem): NCollection_Array1_StepAP203_DateTimeItem
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepAP203_DateTimeItemParameters (2)
theLowertheUpper
- constructor(theBegin: StepAP203_DateTimeItem, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepAP203_DateTimeItemParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepAP203_DateTimeItem): 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_StepAP203_DateTimeItem): NCollection_Array1_StepAP203_DateTimeItem
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_StepAP203_DateTimeItem): NCollection_Array1_StepAP203_DateTimeItem
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_StepAP203_DateTimeItem): NCollection_Array1_StepAP203_DateTimeItem
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): StepAP203_DateTimeItem
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepAP203_DateTimeItem
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepAP203_DateTimeItem
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepAP203_DateTimeItem
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepAP203_DateTimeItem): 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_StepAP203_PersonOrganizationItem
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_StepAP203_PersonOrganizationItem
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_StepAP203_PersonOrganizationItem): NCollection_Array1_StepAP203_PersonOrganizationItem
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepAP203_PersonOrganizationItemParameters (2)
theLowertheUpper
- constructor(theBegin: StepAP203_PersonOrganizationItem, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepAP203_PersonOrganizationItemParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepAP203_PersonOrganizationItem): 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_StepAP203_PersonOrganizationItem): NCollection_Array1_StepAP203_PersonOrganizationItem
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_StepAP203_PersonOrganizationItem): NCollection_Array1_StepAP203_PersonOrganizationItem
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_StepAP203_PersonOrganizationItem): NCollection_Array1_StepAP203_PersonOrganizationItem
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): StepAP203_PersonOrganizationItem
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepAP203_PersonOrganizationItem
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepAP203_PersonOrganizationItem
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepAP203_PersonOrganizationItem
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepAP203_PersonOrganizationItem): 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_StepAP203_SpecifiedItem
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_StepAP203_SpecifiedItem
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_StepAP203_SpecifiedItem): NCollection_Array1_StepAP203_SpecifiedItem
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepAP203_SpecifiedItemParameters (2)
theLowertheUpper
- constructor(theBegin: StepAP203_SpecifiedItem, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepAP203_SpecifiedItemParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepAP203_SpecifiedItem): 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_StepAP203_SpecifiedItem): NCollection_Array1_StepAP203_SpecifiedItem
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_StepAP203_SpecifiedItem): NCollection_Array1_StepAP203_SpecifiedItem
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_StepAP203_SpecifiedItem): NCollection_Array1_StepAP203_SpecifiedItem
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): StepAP203_SpecifiedItem
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepAP203_SpecifiedItem
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepAP203_SpecifiedItem
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepAP203_SpecifiedItem
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepAP203_SpecifiedItem): 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_StepAP203_StartRequestItem
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_StepAP203_StartRequestItem
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_StepAP203_StartRequestItem): NCollection_Array1_StepAP203_StartRequestItem
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepAP203_StartRequestItemParameters (2)
theLowertheUpper
- constructor(theBegin: StepAP203_StartRequestItem, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepAP203_StartRequestItemParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepAP203_StartRequestItem): 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_StepAP203_StartRequestItem): NCollection_Array1_StepAP203_StartRequestItem
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_StepAP203_StartRequestItem): NCollection_Array1_StepAP203_StartRequestItem
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_StepAP203_StartRequestItem): NCollection_Array1_StepAP203_StartRequestItem
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): StepAP203_StartRequestItem
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepAP203_StartRequestItem
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepAP203_StartRequestItem
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepAP203_StartRequestItem
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepAP203_StartRequestItem): 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_StepAP203_WorkItem
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_StepAP203_WorkItem
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_StepAP203_WorkItemParameters (2)
theLowertheUpper
- constructor(theBegin: StepAP203_WorkItem, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepAP203_WorkItemParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepAP203_WorkItem): 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): StepAP203_WorkItem
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepAP203_WorkItem
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepAP203_WorkItem
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepAP203_WorkItem
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepAP203_WorkItem): 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_StepAP214_ApprovalItem
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_StepAP214_ApprovalItem
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_StepAP214_ApprovalItem): NCollection_Array1_StepAP214_ApprovalItem
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepAP214_ApprovalItemParameters (2)
theLowertheUpper
- constructor(theBegin: StepAP214_ApprovalItem, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepAP214_ApprovalItemParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepAP214_ApprovalItem): 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_StepAP214_ApprovalItem): NCollection_Array1_StepAP214_ApprovalItem
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_StepAP214_ApprovalItem): NCollection_Array1_StepAP214_ApprovalItem
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_StepAP214_ApprovalItem): NCollection_Array1_StepAP214_ApprovalItem
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): StepAP214_ApprovalItem
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepAP214_ApprovalItem
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepAP214_ApprovalItem
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepAP214_ApprovalItem
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepAP214_ApprovalItem): 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_StepAP214_AutoDesignDateAndPersonItem
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_StepAP214_AutoDesignDateAndPersonItem
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_StepAP214_AutoDesignDateAndPersonItem): NCollection_Array1_StepAP214_AutoDesignDateAndPersonItem
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepAP214_AutoDesignDateAndPersonItemParameters (2)
theLowertheUpper
- constructor(theBegin: StepAP214_AutoDesignDateAndPersonItem, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepAP214_AutoDesignDateAndPersonItemParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepAP214_AutoDesignDateAndPersonItem): 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_StepAP214_AutoDesignDateAndPersonItem): NCollection_Array1_StepAP214_AutoDesignDateAndPersonItem
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_StepAP214_AutoDesignDateAndPersonItem): NCollection_Array1_StepAP214_AutoDesignDateAndPersonItem
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_StepAP214_AutoDesignDateAndPersonItem): NCollection_Array1_StepAP214_AutoDesignDateAndPersonItem
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): StepAP214_AutoDesignDateAndPersonItem
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepAP214_AutoDesignDateAndPersonItem
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepAP214_AutoDesignDateAndPersonItem
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepAP214_AutoDesignDateAndPersonItem
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepAP214_AutoDesignDateAndPersonItem): 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_StepAP214_AutoDesignDateAndTimeItem
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_StepAP214_AutoDesignDateAndTimeItem
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_StepAP214_AutoDesignDateAndTimeItem): NCollection_Array1_StepAP214_AutoDesignDateAndTimeItem
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepAP214_AutoDesignDateAndTimeItemParameters (2)
theLowertheUpper
- constructor(theBegin: StepAP214_AutoDesignDateAndTimeItem, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepAP214_AutoDesignDateAndTimeItemParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepAP214_AutoDesignDateAndTimeItem): 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_StepAP214_AutoDesignDateAndTimeItem): NCollection_Array1_StepAP214_AutoDesignDateAndTimeItem
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_StepAP214_AutoDesignDateAndTimeItem): NCollection_Array1_StepAP214_AutoDesignDateAndTimeItem
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_StepAP214_AutoDesignDateAndTimeItem): NCollection_Array1_StepAP214_AutoDesignDateAndTimeItem
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): StepAP214_AutoDesignDateAndTimeItem
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepAP214_AutoDesignDateAndTimeItem
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepAP214_AutoDesignDateAndTimeItem
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepAP214_AutoDesignDateAndTimeItem
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepAP214_AutoDesignDateAndTimeItem): 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_StepAP214_AutoDesignDatedItem
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_StepAP214_AutoDesignDatedItem
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_StepAP214_AutoDesignDatedItem): NCollection_Array1_StepAP214_AutoDesignDatedItem
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepAP214_AutoDesignDatedItemParameters (2)
theLowertheUpper
- constructor(theBegin: StepAP214_AutoDesignDatedItem, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepAP214_AutoDesignDatedItemParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepAP214_AutoDesignDatedItem): 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_StepAP214_AutoDesignDatedItem): NCollection_Array1_StepAP214_AutoDesignDatedItem
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_StepAP214_AutoDesignDatedItem): NCollection_Array1_StepAP214_AutoDesignDatedItem
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_StepAP214_AutoDesignDatedItem): NCollection_Array1_StepAP214_AutoDesignDatedItem
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): StepAP214_AutoDesignDatedItem
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepAP214_AutoDesignDatedItem
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepAP214_AutoDesignDatedItem
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepAP214_AutoDesignDatedItem
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepAP214_AutoDesignDatedItem): 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_StepAP214_AutoDesignGeneralOrgItem
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_StepAP214_AutoDesignGeneralOrgItem
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_StepAP214_AutoDesignGeneralOrgItem): NCollection_Array1_StepAP214_AutoDesignGeneralOrgItem
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepAP214_AutoDesignGeneralOrgItemParameters (2)
theLowertheUpper
- constructor(theBegin: StepAP214_AutoDesignGeneralOrgItem, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepAP214_AutoDesignGeneralOrgItemParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepAP214_AutoDesignGeneralOrgItem): 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_StepAP214_AutoDesignGeneralOrgItem): NCollection_Array1_StepAP214_AutoDesignGeneralOrgItem
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_StepAP214_AutoDesignGeneralOrgItem): NCollection_Array1_StepAP214_AutoDesignGeneralOrgItem
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_StepAP214_AutoDesignGeneralOrgItem): NCollection_Array1_StepAP214_AutoDesignGeneralOrgItem
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): StepAP214_AutoDesignGeneralOrgItem
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepAP214_AutoDesignGeneralOrgItem
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepAP214_AutoDesignGeneralOrgItem
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepAP214_AutoDesignGeneralOrgItem
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepAP214_AutoDesignGeneralOrgItem): 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_StepAP214_AutoDesignGroupedItem
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_StepAP214_AutoDesignGroupedItem
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_StepAP214_AutoDesignGroupedItem): NCollection_Array1_StepAP214_AutoDesignGroupedItem
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepAP214_AutoDesignGroupedItemParameters (2)
theLowertheUpper
- constructor(theBegin: StepAP214_AutoDesignGroupedItem, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepAP214_AutoDesignGroupedItemParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepAP214_AutoDesignGroupedItem): 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_StepAP214_AutoDesignGroupedItem): NCollection_Array1_StepAP214_AutoDesignGroupedItem
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_StepAP214_AutoDesignGroupedItem): NCollection_Array1_StepAP214_AutoDesignGroupedItem
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_StepAP214_AutoDesignGroupedItem): NCollection_Array1_StepAP214_AutoDesignGroupedItem
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): StepAP214_AutoDesignGroupedItem
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepAP214_AutoDesignGroupedItem
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepAP214_AutoDesignGroupedItem
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepAP214_AutoDesignGroupedItem
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepAP214_AutoDesignGroupedItem): 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_StepAP214_AutoDesignPresentedItemSelect
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_StepAP214_AutoDesignPresentedItemSelect
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_StepAP214_AutoDesignPresentedItemSelect): NCollection_Array1_StepAP214_AutoDesignPresentedItemSelect
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepAP214_AutoDesignPresentedItemSelectParameters (2)
theLowertheUpper
- constructor(theBegin: StepAP214_AutoDesignPresentedItemSelect, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepAP214_AutoDesignPresentedItemSelectParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepAP214_AutoDesignPresentedItemSelect): 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_StepAP214_AutoDesignPresentedItemSelect): NCollection_Array1_StepAP214_AutoDesignPresentedItemSelect
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_StepAP214_AutoDesignPresentedItemSelect): NCollection_Array1_StepAP214_AutoDesignPresentedItemSelect
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_StepAP214_AutoDesignPresentedItemSelect): NCollection_Array1_StepAP214_AutoDesignPresentedItemSelect
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): StepAP214_AutoDesignPresentedItemSelect
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepAP214_AutoDesignPresentedItemSelect
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepAP214_AutoDesignPresentedItemSelect
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepAP214_AutoDesignPresentedItemSelect
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepAP214_AutoDesignPresentedItemSelect): 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_StepAP214_AutoDesignReferencingItem
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_StepAP214_AutoDesignReferencingItem
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_StepAP214_AutoDesignReferencingItem): NCollection_Array1_StepAP214_AutoDesignReferencingItem
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepAP214_AutoDesignReferencingItemParameters (2)
theLowertheUpper
- constructor(theBegin: StepAP214_AutoDesignReferencingItem, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepAP214_AutoDesignReferencingItemParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepAP214_AutoDesignReferencingItem): 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_StepAP214_AutoDesignReferencingItem): NCollection_Array1_StepAP214_AutoDesignReferencingItem
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_StepAP214_AutoDesignReferencingItem): NCollection_Array1_StepAP214_AutoDesignReferencingItem
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_StepAP214_AutoDesignReferencingItem): NCollection_Array1_StepAP214_AutoDesignReferencingItem
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): StepAP214_AutoDesignReferencingItem
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepAP214_AutoDesignReferencingItem
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepAP214_AutoDesignReferencingItem
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepAP214_AutoDesignReferencingItem
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepAP214_AutoDesignReferencingItem): 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_StepAP214_DateAndTimeItem
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_StepAP214_DateAndTimeItem
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_StepAP214_DateAndTimeItem): NCollection_Array1_StepAP214_DateAndTimeItem
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepAP214_DateAndTimeItemParameters (2)
theLowertheUpper
- constructor(theBegin: StepAP214_DateAndTimeItem, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepAP214_DateAndTimeItemParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepAP214_DateAndTimeItem): 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_StepAP214_DateAndTimeItem): NCollection_Array1_StepAP214_DateAndTimeItem
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_StepAP214_DateAndTimeItem): NCollection_Array1_StepAP214_DateAndTimeItem
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_StepAP214_DateAndTimeItem): NCollection_Array1_StepAP214_DateAndTimeItem
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): StepAP214_DateAndTimeItem
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepAP214_DateAndTimeItem
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepAP214_DateAndTimeItem
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepAP214_DateAndTimeItem
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepAP214_DateAndTimeItem): 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_StepAP214_DateItem
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_StepAP214_DateItem
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_StepAP214_DateItemParameters (2)
theLowertheUpper
- constructor(theBegin: StepAP214_DateItem, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepAP214_DateItemParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepAP214_DateItem): 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): StepAP214_DateItem
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepAP214_DateItem
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepAP214_DateItem
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepAP214_DateItem
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepAP214_DateItem): 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_StepAP214_DocumentReferenceItem
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_StepAP214_DocumentReferenceItem
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_StepAP214_DocumentReferenceItem): NCollection_Array1_StepAP214_DocumentReferenceItem
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepAP214_DocumentReferenceItemParameters (2)
theLowertheUpper
- constructor(theBegin: StepAP214_DocumentReferenceItem, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepAP214_DocumentReferenceItemParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepAP214_DocumentReferenceItem): 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_StepAP214_DocumentReferenceItem): NCollection_Array1_StepAP214_DocumentReferenceItem
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_StepAP214_DocumentReferenceItem): NCollection_Array1_StepAP214_DocumentReferenceItem
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_StepAP214_DocumentReferenceItem): NCollection_Array1_StepAP214_DocumentReferenceItem
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): StepAP214_DocumentReferenceItem
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepAP214_DocumentReferenceItem
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepAP214_DocumentReferenceItem
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepAP214_DocumentReferenceItem
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepAP214_DocumentReferenceItem): 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_StepAP214_ExternalIdentificationItem
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_StepAP214_ExternalIdentificationItem
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_StepAP214_ExternalIdentificationItem): NCollection_Array1_StepAP214_ExternalIdentificationItem
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepAP214_ExternalIdentificationItemParameters (2)
theLowertheUpper
- constructor(theBegin: StepAP214_ExternalIdentificationItem, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepAP214_ExternalIdentificationItemParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepAP214_ExternalIdentificationItem): 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_StepAP214_ExternalIdentificationItem): NCollection_Array1_StepAP214_ExternalIdentificationItem
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_StepAP214_ExternalIdentificationItem): NCollection_Array1_StepAP214_ExternalIdentificationItem
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_StepAP214_ExternalIdentificationItem): NCollection_Array1_StepAP214_ExternalIdentificationItem
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): StepAP214_ExternalIdentificationItem
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepAP214_ExternalIdentificationItem
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepAP214_ExternalIdentificationItem
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepAP214_ExternalIdentificationItem
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepAP214_ExternalIdentificationItem): 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_StepAP214_GroupItem
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_StepAP214_GroupItem
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_StepAP214_GroupItem): NCollection_Array1_StepAP214_GroupItem
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepAP214_GroupItemParameters (2)
theLowertheUpper
- constructor(theBegin: StepAP214_GroupItem, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepAP214_GroupItemParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepAP214_GroupItem): 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_StepAP214_GroupItem): NCollection_Array1_StepAP214_GroupItem
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): StepAP214_GroupItem
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepAP214_GroupItem
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepAP214_GroupItem
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepAP214_GroupItem
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepAP214_GroupItem): 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_StepAP214_OrganizationItem
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_StepAP214_OrganizationItem
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_StepAP214_OrganizationItem): NCollection_Array1_StepAP214_OrganizationItem
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepAP214_OrganizationItemParameters (2)
theLowertheUpper
- constructor(theBegin: StepAP214_OrganizationItem, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepAP214_OrganizationItemParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepAP214_OrganizationItem): 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_StepAP214_OrganizationItem): NCollection_Array1_StepAP214_OrganizationItem
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_StepAP214_OrganizationItem): NCollection_Array1_StepAP214_OrganizationItem
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_StepAP214_OrganizationItem): NCollection_Array1_StepAP214_OrganizationItem
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): StepAP214_OrganizationItem
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepAP214_OrganizationItem
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepAP214_OrganizationItem
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepAP214_OrganizationItem
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepAP214_OrganizationItem): 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_StepAP214_PersonAndOrganizationItem
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_StepAP214_PersonAndOrganizationItem
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_StepAP214_PersonAndOrganizationItem): NCollection_Array1_StepAP214_PersonAndOrganizationItem
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepAP214_PersonAndOrganizationItemParameters (2)
theLowertheUpper
- constructor(theBegin: StepAP214_PersonAndOrganizationItem, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepAP214_PersonAndOrganizationItemParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepAP214_PersonAndOrganizationItem): 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_StepAP214_PersonAndOrganizationItem): NCollection_Array1_StepAP214_PersonAndOrganizationItem
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_StepAP214_PersonAndOrganizationItem): NCollection_Array1_StepAP214_PersonAndOrganizationItem
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_StepAP214_PersonAndOrganizationItem): NCollection_Array1_StepAP214_PersonAndOrganizationItem
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): StepAP214_PersonAndOrganizationItem
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepAP214_PersonAndOrganizationItem
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepAP214_PersonAndOrganizationItem
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepAP214_PersonAndOrganizationItem
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepAP214_PersonAndOrganizationItem): 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_StepAP214_PresentedItemSelect
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_StepAP214_PresentedItemSelect
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_StepAP214_PresentedItemSelect): NCollection_Array1_StepAP214_PresentedItemSelect
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepAP214_PresentedItemSelectParameters (2)
theLowertheUpper
- constructor(theBegin: StepAP214_PresentedItemSelect, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepAP214_PresentedItemSelectParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepAP214_PresentedItemSelect): 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_StepAP214_PresentedItemSelect): NCollection_Array1_StepAP214_PresentedItemSelect
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_StepAP214_PresentedItemSelect): NCollection_Array1_StepAP214_PresentedItemSelect
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_StepAP214_PresentedItemSelect): NCollection_Array1_StepAP214_PresentedItemSelect
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): StepAP214_PresentedItemSelect
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepAP214_PresentedItemSelect
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepAP214_PresentedItemSelect
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepAP214_PresentedItemSelect
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepAP214_PresentedItemSelect): 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_StepAP214_SecurityClassificationItem
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_StepAP214_SecurityClassificationItem
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_StepAP214_SecurityClassificationItem): NCollection_Array1_StepAP214_SecurityClassificationItem
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepAP214_SecurityClassificationItemParameters (2)
theLowertheUpper
- constructor(theBegin: StepAP214_SecurityClassificationItem, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepAP214_SecurityClassificationItemParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepAP214_SecurityClassificationItem): 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_StepAP214_SecurityClassificationItem): NCollection_Array1_StepAP214_SecurityClassificationItem
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_StepAP214_SecurityClassificationItem): NCollection_Array1_StepAP214_SecurityClassificationItem
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_StepAP214_SecurityClassificationItem): NCollection_Array1_StepAP214_SecurityClassificationItem
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): StepAP214_SecurityClassificationItem
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepAP214_SecurityClassificationItem
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepAP214_SecurityClassificationItem
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepAP214_SecurityClassificationItem
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepAP214_SecurityClassificationItem): 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_StepData_Field
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_StepData_Field
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_StepData_FieldParameters (2)
theLowertheUpper
- constructor(theBegin: StepData_Field, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepData_FieldParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepData_Field): 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): StepData_Field
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepData_Field
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepData_Field
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepData_Field
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepData_Field): 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_StepDimTol_DatumReferenceModifier
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_StepDimTol_DatumReferenceModifier
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_StepDimTol_DatumReferenceModifier): NCollection_Array1_StepDimTol_DatumReferenceModifier
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepDimTol_DatumReferenceModifierParameters (2)
theLowertheUpper
- constructor(theBegin: StepDimTol_DatumReferenceModifier, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepDimTol_DatumReferenceModifierParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepDimTol_DatumReferenceModifier): 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_StepDimTol_DatumReferenceModifier): NCollection_Array1_StepDimTol_DatumReferenceModifier
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_StepDimTol_DatumReferenceModifier): NCollection_Array1_StepDimTol_DatumReferenceModifier
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_StepDimTol_DatumReferenceModifier): NCollection_Array1_StepDimTol_DatumReferenceModifier
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_DatumReferenceModifier
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepDimTol_DatumReferenceModifier
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepDimTol_DatumReferenceModifier
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepDimTol_DatumReferenceModifier
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepDimTol_DatumReferenceModifier): 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_StepDimTol_DatumSystemOrReference
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_StepDimTol_DatumSystemOrReference
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_StepDimTol_DatumSystemOrReference): NCollection_Array1_StepDimTol_DatumSystemOrReference
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepDimTol_DatumSystemOrReferenceParameters (2)
theLowertheUpper
- constructor(theBegin: StepDimTol_DatumSystemOrReference, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepDimTol_DatumSystemOrReferenceParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepDimTol_DatumSystemOrReference): 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_StepDimTol_DatumSystemOrReference): NCollection_Array1_StepDimTol_DatumSystemOrReference
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_StepDimTol_DatumSystemOrReference): NCollection_Array1_StepDimTol_DatumSystemOrReference
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_StepDimTol_DatumSystemOrReference): NCollection_Array1_StepDimTol_DatumSystemOrReference
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_DatumSystemOrReference
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepDimTol_DatumSystemOrReference
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepDimTol_DatumSystemOrReference
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepDimTol_DatumSystemOrReference
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepDimTol_DatumSystemOrReference): 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_StepDimTol_GeometricToleranceModifier
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_StepDimTol_GeometricToleranceModifier
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_StepDimTol_GeometricToleranceModifier): NCollection_Array1_StepDimTol_GeometricToleranceModifier
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepDimTol_GeometricToleranceModifierParameters (2)
theLowertheUpper
- constructor(theBegin: StepDimTol_GeometricToleranceModifier, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepDimTol_GeometricToleranceModifierParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepDimTol_GeometricToleranceModifier): 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_StepDimTol_GeometricToleranceModifier): NCollection_Array1_StepDimTol_GeometricToleranceModifier
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_StepDimTol_GeometricToleranceModifier): NCollection_Array1_StepDimTol_GeometricToleranceModifier
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_StepDimTol_GeometricToleranceModifier): NCollection_Array1_StepDimTol_GeometricToleranceModifier
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_GeometricToleranceModifier
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepDimTol_GeometricToleranceModifier
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepDimTol_GeometricToleranceModifier
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepDimTol_GeometricToleranceModifier
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepDimTol_GeometricToleranceModifier): 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_StepDimTol_ToleranceZoneTarget
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_StepDimTol_ToleranceZoneTarget
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_StepDimTol_ToleranceZoneTarget
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepDimTol_ToleranceZoneTargetParameters (2)
theLowertheUpper
- constructor(theBegin: StepDimTol_ToleranceZoneTarget, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepDimTol_ToleranceZoneTargetParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepDimTol_ToleranceZoneTarget): 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): StepDimTol_ToleranceZoneTarget
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepDimTol_ToleranceZoneTarget
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepDimTol_ToleranceZoneTarget
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepDimTol_ToleranceZoneTarget
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepDimTol_ToleranceZoneTarget): 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_StepElement_MeasureOrUnspecifiedValue
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_StepElement_MeasureOrUnspecifiedValue
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_StepElement_MeasureOrUnspecifiedValue): NCollection_Array1_StepElement_MeasureOrUnspecifiedValue
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepElement_MeasureOrUnspecifiedValueParameters (2)
theLowertheUpper
- constructor(theBegin: StepElement_MeasureOrUnspecifiedValue, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepElement_MeasureOrUnspecifiedValueParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepElement_MeasureOrUnspecifiedValue): 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_StepElement_MeasureOrUnspecifiedValue): NCollection_Array1_StepElement_MeasureOrUnspecifiedValue
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_StepElement_MeasureOrUnspecifiedValue): NCollection_Array1_StepElement_MeasureOrUnspecifiedValue
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_StepElement_MeasureOrUnspecifiedValue): NCollection_Array1_StepElement_MeasureOrUnspecifiedValue
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_MeasureOrUnspecifiedValue
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepElement_MeasureOrUnspecifiedValue
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepElement_MeasureOrUnspecifiedValue
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepElement_MeasureOrUnspecifiedValue
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepElement_MeasureOrUnspecifiedValue): 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_StepElement_VolumeElementPurpose
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_StepElement_VolumeElementPurpose
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_StepElement_VolumeElementPurpose): NCollection_Array1_StepElement_VolumeElementPurpose
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepElement_VolumeElementPurposeParameters (2)
theLowertheUpper
- constructor(theBegin: StepElement_VolumeElementPurpose, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepElement_VolumeElementPurposeParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepElement_VolumeElementPurpose): 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_StepElement_VolumeElementPurpose): NCollection_Array1_StepElement_VolumeElementPurpose
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_StepElement_VolumeElementPurpose): NCollection_Array1_StepElement_VolumeElementPurpose
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_StepElement_VolumeElementPurpose): NCollection_Array1_StepElement_VolumeElementPurpose
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_VolumeElementPurpose
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepElement_VolumeElementPurpose
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepElement_VolumeElementPurpose
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepElement_VolumeElementPurpose
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepElement_VolumeElementPurpose): 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_StepFEA_DegreeOfFreedom
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_StepFEA_DegreeOfFreedom
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_StepFEA_DegreeOfFreedom): NCollection_Array1_StepFEA_DegreeOfFreedom
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepFEA_DegreeOfFreedomParameters (2)
theLowertheUpper
- constructor(theBegin: StepFEA_DegreeOfFreedom, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepFEA_DegreeOfFreedomParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepFEA_DegreeOfFreedom): 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_StepFEA_DegreeOfFreedom): NCollection_Array1_StepFEA_DegreeOfFreedom
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_StepFEA_DegreeOfFreedom): NCollection_Array1_StepFEA_DegreeOfFreedom
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_StepFEA_DegreeOfFreedom): NCollection_Array1_StepFEA_DegreeOfFreedom
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_DegreeOfFreedom
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepFEA_DegreeOfFreedom
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepFEA_DegreeOfFreedom
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepFEA_DegreeOfFreedom
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepFEA_DegreeOfFreedom): 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_StepGeom_PcurveOrSurface
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_StepGeom_PcurveOrSurface
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_StepGeom_PcurveOrSurface): NCollection_Array1_StepGeom_PcurveOrSurface
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepGeom_PcurveOrSurfaceParameters (2)
theLowertheUpper
- constructor(theBegin: StepGeom_PcurveOrSurface, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepGeom_PcurveOrSurfaceParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepGeom_PcurveOrSurface): 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_StepGeom_PcurveOrSurface): NCollection_Array1_StepGeom_PcurveOrSurface
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_StepGeom_PcurveOrSurface): NCollection_Array1_StepGeom_PcurveOrSurface
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_StepGeom_PcurveOrSurface): NCollection_Array1_StepGeom_PcurveOrSurface
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_PcurveOrSurface
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepGeom_PcurveOrSurface
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepGeom_PcurveOrSurface
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepGeom_PcurveOrSurface
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepGeom_PcurveOrSurface): 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_StepGeom_SurfaceBoundary
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_StepGeom_SurfaceBoundary
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_StepGeom_SurfaceBoundary): NCollection_Array1_StepGeom_SurfaceBoundary
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepGeom_SurfaceBoundaryParameters (2)
theLowertheUpper
- constructor(theBegin: StepGeom_SurfaceBoundary, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepGeom_SurfaceBoundaryParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepGeom_SurfaceBoundary): 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_StepGeom_SurfaceBoundary): NCollection_Array1_StepGeom_SurfaceBoundary
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_StepGeom_SurfaceBoundary): NCollection_Array1_StepGeom_SurfaceBoundary
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_StepGeom_SurfaceBoundary): NCollection_Array1_StepGeom_SurfaceBoundary
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_SurfaceBoundary
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepGeom_SurfaceBoundary
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepGeom_SurfaceBoundary
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepGeom_SurfaceBoundary
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepGeom_SurfaceBoundary): 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_StepGeom_TrimmingSelect
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_StepGeom_TrimmingSelect
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_StepGeom_TrimmingSelect): NCollection_Array1_StepGeom_TrimmingSelect
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepGeom_TrimmingSelectParameters (2)
theLowertheUpper
- constructor(theBegin: StepGeom_TrimmingSelect, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepGeom_TrimmingSelectParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepGeom_TrimmingSelect): 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_StepGeom_TrimmingSelect): NCollection_Array1_StepGeom_TrimmingSelect
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_StepGeom_TrimmingSelect): NCollection_Array1_StepGeom_TrimmingSelect
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_StepGeom_TrimmingSelect): NCollection_Array1_StepGeom_TrimmingSelect
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_TrimmingSelect
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepGeom_TrimmingSelect
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepGeom_TrimmingSelect
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepGeom_TrimmingSelect
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepGeom_TrimmingSelect): 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_StepShape_GeometricSetSelect
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_StepShape_GeometricSetSelect
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_StepShape_GeometricSetSelect): NCollection_Array1_StepShape_GeometricSetSelect
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepShape_GeometricSetSelectParameters (2)
theLowertheUpper
- constructor(theBegin: StepShape_GeometricSetSelect, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepShape_GeometricSetSelectParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepShape_GeometricSetSelect): 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_StepShape_GeometricSetSelect): NCollection_Array1_StepShape_GeometricSetSelect
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_StepShape_GeometricSetSelect): NCollection_Array1_StepShape_GeometricSetSelect
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_StepShape_GeometricSetSelect): NCollection_Array1_StepShape_GeometricSetSelect
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): StepShape_GeometricSetSelect
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepShape_GeometricSetSelect
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepShape_GeometricSetSelect
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepShape_GeometricSetSelect
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepShape_GeometricSetSelect): 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_StepShape_ShapeDimensionRepresentationItem
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_StepShape_ShapeDimensionRepresentationItem
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_StepShape_ShapeDimensionRepresentationItem): NCollection_Array1_StepShape_ShapeDimensionRepresentationItem
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepShape_ShapeDimensionRepresentationItemParameters (2)
theLowertheUpper
- constructor(theBegin: StepShape_ShapeDimensionRepresentationItem, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepShape_ShapeDimensionRepresentationItemParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepShape_ShapeDimensionRepresentationItem): 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_StepShape_ShapeDimensionRepresentationItem): NCollection_Array1_StepShape_ShapeDimensionRepresentationItem
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_StepShape_ShapeDimensionRepresentationItem): NCollection_Array1_StepShape_ShapeDimensionRepresentationItem
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_StepShape_ShapeDimensionRepresentationItem): NCollection_Array1_StepShape_ShapeDimensionRepresentationItem
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): StepShape_ShapeDimensionRepresentationItem
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepShape_ShapeDimensionRepresentationItem
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepShape_ShapeDimensionRepresentationItem
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepShape_ShapeDimensionRepresentationItem
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepShape_ShapeDimensionRepresentationItem): 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_StepShape_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_StepShape_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
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepShape_ShellParameters (2)
theLowertheUpper
- constructor(theBegin: StepShape_Shell, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepShape_ShellParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepShape_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.
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): StepShape_Shell
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepShape_Shell
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepShape_Shell
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepShape_Shell
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepShape_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_StepShape_ValueQualifier
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_StepShape_ValueQualifier
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_StepShape_ValueQualifier): NCollection_Array1_StepShape_ValueQualifier
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepShape_ValueQualifierParameters (2)
theLowertheUpper
- constructor(theBegin: StepShape_ValueQualifier, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepShape_ValueQualifierParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepShape_ValueQualifier): 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_StepShape_ValueQualifier): NCollection_Array1_StepShape_ValueQualifier
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_StepShape_ValueQualifier): NCollection_Array1_StepShape_ValueQualifier
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_StepShape_ValueQualifier): NCollection_Array1_StepShape_ValueQualifier
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): StepShape_ValueQualifier
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepShape_ValueQualifier
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepShape_ValueQualifier
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepShape_ValueQualifier
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepShape_ValueQualifier): 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_StepVisual_AnnotationPlaneElement
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_StepVisual_AnnotationPlaneElement
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_StepVisual_AnnotationPlaneElement): NCollection_Array1_StepVisual_AnnotationPlaneElement
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepVisual_AnnotationPlaneElementParameters (2)
theLowertheUpper
- constructor(theBegin: StepVisual_AnnotationPlaneElement, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepVisual_AnnotationPlaneElementParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepVisual_AnnotationPlaneElement): 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_StepVisual_AnnotationPlaneElement): NCollection_Array1_StepVisual_AnnotationPlaneElement
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_StepVisual_AnnotationPlaneElement): NCollection_Array1_StepVisual_AnnotationPlaneElement
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_StepVisual_AnnotationPlaneElement): NCollection_Array1_StepVisual_AnnotationPlaneElement
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): StepVisual_AnnotationPlaneElement
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepVisual_AnnotationPlaneElement
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepVisual_AnnotationPlaneElement
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepVisual_AnnotationPlaneElement
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepVisual_AnnotationPlaneElement): 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_StepVisual_BoxCharacteristicSelect
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_StepVisual_BoxCharacteristicSelect
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_StepVisual_BoxCharacteristicSelect): NCollection_Array1_StepVisual_BoxCharacteristicSelect
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepVisual_BoxCharacteristicSelectParameters (2)
theLowertheUpper
- constructor(theBegin: StepVisual_BoxCharacteristicSelect, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepVisual_BoxCharacteristicSelectParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepVisual_BoxCharacteristicSelect): 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_StepVisual_BoxCharacteristicSelect): NCollection_Array1_StepVisual_BoxCharacteristicSelect
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_StepVisual_BoxCharacteristicSelect): NCollection_Array1_StepVisual_BoxCharacteristicSelect
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_StepVisual_BoxCharacteristicSelect): NCollection_Array1_StepVisual_BoxCharacteristicSelect
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): StepVisual_BoxCharacteristicSelect
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepVisual_BoxCharacteristicSelect
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepVisual_BoxCharacteristicSelect
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepVisual_BoxCharacteristicSelect
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepVisual_BoxCharacteristicSelect): 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_StepVisual_CameraModelD3MultiClippingInterectionSelect
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_StepVisual_CameraModelD3MultiClippingInterectionSelect
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_StepVisual_CameraModelD3MultiClippingInterectionSelect): NCollection_Array1_StepVisual_CameraModelD3MultiClippingInterectionSelect
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepVisual_CameraModelD3MultiClippingInterectionSelectParameters (2)
theLowertheUpper
- constructor(theBegin: StepVisual_CameraModelD3MultiClippingInterectionSelect, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepVisual_CameraModelD3MultiClippingInterectionSelectParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepVisual_CameraModelD3MultiClippingInterectionSelect): 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_StepVisual_CameraModelD3MultiClippingInterectionSelect): NCollection_Array1_StepVisual_CameraModelD3MultiClippingInterectionSelect
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_StepVisual_CameraModelD3MultiClippingInterectionSelect): NCollection_Array1_StepVisual_CameraModelD3MultiClippingInterectionSelect
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_StepVisual_CameraModelD3MultiClippingInterectionSelect): NCollection_Array1_StepVisual_CameraModelD3MultiClippingInterectionSelect
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): StepVisual_CameraModelD3MultiClippingInterectionSelect
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepVisual_CameraModelD3MultiClippingInterectionSelect
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepVisual_CameraModelD3MultiClippingInterectionSelect
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepVisual_CameraModelD3MultiClippingInterectionSelect
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepVisual_CameraModelD3MultiClippingInterectionSelect): 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_StepVisual_CameraModelD3MultiClippingUnionSelect
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_StepVisual_CameraModelD3MultiClippingUnionSelect): NCollection_Array1_StepVisual_CameraModelD3MultiClippingUnionSelect
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepVisual_CameraModelD3MultiClippingUnionSelectParameters (2)
theLowertheUpper
- constructor(theBegin: StepVisual_CameraModelD3MultiClippingUnionSelect, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepVisual_CameraModelD3MultiClippingUnionSelectParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepVisual_CameraModelD3MultiClippingUnionSelect): 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_StepVisual_CameraModelD3MultiClippingUnionSelect): NCollection_Array1_StepVisual_CameraModelD3MultiClippingUnionSelect
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_StepVisual_CameraModelD3MultiClippingUnionSelect): NCollection_Array1_StepVisual_CameraModelD3MultiClippingUnionSelect
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_StepVisual_CameraModelD3MultiClippingUnionSelect): NCollection_Array1_StepVisual_CameraModelD3MultiClippingUnionSelect
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): StepVisual_CameraModelD3MultiClippingUnionSelect
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepVisual_CameraModelD3MultiClippingUnionSelect
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepVisual_CameraModelD3MultiClippingUnionSelect
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepVisual_CameraModelD3MultiClippingUnionSelect
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepVisual_CameraModelD3MultiClippingUnionSelect): 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_StepVisual_DirectionCountSelect
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_StepVisual_DirectionCountSelect
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_StepVisual_DirectionCountSelect): NCollection_Array1_StepVisual_DirectionCountSelect
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepVisual_DirectionCountSelectParameters (2)
theLowertheUpper
- constructor(theBegin: StepVisual_DirectionCountSelect, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepVisual_DirectionCountSelectParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepVisual_DirectionCountSelect): 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_StepVisual_DirectionCountSelect): NCollection_Array1_StepVisual_DirectionCountSelect
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_StepVisual_DirectionCountSelect): NCollection_Array1_StepVisual_DirectionCountSelect
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_StepVisual_DirectionCountSelect): NCollection_Array1_StepVisual_DirectionCountSelect
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): StepVisual_DirectionCountSelect
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepVisual_DirectionCountSelect
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepVisual_DirectionCountSelect
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepVisual_DirectionCountSelect
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepVisual_DirectionCountSelect): 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_StepVisual_DraughtingCalloutElement
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_StepVisual_DraughtingCalloutElement
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_StepVisual_DraughtingCalloutElement): NCollection_Array1_StepVisual_DraughtingCalloutElement
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepVisual_DraughtingCalloutElementParameters (2)
theLowertheUpper
- constructor(theBegin: StepVisual_DraughtingCalloutElement, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepVisual_DraughtingCalloutElementParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepVisual_DraughtingCalloutElement): 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_StepVisual_DraughtingCalloutElement): NCollection_Array1_StepVisual_DraughtingCalloutElement
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_StepVisual_DraughtingCalloutElement): NCollection_Array1_StepVisual_DraughtingCalloutElement
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_StepVisual_DraughtingCalloutElement): NCollection_Array1_StepVisual_DraughtingCalloutElement
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): StepVisual_DraughtingCalloutElement
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepVisual_DraughtingCalloutElement
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepVisual_DraughtingCalloutElement
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepVisual_DraughtingCalloutElement
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepVisual_DraughtingCalloutElement): 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_StepVisual_FillStyleSelect
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_StepVisual_FillStyleSelect
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_StepVisual_FillStyleSelect): NCollection_Array1_StepVisual_FillStyleSelect
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepVisual_FillStyleSelectParameters (2)
theLowertheUpper
- constructor(theBegin: StepVisual_FillStyleSelect, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepVisual_FillStyleSelectParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepVisual_FillStyleSelect): 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_StepVisual_FillStyleSelect): NCollection_Array1_StepVisual_FillStyleSelect
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_StepVisual_FillStyleSelect): NCollection_Array1_StepVisual_FillStyleSelect
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_StepVisual_FillStyleSelect): NCollection_Array1_StepVisual_FillStyleSelect
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): StepVisual_FillStyleSelect
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepVisual_FillStyleSelect
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepVisual_FillStyleSelect
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepVisual_FillStyleSelect
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepVisual_FillStyleSelect): 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_StepVisual_InvisibleItem
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_StepVisual_InvisibleItem
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_StepVisual_InvisibleItem): NCollection_Array1_StepVisual_InvisibleItem
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepVisual_InvisibleItemParameters (2)
theLowertheUpper
- constructor(theBegin: StepVisual_InvisibleItem, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepVisual_InvisibleItemParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepVisual_InvisibleItem): 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_StepVisual_InvisibleItem): NCollection_Array1_StepVisual_InvisibleItem
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_StepVisual_InvisibleItem): NCollection_Array1_StepVisual_InvisibleItem
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_StepVisual_InvisibleItem): NCollection_Array1_StepVisual_InvisibleItem
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): StepVisual_InvisibleItem
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepVisual_InvisibleItem
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepVisual_InvisibleItem
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepVisual_InvisibleItem
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepVisual_InvisibleItem): 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_StepVisual_LayeredItem
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_StepVisual_LayeredItem
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_StepVisual_LayeredItem): NCollection_Array1_StepVisual_LayeredItem
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepVisual_LayeredItemParameters (2)
theLowertheUpper
- constructor(theBegin: StepVisual_LayeredItem, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepVisual_LayeredItemParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepVisual_LayeredItem): 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_StepVisual_LayeredItem): NCollection_Array1_StepVisual_LayeredItem
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_StepVisual_LayeredItem): NCollection_Array1_StepVisual_LayeredItem
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_StepVisual_LayeredItem): NCollection_Array1_StepVisual_LayeredItem
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): StepVisual_LayeredItem
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepVisual_LayeredItem
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepVisual_LayeredItem
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepVisual_LayeredItem
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepVisual_LayeredItem): 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_StepVisual_PresentationStyleSelect
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_StepVisual_PresentationStyleSelect
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_StepVisual_PresentationStyleSelect): NCollection_Array1_StepVisual_PresentationStyleSelect
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepVisual_PresentationStyleSelectParameters (2)
theLowertheUpper
- constructor(theBegin: StepVisual_PresentationStyleSelect, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepVisual_PresentationStyleSelectParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepVisual_PresentationStyleSelect): 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_StepVisual_PresentationStyleSelect): NCollection_Array1_StepVisual_PresentationStyleSelect
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_StepVisual_PresentationStyleSelect): NCollection_Array1_StepVisual_PresentationStyleSelect
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_StepVisual_PresentationStyleSelect): NCollection_Array1_StepVisual_PresentationStyleSelect
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): StepVisual_PresentationStyleSelect
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepVisual_PresentationStyleSelect
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepVisual_PresentationStyleSelect
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepVisual_PresentationStyleSelect
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepVisual_PresentationStyleSelect): 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_StepVisual_RenderingPropertiesSelect
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_StepVisual_RenderingPropertiesSelect
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_StepVisual_RenderingPropertiesSelect): NCollection_Array1_StepVisual_RenderingPropertiesSelect
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepVisual_RenderingPropertiesSelectParameters (2)
theLowertheUpper
- constructor(theBegin: StepVisual_RenderingPropertiesSelect, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepVisual_RenderingPropertiesSelectParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepVisual_RenderingPropertiesSelect): 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_StepVisual_RenderingPropertiesSelect): NCollection_Array1_StepVisual_RenderingPropertiesSelect
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_StepVisual_RenderingPropertiesSelect): NCollection_Array1_StepVisual_RenderingPropertiesSelect
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_StepVisual_RenderingPropertiesSelect): NCollection_Array1_StepVisual_RenderingPropertiesSelect
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): StepVisual_RenderingPropertiesSelect
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepVisual_RenderingPropertiesSelect
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepVisual_RenderingPropertiesSelect
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepVisual_RenderingPropertiesSelect
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepVisual_RenderingPropertiesSelect): 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_StepVisual_StyleContextSelect
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_StepVisual_StyleContextSelect
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_StepVisual_StyleContextSelect): NCollection_Array1_StepVisual_StyleContextSelect
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepVisual_StyleContextSelectParameters (2)
theLowertheUpper
- constructor(theBegin: StepVisual_StyleContextSelect, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepVisual_StyleContextSelectParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepVisual_StyleContextSelect): 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_StepVisual_StyleContextSelect): NCollection_Array1_StepVisual_StyleContextSelect
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_StepVisual_StyleContextSelect): NCollection_Array1_StepVisual_StyleContextSelect
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_StepVisual_StyleContextSelect): NCollection_Array1_StepVisual_StyleContextSelect
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): StepVisual_StyleContextSelect
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepVisual_StyleContextSelect
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepVisual_StyleContextSelect
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepVisual_StyleContextSelect
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepVisual_StyleContextSelect): 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_StepVisual_SurfaceStyleElementSelect
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_StepVisual_SurfaceStyleElementSelect
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_StepVisual_SurfaceStyleElementSelect): NCollection_Array1_StepVisual_SurfaceStyleElementSelect
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepVisual_SurfaceStyleElementSelectParameters (2)
theLowertheUpper
- constructor(theBegin: StepVisual_SurfaceStyleElementSelect, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepVisual_SurfaceStyleElementSelectParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepVisual_SurfaceStyleElementSelect): 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_StepVisual_SurfaceStyleElementSelect): NCollection_Array1_StepVisual_SurfaceStyleElementSelect
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_StepVisual_SurfaceStyleElementSelect): NCollection_Array1_StepVisual_SurfaceStyleElementSelect
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_StepVisual_SurfaceStyleElementSelect): NCollection_Array1_StepVisual_SurfaceStyleElementSelect
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): StepVisual_SurfaceStyleElementSelect
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepVisual_SurfaceStyleElementSelect
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepVisual_SurfaceStyleElementSelect
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepVisual_SurfaceStyleElementSelect
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepVisual_SurfaceStyleElementSelect): 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_StepVisual_TessellatedEdgeOrVertex
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_StepVisual_TessellatedEdgeOrVertex
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_StepVisual_TessellatedEdgeOrVertex): NCollection_Array1_StepVisual_TessellatedEdgeOrVertex
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepVisual_TessellatedEdgeOrVertexParameters (2)
theLowertheUpper
- constructor(theBegin: StepVisual_TessellatedEdgeOrVertex, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepVisual_TessellatedEdgeOrVertexParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepVisual_TessellatedEdgeOrVertex): 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_StepVisual_TessellatedEdgeOrVertex): NCollection_Array1_StepVisual_TessellatedEdgeOrVertex
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_StepVisual_TessellatedEdgeOrVertex): NCollection_Array1_StepVisual_TessellatedEdgeOrVertex
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_StepVisual_TessellatedEdgeOrVertex): NCollection_Array1_StepVisual_TessellatedEdgeOrVertex
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): StepVisual_TessellatedEdgeOrVertex
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepVisual_TessellatedEdgeOrVertex
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepVisual_TessellatedEdgeOrVertex
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepVisual_TessellatedEdgeOrVertex
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepVisual_TessellatedEdgeOrVertex): 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_StepVisual_TextOrCharacter
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_StepVisual_TextOrCharacter
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_StepVisual_TextOrCharacter): NCollection_Array1_StepVisual_TextOrCharacter
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_StepVisual_TextOrCharacterParameters (2)
theLowertheUpper
- constructor(theBegin: StepVisual_TextOrCharacter, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_StepVisual_TextOrCharacterParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: StepVisual_TextOrCharacter): 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_StepVisual_TextOrCharacter): NCollection_Array1_StepVisual_TextOrCharacter
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_StepVisual_TextOrCharacter): NCollection_Array1_StepVisual_TextOrCharacter
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_StepVisual_TextOrCharacter): NCollection_Array1_StepVisual_TextOrCharacter
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): StepVisual_TextOrCharacter
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): StepVisual_TextOrCharacter
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): StepVisual_TextOrCharacter
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): StepVisual_TextOrCharacter
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: StepVisual_TextOrCharacter): 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_TCollection_AsciiString
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_TCollection_AsciiString
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_TCollection_AsciiString): NCollection_Array1_TCollection_AsciiString
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_TCollection_AsciiStringParameters (2)
theLowertheUpper
- constructor(theBegin: TCollection_AsciiString, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_TCollection_AsciiStringParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: TCollection_AsciiString): 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_TCollection_AsciiString): NCollection_Array1_TCollection_AsciiString
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_TCollection_AsciiString): NCollection_Array1_TCollection_AsciiString
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_TCollection_AsciiString): NCollection_Array1_TCollection_AsciiString
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): TCollection_AsciiString
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): TCollection_AsciiString
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): TCollection_AsciiString
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): TCollection_AsciiString
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: TCollection_AsciiString): 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