API Documentation > Classes > Class UVVector
Class UVVector

package com.ptc.pfc.pfcBase;

public class
UVVector
implements
jxobject


Description
A 2x1 array that stores a UV-vector.
Array provides methods for accessing its elemnts by index(indices) and for modifying its elements. Array object "does not know" its dimentions.
Array Dimensions: [2]
User Guide References:
Method Summary
static UVVector
Creates new array object with uninitialized elements.
double
get (int idx0)
Gets an array element with the specified index(indices). If an index is out of range throws exceptioncipXInvalidArrayIndex.
void
set (int idx0, double value)
Assignes a new value to an array element with the specified index(indices). If an index is out of range throws exceptioncipXInvalidArrayIndex.
Method Detail
get
double
get
(int idx0)
Gets an array element with the specified index(indices). If an index is out of range throws exception cipXInvalidArrayIndex.
Parameters:
idx0
First element index.
Returns:
Element value.
set
void
set
(int idx0, double value)
Assignes a new value to an array element with the specified index(indices). If an index is out of range throws exception cipXInvalidArrayIndex.
Parameters:
idx0
First element index.
value
New element value.
Returns:
create
static UVVector
create
()
Creates new array object with uninitialized elements.
Returns:
Created array.
Was this helpful?