-
Notifications
You must be signed in to change notification settings - Fork 0
DiGi.GML.CityGML
public static class ConvertInheritance System.Object → Convert
Converts a CityGML file from the specified file path to a CityModel object.
public static DiGi.GML.CityGML.Classes.CityModel ToGML(string path);path System.String
The file system path to the XML file.
CityModel
A CityModel instance if the conversion is successful; otherwise, null.
Converts a CityGML stream to a CityModel object.
public static DiGi.GML.CityGML.Classes.CityModel ToGML(System.IO.Stream steam);steam System.IO.Stream
The input stream containing the XML data.
CityModel
A CityModel instance if the conversion is successful; otherwise, null.
Converts an System.Xml.XmlDocument to a CityModel object.
public static DiGi.GML.CityGML.Classes.CityModel ToGML(System.Xml.XmlDocument xmlDocument);xmlDocument System.Xml.XmlDocument
The XML document containing the GML data.
CityModel
A CityModel instance if the conversion is successful; otherwise, null.
public static class CreateInheritance System.Object → Create
Creates a CityModel(this XmlNode) instance from the provided System.Xml.XmlNode.
public static DiGi.GML.CityGML.Classes.CityModel CityModel(this System.Xml.XmlNode xmlNode);xmlNode System.Xml.XmlNode
The XML node to be processed into a city model.
CityModel
A CityModel(this XmlNode) object if the node is valid and a corresponding type is found; otherwise, the default value.