Namespace: GameEngine.Layers.PointCloud
Class: GameEngine/Layers/PointCloud/ArcGISPointCloudColorUniqueValueCollection
Since: 2.4.0
Summary
Defines an collection of ArcGISPointCloudColorUniqueValue.
Constructors
ArcGISPointCloudColorUniqueValueCollection()
Creates a vector. This allocates memory that must be deleted.
Since 2.4.0
Properties
Methods
| Signature | Return Type | Summary |
|---|---|---|
Add a value to the vector. | ||
AddArray(ArcGISCollection<ArcGISPointCloudColorUniqueValue>) | Appends a vector to a vector. | |
Get a value at a specific position. | ||
Indicates if the vector contains the given value. | ||
First() | Get the first value in the vector. | |
Finds the position of the given value in the vector. | ||
Insert the provided value at a specific position in the vector. | ||
IsEmpty() | Determines if there are any values in the vector. | |
Last() | Get the last value in the vector. | |
Move a value from the current position to a new position in the vector. | ||
Npos() | Returns a value indicating a bad position within the vector. | |
Remove a value at a specific position in the vector. | ||
Remove all values from the vector. |
Add
ulong Add(ArcGISPointCloudColorUniqueValue value)
Add a value to the vector.
Since 2.4.0
Arguments
| Name | Type | Summary |
|---|---|---|
value | ArcGISPointCloudColorUniqueValue | The value to add. |
Returns ulong
The position of the value. Max value of size_t if an error occurs.
AddArray
ulong AddArray(ArcGISCollection<ArcGISPointCloudColorUniqueValue> vector2)
Appends a vector to a vector.
Since 2.4.0
Arguments
| Name | Type | Summary |
|---|---|---|
vector2 | ArcGISCollection<ArcGISPointCloudColorUniqueValue> | The value to add. |
Returns ulong
The new size of vector_1. Max value of size_t if an error occurs.
At
ArcGISPointCloudColorUniqueValue At(ulong position)
Get a value at a specific position.
Since 2.4.0
Arguments
| Name | Type | Summary |
|---|---|---|
position | ulong | The position for which you want the value. |
Returns ArcGISPointCloudColorUniqueValue
A ArcGISPointCloudColorUniqueValue representing the value at the specified position.
Contains
bool Contains(ArcGISPointCloudColorUniqueValue value)
Indicates if the vector contains the given value.
Since 2.4.0
Arguments
| Name | Type | Summary |
|---|---|---|
value | ArcGISPointCloudColorUniqueValue | The value you want to find. |
Returns bool
True if the value is in the vector otherwise false.
First
ArcGISPointCloudColorUniqueValue First()
Get the first value in the vector.
Since 2.4.0
Returns ArcGISPointCloudColorUniqueValue
A ArcGISPointCloudColorUniqueValue representing the value at the specified position.
IndexOf
ulong IndexOf(ArcGISPointCloudColorUniqueValue value)
Finds the position of the given value in the vector.
Since 2.4.0
Arguments
| Name | Type | Summary |
|---|---|---|
value | ArcGISPointCloudColorUniqueValue | The value to find. |
Returns ulong
The position of the value in the vector, Max value of size_t otherwise.
Insert
void Insert(ulong position, ArcGISPointCloudColorUniqueValue value)
Insert the provided value at a specific position in the vector.
Since 2.4.0
Arguments
| Name | Type | Summary |
|---|---|---|
position | ulong | The position at which to insert the given value. |
value | ArcGISPointCloudColorUniqueValue | The value to add. |
Returns void
IsEmpty
bool IsEmpty()
Determines if there are any values in the vector.
Since 2.4.0
Returns bool
True if the vector object contains no values, otherwise false. Returns true if an error occurs.
Last
Get the last value in the vector.
Since 2.4.0
Returns ArcGISPointCloudColorUniqueValue
A ArcGISPointCloudColorUniqueValue representing the value at the specified position.
Move
Move a value from the current position to a new position in the vector.
Since 2.4.0
Arguments
| Name | Type | Summary |
|---|---|---|
old | ulong | The current position of the value. |
new | ulong | The position to which you want to move the value. |
Returns void
Npos
static ulong Npos()
Returns a value indicating a bad position within the vector.
Since 2.4.0
Returns ulong
A size_t.
Remove
Remove a value at a specific position in the vector.
Since 2.4.0
Arguments
| Name | Type | Summary |
|---|---|---|
position | ulong | The position where you want to remove the value. |