public class

GeometryVector

extends Object
java.lang.Object
   ↳ org.neshan.geometry.GeometryVector

Summary

Public Constructors
GeometryVector(long cPtr, boolean cMemoryOwn)
GeometryVector()
یک وکتور خالی می سازد
GeometryVector(long n)
یک وکتور با اندازه n می سازد
Public Methods
void add(Geometry x)
long capacity()
اندازه وکتور
void clear()
داد‌ه‌های وکتور را خالی می کند
synchronized void delete()
Geometry get(int i)
static long getCPtr(GeometryVector obj)
boolean isEmpty()
مشخص می کند که وکتور خالی هست یا نه
void reserve(long n)
داد‌ه‌های وکتور را برعکس می کند
void set(int i, Geometry val)
داده‌ی iام وکتور را ست می کند.
long size()
long swigGetRawPtr()
Returns the raw pointer to the object.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public GeometryVector (long cPtr, boolean cMemoryOwn)

public GeometryVector ()

یک وکتور خالی می سازد

public GeometryVector (long n)

یک وکتور با اندازه n می سازد

Public Methods

public void add (Geometry x)

public long capacity ()

اندازه وکتور

public void clear ()

داد‌ه‌های وکتور را خالی می کند

public synchronized void delete ()

public Geometry get (int i)

public static long getCPtr (GeometryVector obj)

public boolean isEmpty ()

مشخص می کند که وکتور خالی هست یا نه

public void reserve (long n)

داد‌ه‌های وکتور را برعکس می کند

public void set (int i, Geometry val)

داده‌ی iام وکتور را ست می کند. در صورت بیشتر بودن i از اندازه وکتور خطا رخ می دهد.

public long size ()

public long swigGetRawPtr ()

Returns the raw pointer to the object. This is used internally by the SDK.

Returns
  • The internal pointer of the object.