C# 클래스 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.
상속: PointCloudAccessBase, IPointCloudAccess
파일 보기 프로젝트 열기: AMEE/revit 1 사용 예제들

공개 메소드들

메소드 설명
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().

비공개 메소드들

메소드 설명
Setup ( bool randomizedPoints ) : void

Sets up the predefined point cloud.

메소드 상세

CreatePointSetIterator() 공개 메소드

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

GetColorEncoding() 공개 메소드

The implementation of IPointCloudAccess.GetColorEncoding()
public GetColorEncoding ( ) : PointCloudColorEncoding
리턴 PointCloudColorEncoding

GetExtent() 공개 메소드

The implementation of IPointCloudAccess.GetExtent().
public GetExtent ( ) : Outline
리턴 Outline

GetName() 공개 메소드

The implementation of IPointCloudAccess.GetName().
public GetName ( ) : String
리턴 String

GetOffset() 공개 메소드

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
리턴 XYZ

GetUnitsToFeetConversionFactor() 공개 메소드

The implementation of IPointCloudAccess.GetUnitsToFeetConversionFactor().
public GetUnitsToFeetConversionFactor ( ) : double
리턴 double

PredefinedPointCloud() 공개 메소드

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

PredefinedPointCloud() 공개 메소드

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.
리턴 System

ReadPoints() 공개 메소드

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.
리턴 int