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

This class is used to calculate and store points for a given cell.
파일 보기 프로젝트 열기: AMEE/revit 1 사용 예제들

공개 메소드들

메소드 설명
GeneratePoints ( ) : void

Invokes the calculation for all points in the cell.

PointCloudCellStorage ( System.Xml.Linq.XElement rootElement ) : System

Constructs a new instance of a rectangular cell from an XML element.

PointCloudCellStorage ( XYZ lowerLeft, XYZ upperRight, int color, bool randomize ) : System

Creates a new instance of a rectangular cell.

SerializeObjectData ( System.Xml.Linq.XElement rootElement ) : void

Serializes the properties of the cell to an XML element.

비공개 메소드들

메소드 설명
AddLine ( XYZ startPoint, XYZ direction, PointDirections directions, float distance ) : int
AddModifiedPoint ( XYZ point, XYZ modification, double transverseDelta, int pointNumber ) : void
AddPoints ( XYZ point, PointDirections directions ) : void

메소드 상세

GeneratePoints() 공개 메소드

Invokes the calculation for all points in the cell.
public GeneratePoints ( ) : void
리턴 void

PointCloudCellStorage() 공개 메소드

Constructs a new instance of a rectangular cell from an XML element.
public PointCloudCellStorage ( System.Xml.Linq.XElement rootElement ) : System
rootElement System.Xml.Linq.XElement The XML element representing the cell.
리턴 System

PointCloudCellStorage() 공개 메소드

Creates a new instance of a rectangular cell.
public PointCloudCellStorage ( XYZ lowerLeft, XYZ upperRight, int color, bool randomize ) : System
lowerLeft XYZ The lower left point of the cell.
upperRight XYZ The upper right point of the cell.
color int The color used for points in the cell.
randomize bool True to apply randomization to the number and location of points, false for a regular arrangement of points.
리턴 System

SerializeObjectData() 공개 메소드

Serializes the properties of the cell to an XML element.
public SerializeObjectData ( System.Xml.Linq.XElement rootElement ) : void
rootElement System.Xml.Linq.XElement The element to which the properties are added as subelements.
리턴 void