C# Class Revit.SDK.Samples.ObjectViewer.CS.GraphicsData

datasource that can bind to PictureBox3D
Inheritance: GraphicsDataBase
Exibir arquivo Open project: AMEE/revit

Public Methods

Method Description
GraphicsData ( ) : System

constructor to initialize member data

InsertCurve ( XYZArray points ) : void

insert curves array into datasource

PointCurves ( ) : List

curves array

UpdataData ( ) : void

update 3D view data

Private Methods

Method Description
SynChroData ( XYZArray points ) : void

update 3D view curve data with origin data and transfer matrix

TransferMove ( XYZ point ) : XYZ

move the point so that the center of the curves in 3D view is origin

TransferRotate ( XYZ point ) : XYZ

rotate points with origion matrix

UpdateRange ( XYZ point, XYZ &min, XYZ &max ) : void

compare to get the max and min value

Method Details

GraphicsData() public method

constructor to initialize member data
public GraphicsData ( ) : System
return System

InsertCurve() public method

insert curves array into datasource
public InsertCurve ( XYZArray points ) : void
points XYZArray points compose the curve
return void

PointCurves() public method

curves array
public PointCurves ( ) : List
return List

UpdataData() public method

update 3D view data
public UpdataData ( ) : void
return void