 | CVV.SetReal Method |
Set a real element in a VV.
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic void SetReal(
int element,
double value
)
public void SetReal(
int element,
double value
)
Public Sub SetReal (
element As Integer,
value As Double
)
Public Sub SetReal (
element As Integer,
value As Double
)
public:
void SetReal(
int element,
double value
)
public:
void SetReal(
int element,
double value
)
member SetReal :
element : int *
value : float -> unit
member SetReal :
element : int *
value : float -> unit
Parameters
- element
- Type: System.Int32
Element to set - value
- Type: System.Double
Value to set
Remarks
Element being set cannot be < 0.
If the element is > current VV length, the VV length is
increased.
It is good practice to set the length ahead of time to the
expected maximum value, as some VV processes rely on the
current maximum length of the VV when you pass it in as an
argument, and unexpected results may occur if the length is
not what you expect it to be because of dynamic allocation at
an earlier time.
See Also