jp.co.melco.preserv.spatial.common
クラス FeatureStandardConvert

java.lang.Object
  拡張jp.co.melco.preserv.spatial.common.FeatureStandardConvert
すべての実装インタフェース:
FeatureGeometryConvert
直系の既知のサブクラス:
FeatureStandardConvert, FeatureStandardConvert2D

public class FeatureStandardConvert
extends java.lang.Object
implements FeatureGeometryConvert

タイトル: 空間属性変換クラス

説明: 地物の空間属性をバイナリ化/復元する機能を提供するクラスです。

変換するpsvGeometryは、規定の構造に沿って作成されている必要があります。

著作権: Copyright (c) 2004

会社名: Mitsubishi Electric Corporation

バージョン:
1.0
作成者:
PreSerV Development Team

フィールドの概要
protected  int _dimension
          サポートする座標情報の次元です。
protected static java.lang.String DEFAULT_INTER_PO
           
 
コンストラクタの概要
FeatureStandardConvert()
           
 
メソッドの概要
 psvGeometry convert_BinarytoGM(byte[] binary_gm)
          バイナリ化された空間属性を復元します。
 byte[] convert_GMtoBinary(psvGeometry geometry)
          空間属性のバイナリ化を行ないます。
protected  psvGMPointArray createPointArray(java.util.List pointList, int dimension)
          簡易幾何(点)クラスを生成するメソッドです。
protected  psvGMPointArray rest_PointArray(java.io.DataInputStream binary)
           
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

_dimension

protected int _dimension
サポートする座標情報の次元です。


DEFAULT_INTER_PO

protected static final java.lang.String DEFAULT_INTER_PO
関連項目:
定数フィールド値
コンストラクタの詳細

FeatureStandardConvert

public FeatureStandardConvert()
メソッドの詳細

convert_GMtoBinary

public byte[] convert_GMtoBinary(psvGeometry geometry)
                          throws java.lang.Exception
空間属性のバイナリ化を行ないます。

定義:
インタフェース FeatureGeometryConvert 内の convert_GMtoBinary
パラメータ:
geometry - バイナリ化する空間属性
戻り値:
バイナリ化された空間属性
例外:
java.lang.Exception

convert_BinarytoGM

public psvGeometry convert_BinarytoGM(byte[] binary_gm)
                               throws java.lang.Exception
バイナリ化された空間属性を復元します。

定義:
インタフェース FeatureGeometryConvert 内の convert_BinarytoGM
パラメータ:
binary_gm - バイナリ化された空間属性
戻り値:
復元された空間属性
例外:
java.lang.Exception

rest_PointArray

protected psvGMPointArray rest_PointArray(java.io.DataInputStream binary)

createPointArray

protected psvGMPointArray createPointArray(java.util.List pointList,
                                           int dimension)
簡易幾何(点)クラスを生成するメソッドです。

パラメータ:
pointList -
戻り値:
psvPortrayalContext 簡易幾何(点)