Class CityObject
CityGMLにおける都市オブジェクトです。
CityModel または 親CityObject が CityObject を保持します。
このCityObject は CityObjectType , Address , 子CityObject , Geometry を保持します。
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 CityObject : FeatureObject
Properties
Address
Declaration
public Address Address { get; }
Property Value
Type | Description |
---|---|
Address |
ChildCityObjectCount
Declaration
public int ChildCityObjectCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
ChildCityObjects
子CityObject をforeachやLinqで回したい時に利用できます。
Declaration
public IEnumerable<CityObject> ChildCityObjects { get; }
Property Value
Type | Description |
---|---|
IEnumerable<CityObject> |
CityObjectDescendantsDFS
子孫の CityObject をすべて再帰的にイテレートします。自分自身を含みます。 イテレートの順番は DFS(深さ優先探索)です。
Declaration
public IEnumerable<CityObject> CityObjectDescendantsDFS { get; }
Property Value
Type | Description |
---|---|
IEnumerable<CityObject> |
Geometries
各 Geometry を foreach で回したい時に利用できます。
Declaration
public IEnumerable<Geometry> Geometries { get; }
Property Value
Type | Description |
---|---|
IEnumerable<Geometry> |
GeometryCount
ジオメトリの数を返します。
Declaration
public int GeometryCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
ImplicitGeometryCount
Declaration
public int ImplicitGeometryCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Type
Declaration
public CityObjectType Type { get; }
Property Value
Type | Description |
---|---|
CityObjectType |
Methods
GetChildCityObject(Int32)
Declaration
public CityObject GetChildCityObject(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Returns
Type | Description |
---|---|
CityObject |
GetGeometry(Int32)
Declaration
public Geometry GetGeometry(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Returns
Type | Description |
---|---|
Geometry |