C# Класс Revit.SDK.Samples.CS.PointCloudEngine.PointCloudCellStorage

This class is used to calculate and store points for a given cell.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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