Class TextureCoordinates
テクスチャのマッピングに関する情報です。 テクスチャ座標と LinearRing の頂点を紐付けます。
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: PLATEAU.CityGML
Assembly: cs.temp.dll.dll
Syntax
public class TextureCoordinates : Object
Properties
TargetLinearRingId
このテクスチャマッピングの対象となる LinearRing のIDを返します。
Declaration
public string TargetLinearRingId { get; }
Property Value
Type | Description |
---|---|
System.String |
Vec2CoordsCount
保持するテクスチャ座標の数です。 LinearRing の頂点とテクスチャ座標が1対1で対応するので、 この値は LinearRing の頂点数と同じになります。
Declaration
public int Vec2CoordsCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
GetVec2Coord(Int32)
LinearRing の index
番目の頂点に対応する
テクスチャ座標を返します。
Declaration
public PlateauVector2f GetVec2Coord(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Returns
Type | Description |
---|---|
PlateauVector2f |
IsRingTarget(LinearRing)
引数で与えられた LinearRing が このテクスチャマッピングの対象かどうか判定します。
Declaration
public bool IsRingTarget(LinearRing ring)
Parameters
Type | Name | Description |
---|---|---|
LinearRing | ring |
Returns
Type | Description |
---|---|
System.Boolean |