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

An implementation for a non file-based point cloud. In this implementaiton, the location of the cells, including their colors and options, are hardcoded.
Inheritance: PointCloudAccessBase, IPointCloudAccess
Afficher le fichier Open project: AMEE/revit Class Usage Examples

Méthodes publiques

Méthode Description
CreatePointSetIterator ( PointCloudFilter rFilter, ElementId viewId ) : IPointSetIterator

The implementation of IPointCloudAccess.CreatePointSetIterator().

GetColorEncoding ( ) : PointCloudColorEncoding

The implementation of IPointCloudAccess.GetColorEncoding()

GetExtent ( ) : Outline

The implementation of IPointCloudAccess.GetExtent().

GetName ( ) : String

The implementation of IPointCloudAccess.GetName().

GetOffset ( ) : XYZ

The implementation of IPointCloudAccess.GetOffset().

This method is not used by Revit and will be removed in a later pre-release build.

GetUnitsToFeetConversionFactor ( ) : double

The implementation of IPointCloudAccess.GetUnitsToFeetConversionFactor().

PredefinedPointCloud ( String identifier ) : System

Constructs a new predefined point cloud access instance.

PredefinedPointCloud ( String identifier, bool randomizedPoints ) : System

Constructs a new predefined point cloud access instance.

ReadPoints ( PointCloudFilter rFilter, ElementId viewId, IntPtr buffer, int nBufferSize ) : int

The implementation of IPointCloudAccess.ReadPoints().

Private Methods

Méthode Description
Setup ( bool randomizedPoints ) : void

Sets up the predefined point cloud.

Method Details

CreatePointSetIterator() public méthode

The implementation of IPointCloudAccess.CreatePointSetIterator().
public CreatePointSetIterator ( PointCloudFilter rFilter, ElementId viewId ) : IPointSetIterator
rFilter PointCloudFilter The filter.
viewId ElementId The view id (unused).
Résultat IPointSetIterator

GetColorEncoding() public méthode

The implementation of IPointCloudAccess.GetColorEncoding()
public GetColorEncoding ( ) : PointCloudColorEncoding
Résultat PointCloudColorEncoding

GetExtent() public méthode

The implementation of IPointCloudAccess.GetExtent().
public GetExtent ( ) : Outline
Résultat Outline

GetName() public méthode

The implementation of IPointCloudAccess.GetName().
public GetName ( ) : String
Résultat String

GetOffset() public méthode

The implementation of IPointCloudAccess.GetOffset().
This method is not used by Revit and will be removed in a later pre-release build.
public GetOffset ( ) : XYZ
Résultat XYZ

GetUnitsToFeetConversionFactor() public méthode

The implementation of IPointCloudAccess.GetUnitsToFeetConversionFactor().
public GetUnitsToFeetConversionFactor ( ) : double
Résultat double

PredefinedPointCloud() public méthode

Constructs a new predefined point cloud access instance.
public PredefinedPointCloud ( String identifier ) : System
identifier String The identifier of the point cloud.
Résultat System

PredefinedPointCloud() public méthode

Constructs a new predefined point cloud access instance.
public PredefinedPointCloud ( String identifier, bool randomizedPoints ) : System
identifier String The identifier of the point cloud.
randomizedPoints bool True to use randomization for the point location and number, false otherwise.
Résultat System

ReadPoints() public méthode

The implementation of IPointCloudAccess.ReadPoints().
public ReadPoints ( PointCloudFilter rFilter, ElementId viewId, IntPtr buffer, int nBufferSize ) : int
rFilter PointCloudFilter The filter.
viewId ElementId The view id (unused).
buffer System.IntPtr The point cloud buffer.
nBufferSize int The maximum number of points.
Résultat int