Class Polygon
建築物の形状におけるポリゴンです。
Vertices , Indices を保持します。
ただし、GMLファイルのパース時に
Inherited Members
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 Polygon : AppearanceTarget
Properties
DoHaveRings
多角形の形状情報としての LinearRing(Exterior または Interior)を持っているか
Declaration
public bool DoHaveRings { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
DoHaveVertices
ポリゴンとしての頂点を持っているか
Declaration
public bool DoHaveVertices { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
ExteriorRing
建物の外周の形状です。
GMLファイルのパース時の設定で
Declaration
public LinearRing ExteriorRing { get; }
Property Value
Type | Description |
---|---|
LinearRing |
Indices
Declaration
public IEnumerable<int> Indices { get; }
Property Value
Type | Description |
---|---|
IEnumerable<System.Int32> |
IndicesCount
Declaration
public int IndicesCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
InteriorRingCount
建物の形状の多角形表現のうち、内側にある多角形の数です。
Declaration
public int InteriorRingCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
InteriorRings
InteriorRing を foreach や Linq で回したい時に利用できます。
Declaration
public IEnumerable<LinearRing> InteriorRings { get; }
Property Value
Type | Description |
---|---|
IEnumerable<LinearRing> |
VertexCount
頂点数を返します。
Declaration
public int VertexCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
GetVertex(Int32)
頂点番号を受け取り、その頂点の座標を返します。
Declaration
public PlateauVector3d GetVertex(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Returns
Type | Description |
---|---|
PlateauVector3d |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()