|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjp.co.melco.preserv.spatial.psvGeometry
jp.co.melco.preserv.spatial.geometry.psvSpatialGeometry
jp.co.melco.preserv.spatial.geometry.psvGMObject
jp.co.melco.preserv.spatial.geometry.psvGMPrimitive
jp.co.melco.preserv.spatial.geometry.psvGMOrientablePrimitive
jp.co.melco.preserv.spatial.geometry.psvGMOrientableSurface
jp.co.melco.preserv.spatial.geometry.psvGMSurface
曲面を表す具象クラスです。
地理情報標準の空間スキーマにおけるGM_Surfaceクラスに対応します。
コンストラクタでpsvGMPolygonSurfaceModelを指定した場合、 setModel(psvGMPolygonSurfaceModel)を使用した場合は、内部で面を構成する曲線への
参照のみを持つ簡易構造となり、メモリ効率が上がります。
簡易構造の場合、getPatchが呼ばれた時点では、JPGIS構造を生成するのみです。
setPatch(psvGMSurfacePatch[])を使用して、設定した後、簡易構造は破棄されJPGIS構造となります。
setPatch(psvGMSurfacePatch[])は、座標以外の情報が必要になった場合等に用いられると想定されています。
getPatchCount(),getExteriorGeneratorCount(int),getExteriorGenerator(int, int),
getInteriorCount(int),getInteriorGeneratorCount(int, int), getInteriorGenerator(int, int,
int)を使用すれば 簡易構造、JPGIS構造を気にする事無く構成曲線にアクセスでき、 簡易構造からJPGIS構造が生成される事はありません。
getPatch()
,
setModel(psvGMPolygonSurfaceModel)
,
setPatch(psvGMSurfacePatch[])
,
getPatchCount()
,
getExteriorGeneratorCount(int)
,
getExteriorGenerator(int, int)
,
getInteriorCount(int)
,
getInteriorGeneratorCount(int, int)
,
getInteriorGenerator(int, int, int)
,
直列化された形式フィールドの概要 |
クラス jp.co.melco.preserv.spatial.geometry.psvGMOrientablePrimitive から継承したフィールド |
cachedShape |
コンストラクタの概要 | |
psvGMSurface()
曲面分を持たない曲面を生成します。 |
|
psvGMSurface(psvGMPolygonSurfaceModel surfaceModel)
surfaceModelで指定された構造を持つ曲面を生成します。 |
|
psvGMSurface(psvGMSurfacePatch[] patch)
指定された曲面分を持つ曲面を生成します。 |
メソッドの概要 | |
protected boolean |
containsPatch(psvGMSurfacePatch otherPatch)
曲面分の一覧に指定された曲面分が含まれるか否かを判定します。 |
protected java.awt.Shape |
createShape()
本オブジェクトが表すShapeオブジェクトを取得します。 |
boolean |
equals(psvGMObject pointSet)
このオブジェクトと他のオブジェクトが等しいかどうかを示します。 |
void |
fixed()
幾何属性の編集が確定したことを通知します。 |
psvGMOrientableCurve |
getExteriorGenerator(int patchIndex,
int generatorIndex)
patchIndexで指定したpatchの外部境界の持つ、 generator(有向曲線)をgeneratorIndexを指定して返します。 |
int |
getExteriorGeneratorCount(int patchIndex)
patchIndexで指定したpatchの、exterior(外部境界)が持つ generator(有向曲線)の数を返します。 |
int |
getInteriorCount(int patchIndex)
patchIndexで指定したpatchのinterior(内部境界)の数を返します。 |
psvGMOrientableCurve |
getInteriorGenerator(int patchIndex,
int interiorIndex,
int generatorIndex)
patchIndexで指定したpatchが持つ、itenriorIndexで指定した内部境界の、 generator(有向曲線)をgeneratorIndexを指定して返します。 |
int |
getInteriorGeneratorCount(int patchIndex,
int interiorIndex)
patchIndexで指定したpatchの、interior(内部境界)の数を返します。 |
java.lang.Class |
getModelClass()
構造モデルのクラスを返します。 |
psvGMSurfacePatch[] |
getPatch()
曲面分の一覧を取得します。 |
int |
getPatchCount()
patch(曲面分)の数を返します。 |
boolean |
isModified()
幾何属性の編集が行われたか否かを取得します。 |
protected java.lang.String |
paramString()
保持する属性値の文字列表現を取得します。 |
void |
setModel(psvGMPolygonSurfaceModel model)
構造モデルを設定します。 |
void |
setPatch(psvGMSurfacePatch[] patch)
曲面分の一覧を設定します。 |
void |
setPrimitive(psvGMPrimitive primitive)
幾何プリミティブを設定します。 |
java.awt.Shape |
toShape()
本オブジェクトが表すShapeオブジェクトを取得します。 |
void |
translate(double dx,
double dy)
現在の座標値を指定された移動量だけ移動します。 |
クラス jp.co.melco.preserv.spatial.geometry.psvGMOrientablePrimitive から継承したメソッド |
clearCachedShape, contains, envelope, getOrientation, getPrimitive, setOrientation |
クラス jp.co.melco.preserv.spatial.geometry.psvGMPrimitive から継承したメソッド |
getComplex, getProxy, setComplex, setProxy |
クラス jp.co.melco.preserv.spatial.geometry.psvGMObject から継承したメソッド |
buffer, centroid, contains, convexHull, coordinateDimension, dimension, distance, equals, getAgent, getCrs, intersects, isSimple, mbRegion, modified, representativePoint, setCrs, toString, transform |
クラス jp.co.melco.preserv.spatial.geometry.psvSpatialGeometry から継承したメソッド |
getShapeForDraw |
クラス jp.co.melco.preserv.spatial.psvGeometry から継承したメソッド |
wrap |
クラス java.lang.Object から継承したメソッド |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
コンストラクタの詳細 |
public psvGMSurface()
public psvGMSurface(psvGMSurfacePatch[] patch)
patch
- 曲面分public psvGMSurface(psvGMPolygonSurfaceModel surfaceModel)
surfaceModel
- 曲面モデルメソッドの詳細 |
public java.lang.Class getModelClass()
public psvGMSurfacePatch[] getPatch()
public void setPatch(psvGMSurfacePatch[] patch)
patch
- 曲面分の一覧public void setModel(psvGMPolygonSurfaceModel model)
model
- 構造モデルpublic boolean equals(psvGMObject pointSet)
psvTransfiniteSet
内の equals
psvGMOrientablePrimitive
内の equals
pointSet
- 比較対象の参照オブジェクト
psvGMOrientablePrimitive.equals(jp.co.melco.preserv.spatial.geometry.psvGMObject)
protected java.awt.Shape createShape()
psvGMOrientablePrimitive
の記述:
psvGMOrientablePrimitive
内の createShape
public java.awt.Shape toShape()
psvGMOrientablePrimitive
の記述:
psvGMOrientablePrimitive
内の toShape
psvGMOrientablePrimitive.isModified()
protected boolean containsPatch(psvGMSurfacePatch otherPatch)
otherPatch
- 曲面分
true
、含まれない場合はfalse
protected java.lang.String paramString()
psvGMObject
の記述:
psvGMOrientablePrimitive
内の paramString
public void translate(double dx, double dy)
psvGMObject
の記述:
psvGMObject
内の translate
dx
- X軸方向の移動量dy
- Y軸方向の移動量public void fixed()
psvGMObject
の記述:
psvGMOrientablePrimitive
内の fixed
public boolean isModified()
psvGMObject
の記述: true
、それ以外の場合はfalse
を返します。
psvGMOrientablePrimitive
内の isModified
public int getPatchCount()
psvGMSurfacePolygonStructure
内の getPatchCount
psvGMSurfacePolygonStructure.getPatchCount()
public int getInteriorCount(int patchIndex)
psvGMSurfacePolygonStructure
内の getInteriorCount
patchIndex
- 何番目のパッチかを指定
psvGMSurfacePolygonStructure.getInteriorCount(int)
public int getExteriorGeneratorCount(int patchIndex)
psvGMSurfacePolygonStructure
内の getExteriorGeneratorCount
patchIndex
- 何番目のパッチかを指定
psvGMSurfacePolygonStructure.getExteriorGeneratorCount(int)
public int getInteriorGeneratorCount(int patchIndex, int interiorIndex)
psvGMSurfacePolygonStructure
内の getInteriorGeneratorCount
patchIndex
- 何番目のパッチかを指定interiorIndex
- 何番目の内部境界かを指定
psvGMSurfacePolygonStructure.getInteriorGeneratorCount(int, int)
public psvGMOrientableCurve getExteriorGenerator(int patchIndex, int generatorIndex)
psvGMSurfacePolygonStructure
内の getExteriorGenerator
patchIndex
- 何番目のパッチかを指定generatorIndex
- 何番目の有向曲線かを指定
psvGMSurfacePolygonStructure.getExteriorGenerator(int, int)
public psvGMOrientableCurve getInteriorGenerator(int patchIndex, int interiorIndex, int generatorIndex)
psvGMSurfacePolygonStructure
内の getInteriorGenerator
patchIndex
- 何番目のパッチかを指定interiorIndex
- 何番目の内部境界かを指定generatorIndex
- 何番目の有向曲線かを指定
psvGMSurfacePolygonStructure.getInteriorGenerator(int, int, int)
public void setPrimitive(psvGMPrimitive primitive)
psvGMOrientablePrimitive
の記述:
psvGMOrientablePrimitive
内の setPrimitive
primitive
- 幾何プリミティブ
|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |