C# Class Revit.SDK.Samples.CS.PointCloudEngine.PointCloudCellStorage

This class is used to calculate and store points for a given cell.
Afficher le fichier Open project: AMEE/revit Class Usage Examples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
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

Method Details

GeneratePoints() public méthode

Invokes the calculation for all points in the cell.
public GeneratePoints ( ) : void
Résultat void

PointCloudCellStorage() public méthode

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.
Résultat System

PointCloudCellStorage() public méthode

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.
Résultat System

SerializeObjectData() public méthode

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.
Résultat void