Generated
OCCT package Generated:…
Extrema_GGExtPC_Adaptor2d_Curve2d_Extrema_Curve2dTool_Extrema_ExtPElC2d_gp_Pnt2d_gp_Vec2d_Extrema_POnCurv2d_NCollection_Sequence_Extrema_POnCurv2d_Extrema_GGenExtPC_Adaptor2d_Curve2d_255e67ef2564152f
Generic class for computing extremal distances between a point and a curve.
This template class provides comprehensive extremum search functionality, handling different curve types (lines, circles, ellipses, parabolas, hyperbolas, Bezier, BSpline, and general curves) with optimized algorithms.
Constructors(3)
- constructor(): Extrema_GGExtPC_Adaptor2d_Curve2d_Extrema_Curve2dTool_Extrema_ExtPElC2d_gp_Pnt2d_gp_Vec2d_Extrema_POnCurv2d_NCollection_Sequence_Extrema_POnCurv2d_Extrema_GGenExtPC_Adaptor2d_Curve2d_255e67ef2564152f
Default constructor.
- constructor(theP: gp_Pnt2d, theC: Adaptor2d_Curve2d, theTolF?: number): Extrema_GGExtPC_Adaptor2d_Curve2d_Extrema_Curve2dTool_Extrema_ExtPElC2d_gp_Pnt2d_gp_Vec2d_Extrema_POnCurv2d_NCollection_Sequence_Extrema_POnCurv2d_Extrema_GGenExtPC_Adaptor2d_Curve2d_255e67ef2564152f
Calculates all extremum distances between point P and curve C using the full curve parameter range.
Parameters (3)theP—The pointtheC—The curvetheTolF—Tolerance on function value (default 1.0e-10)
- constructor(theP: gp_Pnt2d, theC: Adaptor2d_Curve2d, theUinf: number, theUsup: number, theTolF?: number): Extrema_GGExtPC_Adaptor2d_Curve2d_Extrema_Curve2dTool_Extrema_ExtPElC2d_gp_Pnt2d_gp_Vec2d_Extrema_POnCurv2d_NCollection_Sequence_Extrema_POnCurv2d_Extrema_GGenExtPC_Adaptor2d_Curve2d_255e67ef2564152f
Calculates all extremum distances between point P and curve C within the specified parameter range.
Parameters (5)theP—The pointtheC—The curvetheUinf—Lower bound of parameter rangetheUsup—Upper bound of parameter rangetheTolF—Tolerance on function value (default 1.0e-10)
Instance methods(8)
- Initialize(theC: Adaptor2d_Curve2d, theUinf: number, theUsup: number, theTolF?: number): void
Initializes the algorithm with curve and parameter range.
Parameters (4)theC—The curvetheUinf—Lower bound of parameter rangetheUsup—Upper bound of parameter rangetheTolF—Tolerance on function value (default 1.0e-10)
Performs the extremum computation for the given point.
Parameters (1)theP—The point to find extrema from
- IsDone(): boolean
Returns true if the distances are found.
- SquareDistance(theN: number): number
Returns the Nth extremum square distance.
Parameters (1)theN—Index of the extremum (1-based)
ReturnsSquare distance value
- NbExt(): number
Returns the number of extremum distances.
ReturnsNumber of extrema found
- IsMin(theN: number): boolean
Returns true if the Nth extremum distance is a minimum.
Parameters (1)theN—Index of the extremum (1-based)
Returnstrue if minimum, false if maximum
- Point(theN: number): Extrema_POnCurv2d
Returns the point of the Nth extremum distance.
Parameters (1)theN—Index of the extremum (1-based)
ReturnsThe point on curve
- TrimmedSquareDistances(theDist1: number, theDist2: number, theP1: gp_Pnt2d, theP2: gp_Pnt2d): { theDist1: number; theDist2: number }
Returns the distances at curve endpoints.
Parameters (4)theDist1—Square distance to first pointtheDist2—Square distance to last pointtheP1—First point on curvetheP2—Last point on curve
ReturnsA result object with fields:
theDist1: Square distance to first pointtheDist2: Square distance to last point
Extrema_GGExtPC_Adaptor3d_Curve_Extrema_CurveTool_Extrema_ExtPElC_gp_Pnt_gp_Vec_Extrema_POnCurv_NCollection_Sequence_Extrema_POnCurv_Extrema_GGenExtPC_Adaptor3d_Curve_Extrema_CurveToo_9726d4281525f8db
Generic class for computing extremal distances between a point and a curve.
This template class provides comprehensive extremum search functionality, handling different curve types (lines, circles, ellipses, parabolas, hyperbolas, Bezier, BSpline, and general curves) with optimized algorithms.
Constructors(3)
- constructor(): Extrema_GGExtPC_Adaptor3d_Curve_Extrema_CurveTool_Extrema_ExtPElC_gp_Pnt_gp_Vec_Extrema_POnCurv_NCollection_Sequence_Extrema_POnCurv_Extrema_GGenExtPC_Adaptor3d_Curve_Extrema_CurveToo_9726d4281525f8db
Default constructor.
- constructor(theP: gp_Pnt, theC: Adaptor3d_Curve, theTolF?: number): Extrema_GGExtPC_Adaptor3d_Curve_Extrema_CurveTool_Extrema_ExtPElC_gp_Pnt_gp_Vec_Extrema_POnCurv_NCollection_Sequence_Extrema_POnCurv_Extrema_GGenExtPC_Adaptor3d_Curve_Extrema_CurveToo_9726d4281525f8db
Calculates all extremum distances between point P and curve C using the full curve parameter range.
Parameters (3)theP—The pointtheC—The curvetheTolF—Tolerance on function value (default 1.0e-10)
- constructor(theP: gp_Pnt, theC: Adaptor3d_Curve, theUinf: number, theUsup: number, theTolF?: number): Extrema_GGExtPC_Adaptor3d_Curve_Extrema_CurveTool_Extrema_ExtPElC_gp_Pnt_gp_Vec_Extrema_POnCurv_NCollection_Sequence_Extrema_POnCurv_Extrema_GGenExtPC_Adaptor3d_Curve_Extrema_CurveToo_9726d4281525f8db
Calculates all extremum distances between point P and curve C within the specified parameter range.
Parameters (5)theP—The pointtheC—The curvetheUinf—Lower bound of parameter rangetheUsup—Upper bound of parameter rangetheTolF—Tolerance on function value (default 1.0e-10)
Instance methods(8)
- Initialize(theC: Adaptor3d_Curve, theUinf: number, theUsup: number, theTolF?: number): void
Initializes the algorithm with curve and parameter range.
Parameters (4)theC—The curvetheUinf—Lower bound of parameter rangetheUsup—Upper bound of parameter rangetheTolF—Tolerance on function value (default 1.0e-10)
Performs the extremum computation for the given point.
Parameters (1)theP—The point to find extrema from
- IsDone(): boolean
Returns true if the distances are found.
- SquareDistance(theN: number): number
Returns the Nth extremum square distance.
Parameters (1)theN—Index of the extremum (1-based)
ReturnsSquare distance value
- NbExt(): number
Returns the number of extremum distances.
ReturnsNumber of extrema found
- IsMin(theN: number): boolean
Returns true if the Nth extremum distance is a minimum.
Parameters (1)theN—Index of the extremum (1-based)
Returnstrue if minimum, false if maximum
- Point(theN: number): Extrema_POnCurv
Returns the point of the Nth extremum distance.
Parameters (1)theN—Index of the extremum (1-based)
ReturnsThe point on curve
- TrimmedSquareDistances(theDist1: number, theDist2: number, theP1: gp_Pnt, theP2: gp_Pnt): { theDist1: number; theDist2: number }
Returns the distances at curve endpoints.
Parameters (4)theDist1—Square distance to first pointtheDist2—Square distance to last pointtheP1—First point on curvetheP2—Last point on curve
ReturnsA result object with fields:
theDist1: Square distance to first pointtheDist2: Square distance to last point
IntPolyh_Array_IntPolyh_Edge
Class IntPolyh_Array (dynamic array of objects)
- The Array is dynamic array of objects.
- The Array uses
NCollection_DynamicArrayto store objects - The Array can be created: 3.1. with initial length Nb=0. In this case Array should be initiated by invoke the method Init(Nb). 3.2. with initial length Nb>0. In this case Array is initiated automatically. The memory is allocated to store myNbAllocated oblects.
- The number of items that are stored in the Array (myNbItems) can be increased by calling the method:
IncrementNbItems(). The objects are stored in already allocated memory if it is possible. Otherwise the new chunk of memory is allocated to store the objects. The size of chunk <aIncrement> can be defined during the creation of the Array. - The start index of the Array is 0, The end index of the Array can be obtained by the method
NbItems(); - The contents of the element with index "i" can be queried or modified by the methods: Value(i), ChangeValue(i), operator [blocked]
Constructors(2)
- constructor(aIncrement?: number): IntPolyh_Array_IntPolyh_Edge
Constructor.
Parameters (1)aIncrement—size of memory (in terms of Items) to expand the array
- constructor(aN: number, aIncrement?: number): IntPolyh_Array_IntPolyh_Edge
Constructor.
Parameters (2)aN—size of memory (in terms of Items) to allocateaIncrement—size of memory (in terms of Items) to expand the array
Instance methods(9)
Copy
Parameters (1)aOther—- the array to copy from
Returnsthe array
- Init(aN: number): void
Init - allocate memory for <aN> items
Parameters (1)aN—- the number of items to allocate the memory
- IncrementNbItems(): void
IncrementNbItems - increment the number of stored items
- GetN(): number
GetN - returns the number of 'allocated' items
Returnsthe number of 'allocated' items
- NbItems(): number
NbItems - returns the number of stored items
Returnsthe number of stored items
- SetNbItems(aNb: number): void
set the number of stored items
Parameters (1)aNb—the number of stored items
- Value(aIndex: number): IntPolyh_Edge
query the const value
Parameters (1)aIndex—index
Returnsthe const item
- ChangeValue(aIndex: number): IntPolyh_Edge
query the value
Parameters (1)aIndex—index
Returnsthe item
- Dump(): void
dump the contents
IntPolyh_Array_IntPolyh_Point
Class IntPolyh_Array (dynamic array of objects)
- The Array is dynamic array of objects.
- The Array uses
NCollection_DynamicArrayto store objects - The Array can be created: 3.1. with initial length Nb=0. In this case Array should be initiated by invoke the method Init(Nb). 3.2. with initial length Nb>0. In this case Array is initiated automatically. The memory is allocated to store myNbAllocated oblects.
- The number of items that are stored in the Array (myNbItems) can be increased by calling the method:
IncrementNbItems(). The objects are stored in already allocated memory if it is possible. Otherwise the new chunk of memory is allocated to store the objects. The size of chunk <aIncrement> can be defined during the creation of the Array. - The start index of the Array is 0, The end index of the Array can be obtained by the method
NbItems(); - The contents of the element with index "i" can be queried or modified by the methods: Value(i), ChangeValue(i), operator [blocked]
Constructors(2)
- constructor(aIncrement?: number): IntPolyh_Array_IntPolyh_Point
Constructor.
Parameters (1)aIncrement—size of memory (in terms of Items) to expand the array
- constructor(aN: number, aIncrement?: number): IntPolyh_Array_IntPolyh_Point
Constructor.
Parameters (2)aN—size of memory (in terms of Items) to allocateaIncrement—size of memory (in terms of Items) to expand the array
Instance methods(9)
- Copy(aOther: unknown): unknown
Copy
Parameters (1)aOther—- the array to copy from
Returnsthe array
- Init(aN: number): void
Init - allocate memory for <aN> items
Parameters (1)aN—- the number of items to allocate the memory
- IncrementNbItems(): void
IncrementNbItems - increment the number of stored items
- GetN(): number
GetN - returns the number of 'allocated' items
Returnsthe number of 'allocated' items
- NbItems(): number
NbItems - returns the number of stored items
Returnsthe number of stored items
- SetNbItems(aNb: number): void
set the number of stored items
Parameters (1)aNb—the number of stored items
- Value(aIndex: number): IntPolyh_Point
query the const value
Parameters (1)aIndex—index
Returnsthe const item
- ChangeValue(aIndex: number): IntPolyh_Point
query the value
Parameters (1)aIndex—index
Returnsthe item
- Dump(): void
dump the contents
IntPolyh_Array_IntPolyh_PointNormal
Class IntPolyh_Array (dynamic array of objects)
- The Array is dynamic array of objects.
- The Array uses
NCollection_DynamicArrayto store objects - The Array can be created: 3.1. with initial length Nb=0. In this case Array should be initiated by invoke the method Init(Nb). 3.2. with initial length Nb>0. In this case Array is initiated automatically. The memory is allocated to store myNbAllocated oblects.
- The number of items that are stored in the Array (myNbItems) can be increased by calling the method:
IncrementNbItems(). The objects are stored in already allocated memory if it is possible. Otherwise the new chunk of memory is allocated to store the objects. The size of chunk <aIncrement> can be defined during the creation of the Array. - The start index of the Array is 0, The end index of the Array can be obtained by the method
NbItems(); - The contents of the element with index "i" can be queried or modified by the methods: Value(i), ChangeValue(i), operator [blocked]
Constructors(2)
- constructor(aIncrement?: number): IntPolyh_Array_IntPolyh_PointNormal
Constructor.
Parameters (1)aIncrement—size of memory (in terms of Items) to expand the array
- constructor(aN: number, aIncrement?: number): IntPolyh_Array_IntPolyh_PointNormal
Constructor.
Parameters (2)aN—size of memory (in terms of Items) to allocateaIncrement—size of memory (in terms of Items) to expand the array
Instance methods(9)
- Copy(aOther: unknown): unknown
Copy
Parameters (1)aOther—- the array to copy from
Returnsthe array
- Init(aN: number): void
Init - allocate memory for <aN> items
Parameters (1)aN—- the number of items to allocate the memory
- IncrementNbItems(): void
IncrementNbItems - increment the number of stored items
- GetN(): number
GetN - returns the number of 'allocated' items
Returnsthe number of 'allocated' items
- NbItems(): number
NbItems - returns the number of stored items
Returnsthe number of stored items
- SetNbItems(aNb: number): void
set the number of stored items
Parameters (1)aNb—the number of stored items
- Value(aIndex: number): IntPolyh_PointNormal
query the const value
Parameters (1)aIndex—index
Returnsthe const item
- ChangeValue(aIndex: number): IntPolyh_PointNormal
query the value
Parameters (1)aIndex—index
Returnsthe item
- Dump(): void
dump the contents
IntPolyh_Array_IntPolyh_Triangle
Class IntPolyh_Array (dynamic array of objects)
- The Array is dynamic array of objects.
- The Array uses
NCollection_DynamicArrayto store objects - The Array can be created: 3.1. with initial length Nb=0. In this case Array should be initiated by invoke the method Init(Nb). 3.2. with initial length Nb>0. In this case Array is initiated automatically. The memory is allocated to store myNbAllocated oblects.
- The number of items that are stored in the Array (myNbItems) can be increased by calling the method:
IncrementNbItems(). The objects are stored in already allocated memory if it is possible. Otherwise the new chunk of memory is allocated to store the objects. The size of chunk <aIncrement> can be defined during the creation of the Array. - The start index of the Array is 0, The end index of the Array can be obtained by the method
NbItems(); - The contents of the element with index "i" can be queried or modified by the methods: Value(i), ChangeValue(i), operator [blocked]
Constructors(2)
- constructor(aIncrement?: number): IntPolyh_Array_IntPolyh_Triangle
Constructor.
Parameters (1)aIncrement—size of memory (in terms of Items) to expand the array
- constructor(aN: number, aIncrement?: number): IntPolyh_Array_IntPolyh_Triangle
Constructor.
Parameters (2)aN—size of memory (in terms of Items) to allocateaIncrement—size of memory (in terms of Items) to expand the array
Instance methods(9)
Copy
Parameters (1)aOther—- the array to copy from
Returnsthe array
- Init(aN: number): void
Init - allocate memory for <aN> items
Parameters (1)aN—- the number of items to allocate the memory
- IncrementNbItems(): void
IncrementNbItems - increment the number of stored items
- GetN(): number
GetN - returns the number of 'allocated' items
Returnsthe number of 'allocated' items
- NbItems(): number
NbItems - returns the number of stored items
Returnsthe number of stored items
- SetNbItems(aNb: number): void
set the number of stored items
Parameters (1)aNb—the number of stored items
- Value(aIndex: number): IntPolyh_Triangle
query the const value
Parameters (1)aIndex—index
Returnsthe const item
- ChangeValue(aIndex: number): IntPolyh_Triangle
query the value
Parameters (1)aIndex—index
Returnsthe item
- Dump(): void
dump the contents
NCollection_Array1_AppParCurves_ConstraintCouple
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(6)
- constructor(theSize: number): NCollection_Array1_AppParCurves_ConstraintCouple
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_AppParCurves_ConstraintCouple): NCollection_Array1_AppParCurves_ConstraintCouple
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_AppParCurves_ConstraintCoupleParameters (2)
theLowertheUpper
- constructor(theBegin: AppParCurves_ConstraintCouple, theSize: number, theUseBuffer: boolean): NCollection_Array1_AppParCurves_ConstraintCouple
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- constructor(theBegin: AppParCurves_ConstraintCouple, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_AppParCurves_ConstraintCoupleParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: AppParCurves_ConstraintCouple): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_AppParCurves_ConstraintCouple): NCollection_Array1_AppParCurves_ConstraintCouple
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_AppParCurves_ConstraintCouple): NCollection_Array1_AppParCurves_ConstraintCouple
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_AppParCurves_ConstraintCouple): NCollection_Array1_AppParCurves_ConstraintCouple
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): AppParCurves_ConstraintCouple
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): AppParCurves_ConstraintCouple
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): AppParCurves_ConstraintCouple
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): AppParCurves_ConstraintCouple
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: AppParCurves_ConstraintCouple): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_AppParCurves_MultiBSpCurve
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(6)
- constructor(theSize: number): NCollection_Array1_AppParCurves_MultiBSpCurve
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_AppParCurves_MultiBSpCurve): NCollection_Array1_AppParCurves_MultiBSpCurve
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_AppParCurves_MultiBSpCurveParameters (2)
theLowertheUpper
- constructor(theBegin: AppParCurves_MultiBSpCurve, theSize: number, theUseBuffer: boolean): NCollection_Array1_AppParCurves_MultiBSpCurve
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- constructor(theBegin: AppParCurves_MultiBSpCurve, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_AppParCurves_MultiBSpCurveParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: AppParCurves_MultiBSpCurve): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_AppParCurves_MultiBSpCurve): NCollection_Array1_AppParCurves_MultiBSpCurve
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_AppParCurves_MultiBSpCurve): NCollection_Array1_AppParCurves_MultiBSpCurve
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_AppParCurves_MultiBSpCurve): NCollection_Array1_AppParCurves_MultiBSpCurve
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): AppParCurves_MultiBSpCurve
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): AppParCurves_MultiBSpCurve
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): AppParCurves_MultiBSpCurve
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): AppParCurves_MultiBSpCurve
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: AppParCurves_MultiBSpCurve): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_AppParCurves_MultiCurve
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(6)
- constructor(theSize: number): NCollection_Array1_AppParCurves_MultiCurve
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: NCollection_Array1_AppParCurves_MultiCurve): NCollection_Array1_AppParCurves_MultiCurve
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_AppParCurves_MultiCurveParameters (2)
theLowertheUpper
- constructor(theBegin: AppParCurves_MultiCurve, theSize: number, theUseBuffer: boolean): NCollection_Array1_AppParCurves_MultiCurve
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- constructor(theBegin: AppParCurves_MultiCurve, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_AppParCurves_MultiCurveParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: AppParCurves_MultiCurve): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: NCollection_Array1_AppParCurves_MultiCurve): NCollection_Array1_AppParCurves_MultiCurve
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: NCollection_Array1_AppParCurves_MultiCurve): NCollection_Array1_AppParCurves_MultiCurve
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_AppParCurves_MultiCurve): NCollection_Array1_AppParCurves_MultiCurve
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): AppParCurves_MultiCurve
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): AppParCurves_MultiCurve
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): AppParCurves_MultiCurve
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): AppParCurves_MultiCurve
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: AppParCurves_MultiCurve): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_AppParCurves_MultiPoint
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(6)
- constructor(theSize: number): NCollection_Array1_AppParCurves_MultiPoint
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
- constructor(theOther: unknown): NCollection_Array1_AppParCurves_MultiPoint
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_AppParCurves_MultiPointParameters (2)
theLowertheUpper
- constructor(theBegin: AppParCurves_MultiPoint, theSize: number, theUseBuffer: boolean): NCollection_Array1_AppParCurves_MultiPoint
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- constructor(theBegin: AppParCurves_MultiPoint, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_AppParCurves_MultiPointParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: AppParCurves_MultiPoint): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
- Assign(theOther: unknown): unknown
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
- CopyValues(theOther: unknown): unknown
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: unknown): unknown
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): AppParCurves_MultiPoint
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): AppParCurves_MultiPoint
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): AppParCurves_MultiPoint
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): AppParCurves_MultiPoint
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: AppParCurves_MultiPoint): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_BOPDS_Pave
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(6)
- constructor(theSize: number): NCollection_Array1_BOPDS_Pave
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_BOPDS_PaveParameters (2)
theLowertheUpper
- constructor(theBegin: BOPDS_Pave, theSize: number, theUseBuffer: boolean): NCollection_Array1_BOPDS_Pave
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- constructor(theBegin: BOPDS_Pave, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_BOPDS_PaveParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: BOPDS_Pave): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- First(): BOPDS_PaveReturns
first element
- Returns
first element
- Last(): BOPDS_PaveReturns
last element
- Returns
last element
- Value(theIndex: number): BOPDS_Pave
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): BOPDS_Pave
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): BOPDS_Pave
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): BOPDS_Pave
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: BOPDS_Pave): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_BRepAdaptor_Curve
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(6)
- constructor(theSize: number): NCollection_Array1_BRepAdaptor_Curve
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_BRepAdaptor_CurveParameters (2)
theLowertheUpper
- constructor(theBegin: BRepAdaptor_Curve, theSize: number, theUseBuffer: boolean): NCollection_Array1_BRepAdaptor_Curve
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- constructor(theBegin: BRepAdaptor_Curve, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_BRepAdaptor_CurveParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: BRepAdaptor_Curve): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): BRepAdaptor_Curve
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): BRepAdaptor_Curve
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): BRepAdaptor_Curve
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): BRepAdaptor_Curve
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: BRepAdaptor_Curve): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_BRepGraph_ChildRefId
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(6)
- constructor(theSize: number): NCollection_Array1_BRepGraph_ChildRefId
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_BRepGraph_ChildRefId): NCollection_Array1_BRepGraph_ChildRefId
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_BRepGraph_ChildRefIdParameters (2)
theLowertheUpper
- constructor(theBegin: BRepGraph_ChildRefId, theSize: number, theUseBuffer: boolean): NCollection_Array1_BRepGraph_ChildRefId
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- constructor(theBegin: BRepGraph_ChildRefId, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_BRepGraph_ChildRefIdParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: BRepGraph_ChildRefId): 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_BRepGraph_ChildRefId): NCollection_Array1_BRepGraph_ChildRefId
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): BRepGraph_ChildRefId
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): BRepGraph_ChildRefId
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): BRepGraph_ChildRefId
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): BRepGraph_ChildRefId
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: BRepGraph_ChildRefId): 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_BRepGraph_CoEdgeId
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(6)
- constructor(theSize: number): NCollection_Array1_BRepGraph_CoEdgeId
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_BRepGraph_CoEdgeIdParameters (2)
theLowertheUpper
- constructor(theBegin: BRepGraph_CoEdgeId, theSize: number, theUseBuffer: boolean): NCollection_Array1_BRepGraph_CoEdgeId
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- constructor(theBegin: BRepGraph_CoEdgeId, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_BRepGraph_CoEdgeIdParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: BRepGraph_CoEdgeId): 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): BRepGraph_CoEdgeId
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): BRepGraph_CoEdgeId
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): BRepGraph_CoEdgeId
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): BRepGraph_CoEdgeId
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: BRepGraph_CoEdgeId): 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_BRepGraph_FaceRefId
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(6)
- constructor(theSize: number): NCollection_Array1_BRepGraph_FaceRefId
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_BRepGraph_FaceRefId): NCollection_Array1_BRepGraph_FaceRefId
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_BRepGraph_FaceRefIdParameters (2)
theLowertheUpper
- constructor(theBegin: BRepGraph_FaceRefId, theSize: number, theUseBuffer: boolean): NCollection_Array1_BRepGraph_FaceRefId
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- constructor(theBegin: BRepGraph_FaceRefId, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_BRepGraph_FaceRefIdParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: BRepGraph_FaceRefId): 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_BRepGraph_FaceRefId): NCollection_Array1_BRepGraph_FaceRefId
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): BRepGraph_FaceRefId
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): BRepGraph_FaceRefId
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): BRepGraph_FaceRefId
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): BRepGraph_FaceRefId
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: BRepGraph_FaceRefId): 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_BRepGraph_ItemUID
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(6)
- constructor(theSize: number): NCollection_Array1_BRepGraph_ItemUID
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_BRepGraph_ItemUIDParameters (2)
theLowertheUpper
- constructor(theBegin: BRepGraph_ItemUID, theSize: number, theUseBuffer: boolean): NCollection_Array1_BRepGraph_ItemUID
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- constructor(theBegin: BRepGraph_ItemUID, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_BRepGraph_ItemUIDParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: BRepGraph_ItemUID): 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): BRepGraph_ItemUID
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): BRepGraph_ItemUID
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): BRepGraph_ItemUID
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): BRepGraph_ItemUID
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: BRepGraph_ItemUID): 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_BRepGraph_NodeId
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(6)
- constructor(theSize: number): NCollection_Array1_BRepGraph_NodeId
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_BRepGraph_NodeIdParameters (2)
theLowertheUpper
- constructor(theBegin: BRepGraph_NodeId, theSize: number, theUseBuffer: boolean): NCollection_Array1_BRepGraph_NodeId
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- constructor(theBegin: BRepGraph_NodeId, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_BRepGraph_NodeIdParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: BRepGraph_NodeId): 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): BRepGraph_NodeId
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): BRepGraph_NodeId
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): BRepGraph_NodeId
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): BRepGraph_NodeId
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: BRepGraph_NodeId): 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_BRepGraph_OccurrenceRefId
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(6)
- constructor(theSize: number): NCollection_Array1_BRepGraph_OccurrenceRefId
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_BRepGraph_OccurrenceRefId): NCollection_Array1_BRepGraph_OccurrenceRefId
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_BRepGraph_OccurrenceRefIdParameters (2)
theLowertheUpper
- constructor(theBegin: BRepGraph_OccurrenceRefId, theSize: number, theUseBuffer: boolean): NCollection_Array1_BRepGraph_OccurrenceRefId
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- constructor(theBegin: BRepGraph_OccurrenceRefId, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_BRepGraph_OccurrenceRefIdParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: BRepGraph_OccurrenceRefId): 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_BRepGraph_OccurrenceRefId): NCollection_Array1_BRepGraph_OccurrenceRefId
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_BRepGraph_OccurrenceRefId): NCollection_Array1_BRepGraph_OccurrenceRefId
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_BRepGraph_OccurrenceRefId): NCollection_Array1_BRepGraph_OccurrenceRefId
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): BRepGraph_OccurrenceRefId
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): BRepGraph_OccurrenceRefId
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): BRepGraph_OccurrenceRefId
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): BRepGraph_OccurrenceRefId
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: BRepGraph_OccurrenceRefId): 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_BRepGraph_RefId
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(6)
- constructor(theSize: number): NCollection_Array1_BRepGraph_RefId
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_BRepGraph_RefIdParameters (2)
theLowertheUpper
- constructor(theBegin: BRepGraph_RefId, theSize: number, theUseBuffer: boolean): NCollection_Array1_BRepGraph_RefId
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- constructor(theBegin: BRepGraph_RefId, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_BRepGraph_RefIdParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: BRepGraph_RefId): 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): BRepGraph_RefId
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): BRepGraph_RefId
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): BRepGraph_RefId
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): BRepGraph_RefId
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: BRepGraph_RefId): 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_BRepGraph_ShellRefId
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(6)
- constructor(theSize: number): NCollection_Array1_BRepGraph_ShellRefId
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_BRepGraph_ShellRefId): NCollection_Array1_BRepGraph_ShellRefId
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_BRepGraph_ShellRefIdParameters (2)
theLowertheUpper
- constructor(theBegin: BRepGraph_ShellRefId, theSize: number, theUseBuffer: boolean): NCollection_Array1_BRepGraph_ShellRefId
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- constructor(theBegin: BRepGraph_ShellRefId, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_BRepGraph_ShellRefIdParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: BRepGraph_ShellRefId): 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_BRepGraph_ShellRefId): NCollection_Array1_BRepGraph_ShellRefId
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): BRepGraph_ShellRefId
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): BRepGraph_ShellRefId
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): BRepGraph_ShellRefId
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): BRepGraph_ShellRefId
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: BRepGraph_ShellRefId): 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_BRepGraph_SolidRefId
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(6)
- constructor(theSize: number): NCollection_Array1_BRepGraph_SolidRefId
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_BRepGraph_SolidRefId): NCollection_Array1_BRepGraph_SolidRefId
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_BRepGraph_SolidRefIdParameters (2)
theLowertheUpper
- constructor(theBegin: BRepGraph_SolidRefId, theSize: number, theUseBuffer: boolean): NCollection_Array1_BRepGraph_SolidRefId
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- constructor(theBegin: BRepGraph_SolidRefId, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_BRepGraph_SolidRefIdParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: BRepGraph_SolidRefId): 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_BRepGraph_SolidRefId): NCollection_Array1_BRepGraph_SolidRefId
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): BRepGraph_SolidRefId
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): BRepGraph_SolidRefId
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): BRepGraph_SolidRefId
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): BRepGraph_SolidRefId
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: BRepGraph_SolidRefId): 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_BRepGraph_UID
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(6)
- constructor(theSize: number): NCollection_Array1_BRepGraph_UID
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_BRepGraph_UIDParameters (2)
theLowertheUpper
- constructor(theBegin: BRepGraph_UID, theSize: number, theUseBuffer: boolean): NCollection_Array1_BRepGraph_UID
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- constructor(theBegin: BRepGraph_UID, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_BRepGraph_UIDParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: BRepGraph_UID): 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): BRepGraph_UID
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): BRepGraph_UID
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): BRepGraph_UID
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): BRepGraph_UID
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: BRepGraph_UID): 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_BRepGraph_WireRefId
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(6)
- constructor(theSize: number): NCollection_Array1_BRepGraph_WireRefId
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_BRepGraph_WireRefId): NCollection_Array1_BRepGraph_WireRefId
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_BRepGraph_WireRefIdParameters (2)
theLowertheUpper
- constructor(theBegin: BRepGraph_WireRefId, theSize: number, theUseBuffer: boolean): NCollection_Array1_BRepGraph_WireRefId
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- constructor(theBegin: BRepGraph_WireRefId, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_BRepGraph_WireRefIdParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: BRepGraph_WireRefId): 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_BRepGraph_WireRefId): NCollection_Array1_BRepGraph_WireRefId
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): BRepGraph_WireRefId
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): BRepGraph_WireRefId
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): BRepGraph_WireRefId
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): BRepGraph_WireRefId
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: BRepGraph_WireRefId): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_Bnd_Box
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(6)
- constructor(theSize: number): NCollection_Array1_Bnd_Box
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_Bnd_BoxParameters (2)
theLowertheUpper
- constructor(theBegin: Bnd_Box, theSize: number, theUseBuffer: boolean): NCollection_Array1_Bnd_Box
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- constructor(theBegin: Bnd_Box, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_Bnd_BoxParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
- Move(theOther: NCollection_Array1_Bnd_Box): NCollection_Array1_Bnd_Box
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): Bnd_Box
Variable value access.
Parameters (1)theIndex
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_Bnd_Box2d
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(6)
- constructor(theSize: number): NCollection_Array1_Bnd_Box2d
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_Bnd_Box2dParameters (2)
theLowertheUpper
- constructor(theBegin: Bnd_Box2d, theSize: number, theUseBuffer: boolean): NCollection_Array1_Bnd_Box2d
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- constructor(theBegin: Bnd_Box2d, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_Bnd_Box2dParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): Bnd_Box2d
Variable value access.
Parameters (1)theIndex
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_Bnd_Sphere
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(6)
- constructor(theSize: number): NCollection_Array1_Bnd_Sphere
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_Bnd_SphereParameters (2)
theLowertheUpper
- constructor(theBegin: Bnd_Sphere, theSize: number, theUseBuffer: boolean): NCollection_Array1_Bnd_Sphere
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- constructor(theBegin: Bnd_Sphere, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_Bnd_SphereParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: Bnd_Sphere): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- First(): Bnd_SphereReturns
first element
- Returns
first element
- Last(): Bnd_SphereReturns
last element
- Returns
last element
- Value(theIndex: number): Bnd_Sphere
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): Bnd_Sphere
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): Bnd_Sphere
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): Bnd_Sphere
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: Bnd_Sphere): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_ChFiDS_CircSection
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(6)
- constructor(theSize: number): NCollection_Array1_ChFiDS_CircSection
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_ChFiDS_CircSectionParameters (2)
theLowertheUpper
- constructor(theBegin: ChFiDS_CircSection, theSize: number, theUseBuffer: boolean): NCollection_Array1_ChFiDS_CircSection
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- constructor(theBegin: ChFiDS_CircSection, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_ChFiDS_CircSectionParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: ChFiDS_CircSection): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): ChFiDS_CircSection
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): ChFiDS_CircSection
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): ChFiDS_CircSection
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): ChFiDS_CircSection
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: ChFiDS_CircSection): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_Extrema_POnCurv
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(6)
- constructor(theSize: number): NCollection_Array1_Extrema_POnCurv
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_Extrema_POnCurvParameters (2)
theLowertheUpper
- constructor(theBegin: Extrema_POnCurv, theSize: number, theUseBuffer: boolean): NCollection_Array1_Extrema_POnCurv
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- constructor(theBegin: Extrema_POnCurv, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_Extrema_POnCurvParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: Extrema_POnCurv): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): Extrema_POnCurv
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): Extrema_POnCurv
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): Extrema_POnCurv
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): Extrema_POnCurv
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: Extrema_POnCurv): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_Extrema_POnCurv2d
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(6)
- constructor(theSize: number): NCollection_Array1_Extrema_POnCurv2d
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_Extrema_POnCurv2dParameters (2)
theLowertheUpper
- constructor(theBegin: Extrema_POnCurv2d, theSize: number, theUseBuffer: boolean): NCollection_Array1_Extrema_POnCurv2d
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- constructor(theBegin: Extrema_POnCurv2d, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_Extrema_POnCurv2dParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: Extrema_POnCurv2d): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): Extrema_POnCurv2d
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): Extrema_POnCurv2d
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): Extrema_POnCurv2d
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): Extrema_POnCurv2d
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: Extrema_POnCurv2d): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_Extrema_POnSurf
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(6)
- constructor(theSize: number): NCollection_Array1_Extrema_POnSurf
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_Extrema_POnSurfParameters (2)
theLowertheUpper
- constructor(theBegin: Extrema_POnSurf, theSize: number, theUseBuffer: boolean): NCollection_Array1_Extrema_POnSurf
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- constructor(theBegin: Extrema_POnSurf, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_Extrema_POnSurfParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: Extrema_POnSurf): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): Extrema_POnSurf
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): Extrema_POnSurf
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): Extrema_POnSurf
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): Extrema_POnSurf
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: Extrema_POnSurf): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_GccEnt_Position
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
Examples:
If you want to reindex an array from 1 to Length do:
Warning: Programs client of such a class must be independent of the range of the first element. Then, a C++ for loop must be written like this
Zero-based (size_t) construction mode: Use NCollection_Array1(size_t theSize) or NCollection_Array1(pointer, size_t) to create a zero-based array (Lower()==0). In this mode At()/ChangeAt() and STL iterators are the preferred access path - they address elements directly without any offset subtraction. Buffer-reuse variants do NOT own the memory and will not free it on destruction.
Constructors(6)
- constructor(theSize: number): NCollection_Array1_GccEnt_Position
Zero-based constructor: allocates theSize elements with lower bound 0. Use
At()/ChangeAt() or STL iterators for optimal access (no offset subtraction).Parameters (1)theSize
Copy constructor.
Parameters (1)theOther
- constructor(theLower: number, theUpper: number): NCollection_Array1_GccEnt_PositionParameters (2)
theLowertheUpper
- constructor(theBegin: GccEnt_Position, theSize: number, theUseBuffer: boolean): NCollection_Array1_GccEnt_Position
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- constructor(theBegin: GccEnt_Position, theLower: number, theUpper: number, theUseBuffer?: boolean): NCollection_Array1_GccEnt_PositionParameters (4)
theBegintheLowertheUppertheUseBuffer
Instance methods(23)
- Init(theValue: GccEnt_Position): void
Initialise the items with theValue.
Parameters (1)theValue
- Size(): number
Size query.
- Length(): number
Length query (legacy int-returning API).
- IsEmpty(): boolean
Return TRUE if array has zero length.
- Lower(): number
Lower bound.
- Upper(): number
Upper bound.
Replaces this array by a copy of theOther array. Bounds and length are copied from theOther. When this array wraps an external (non-owned) buffer:
- if theOther has the same length, values are copied in place into the external buffer and ownership is unchanged;
- if theOther has a different length, this array detaches from the external buffer and allocates a fresh owned buffer. Use
CopyValues()to preserve this array's bounds.
Parameters (1)theOther
Copies values from theOther array without changing this array bounds. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
Parameters (1)theOther
Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.
Parameters (1)theOther—Mutated in place; read the updated value from this argument after the call.
- Returns
first element
- Returns
first element
- Returns
last element
- Returns
last element
- Value(theIndex: number): GccEnt_Position
Constant value access.
Parameters (1)theIndex
- ChangeValue(theIndex: number): GccEnt_Position
Variable value access.
Parameters (1)theIndex
- At(theIndex: number): GccEnt_Position
0-based checked access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- ChangeAt(theIndex: number): GccEnt_Position
0-based checked mutable access independent of
Lower()/Upper().Parameters (1)theIndex—0-based index in [0,Size()-1]
- SetValue(theIndex: number, theItem: GccEnt_Position): void
Set value.
Parameters (2)theIndextheItem
- UpdateLowerBound(theLower: number): void
Changes the lowest bound. Do not move data.
Parameters (1)theLower
- UpdateUpperBound(theUpper: number): void
Changes the upper bound. Do not move data.
Parameters (1)theUpper
- Resize(theLower: number, theUpper: number, theToCopyData: boolean): void
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
Parameters (3)theLower—new lower bound of arraytheUpper—new upper bound of arraytheToCopyData—flag to copy existing data into new array
- Resize(theSize: number, theToCopyData: boolean): void
Resizes the array to theSize elements, keeping the lower bound unchanged.
Parameters (2)theSize—new number of elementstheToCopyData—flag to copy existing data into new array
- IsDeletable(): boolean
NCollection_Array1_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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_HLRAlgo_PolyHidingData
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_HLRAlgo_PolyInternalSegment
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_HLRAlgo_TriangleData
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_HLRBRep_EdgeData
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_HLRBRep_FaceData
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_IGESData_DirPart
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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_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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_IntTools_Range
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_IntTools_Root
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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_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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_Interface_FileParameter
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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_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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_NCollection_Handle_Message_Msg
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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_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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_NCollection_List_TopoDS_Shape
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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_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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_NCollection_List_int
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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_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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_NCollection_Sequence_double
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_NCollection_Sequence_int
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_NCollection_Vec3_float
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_Plate_PinpointConstraint
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_Poly_Triangle
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_Quantity_Color
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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_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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepAP203_ApprovedItem
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepAP203_CertifiedItem
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepAP203_ChangeRequestItem
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepAP203_ClassifiedItem
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepAP203_ContractedItem
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepAP203_DateTimeItem
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepAP203_PersonOrganizationItem
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepAP203_SpecifiedItem
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepAP203_StartRequestItem
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepAP203_WorkItem
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepAP214_ApprovalItem
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepAP214_AutoDesignDateAndPersonItem
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepAP214_AutoDesignDateAndTimeItem
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepAP214_AutoDesignDatedItem
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepAP214_AutoDesignGeneralOrgItem
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepAP214_AutoDesignGroupedItem
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepAP214_AutoDesignPresentedItemSelect
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepAP214_AutoDesignReferencingItem
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepAP214_DateAndTimeItem
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepAP214_DateItem
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepAP214_DocumentReferenceItem
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepAP214_ExternalIdentificationItem
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepAP214_GroupItem
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepAP214_OrganizationItem
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepAP214_PersonAndOrganizationItem
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepAP214_PresentedItemSelect
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepAP214_SecurityClassificationItem
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepData_Field
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepDimTol_DatumReferenceModifier
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepDimTol_DatumSystemOrReference
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepDimTol_GeometricToleranceModifier
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepDimTol_ToleranceZoneTarget
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepElement_MeasureOrUnspecifiedValue
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepElement_VolumeElementPurpose
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepFEA_DegreeOfFreedom
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepGeom_PcurveOrSurface
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepGeom_SurfaceBoundary
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepGeom_TrimmingSelect
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepShape_GeometricSetSelect
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepShape_ShapeDimensionRepresentationItem
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepShape_Shell
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepShape_ValueQualifier
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepVisual_AnnotationPlaneElement
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepVisual_BoxCharacteristicSelect
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepVisual_CameraModelD3MultiClippingInterectionSelect
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepVisual_CameraModelD3MultiClippingUnionSelect
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepVisual_DirectionCountSelect
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepVisual_DraughtingCalloutElement
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepVisual_FillStyleSelect
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepVisual_InvisibleItem
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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(6)
- 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, theSize: number, theUseBuffer: boolean): NCollection_Array1_StepVisual_LayeredItem
Zero-based constructor from first element reference. When theUseBuffer is true, wraps contiguous storage starting at theBegin. Otherwise allocates own storage of theSize elements.
Parameters (3)theBegintheSizetheUseBuffer
- 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