C# 클래스 Revit.SDK.Samples.CS.PointCloudEngine.XmlUtils

Utilities used by the sample to process XML entries in file-based point clouds.
파일 보기 프로젝트 열기: AMEE/revit

공개 메소드들

메소드 설명
GetBoolean ( System.Xml.Linq.XElement element ) : bool

Gets a boolean value from an XML element.

GetColor ( System.Xml.Linq.XElement element ) : int

Gets a color value (in the form needed for inclusion in a CloudPoint) from an XML element.

GetColorXElement ( int color, String name ) : System.Xml.Linq.XElement

Gets the XML element representing a CloudPoint color.

GetDouble ( System.Xml.Linq.XElement element ) : double

Gets a double value from an XML element.

GetInteger ( System.Xml.Linq.XElement element ) : int

Gets an integer value from an XML element.

GetXElement ( XYZ point, String name ) : System.Xml.Linq.XElement

Gets the XML element representing a point.

GetXElement ( object obj, String name ) : System.Xml.Linq.XElement

Gets the XML element representing an object.

GetXYZ ( System.Xml.Linq.XElement element ) : XYZ

Gets an XYZ point from an XML element.

메소드 상세

GetBoolean() 공개 정적인 메소드

Gets a boolean value from an XML element.
public static GetBoolean ( System.Xml.Linq.XElement element ) : bool
element System.Xml.Linq.XElement The element.
리턴 bool

GetColor() 공개 정적인 메소드

Gets a color value (in the form needed for inclusion in a CloudPoint) from an XML element.
public static GetColor ( System.Xml.Linq.XElement element ) : int
element System.Xml.Linq.XElement The element.
리턴 int

GetColorXElement() 공개 정적인 메소드

Gets the XML element representing a CloudPoint color.
public static GetColorXElement ( int color, String name ) : System.Xml.Linq.XElement
color int The color.
name String The name.
리턴 System.Xml.Linq.XElement

GetDouble() 공개 정적인 메소드

Gets a double value from an XML element.
public static GetDouble ( System.Xml.Linq.XElement element ) : double
element System.Xml.Linq.XElement The element.
리턴 double

GetInteger() 공개 정적인 메소드

Gets an integer value from an XML element.
public static GetInteger ( System.Xml.Linq.XElement element ) : int
element System.Xml.Linq.XElement The element.
리턴 int

GetXElement() 공개 정적인 메소드

Gets the XML element representing a point.
public static GetXElement ( XYZ point, String name ) : System.Xml.Linq.XElement
point XYZ The point.
name String The name of the XML element.
리턴 System.Xml.Linq.XElement

GetXElement() 공개 정적인 메소드

Gets the XML element representing an object.
public static GetXElement ( object obj, String name ) : System.Xml.Linq.XElement
obj object The object.
name String The name.
리턴 System.Xml.Linq.XElement

GetXYZ() 공개 정적인 메소드

Gets an XYZ point from an XML element.
public static GetXYZ ( System.Xml.Linq.XElement element ) : XYZ
element System.Xml.Linq.XElement The element.
리턴 XYZ