Library | Package Java Toolkit

Class Outline2D

package com.ptc.pfc.pfcBase;

public class Outline2D
  implements jxobject



Description

A 2x1 array that stores a two-dimensional outline.

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]



Method Summary
static Outline2Dcreate ()
    Creates new array object with uninitialized elements.
Point2Dget (int idx0)
    Gets an array element with the specified index(indices). If an index is out of range throws exception cipXInvalidArrayIndex.
voidset (int idx0, Point2D value)
    Assignes a new value to an array element with the specified index(indices). If an index is out of range throws exception cipXInvalidArrayIndex.

Method Detail

get

Point2Dget (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

voidset (int idx0, Point2D 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 Outline2Dcreate ()


    Creates new array object with uninitialized elements.
Returns:
Created array.