C# Class RevitLookup.Graphics.GraphicsStream

显示文件 Open project: jeremytammik/RevitLookup Class Usage Examples

Protected Properties

Property Type Description
m_app Autodesk.Revit.UI.UIApplication
m_geomOptionsStack Stack
m_viewStack Stack
m_xformStack Stack

Public Methods

Method Description
DeviationForCurves ( ) : Double
DeviationForCurves ( XYZ samplePt ) : Double
GraphicsStream ( UIApplication app ) : System
PopGeometryOptions ( ) : void
PopView ( ) : void
PopXform ( ) : void
PushGeometryOptions ( Options opts ) : void
PushView ( View view ) : void
PushXform ( Transform mat ) : void
Stream ( Arc arc ) : void
Stream ( Autodesk inst ) : void
Stream ( ConicalFace face ) : void
Stream ( Curve curve ) : void
Stream ( CylindricalFace face ) : void
Stream ( System.Edge edge ) : void
Stream ( EdgeArray edgeArray ) : void
Stream ( Element elem ) : void
Stream ( Ellipse ellipse ) : void
Stream ( Face face ) : void
Stream ( GeometryElement elem ) : void
Stream ( GeometryObject obj ) : void
Stream ( HermiteFace face ) : void
Stream ( IList pts, bool closed ) : void
Stream ( System.Line line ) : void
Stream ( Mesh mesh ) : void
Stream ( NurbSpline spline ) : void
Stream ( PlanarFace face ) : void
Stream ( Profile prof ) : void
Stream ( RevolvedFace face ) : void
Stream ( RuledFace face ) : void
Stream ( Solid solid ) : void
Stream ( XYZ pt1, XYZ pt2 ) : void
StreamWcs ( Arc arc ) : void
StreamWcs ( Curve curve ) : void
StreamWcs ( Ellipse ellipse ) : void
StreamWcs ( IList pts, bool closed ) : void
StreamWcs ( System.Line line ) : void
StreamWcs ( NurbSpline spline ) : void
StreamWcs ( XYZ pt1, XYZ pt2 ) : void

Private Methods

Method Description
StreamCurveAsTesselatedPoints ( Curve crv ) : void
StreamCurveAsTesselatedPointsWcs ( Curve crv ) : void

By default, everything goes out as tesselated vectors. This function allows all the base class functions to easily tesselate. But, if derived classes override individual curve types, they can intercept before they are tesselated.

StreamFaceGeoometry ( Face face ) : void

Do the common work of streaming data out for all Face types

Method Details

DeviationForCurves() public method

public DeviationForCurves ( ) : Double
return Double

DeviationForCurves() public method

public DeviationForCurves ( XYZ samplePt ) : Double
samplePt XYZ
return Double

GraphicsStream() public method

public GraphicsStream ( UIApplication app ) : System
app UIApplication
return System

PopGeometryOptions() public method

public PopGeometryOptions ( ) : void
return void

PopView() public method

public PopView ( ) : void
return void

PopXform() public method

public PopXform ( ) : void
return void

PushGeometryOptions() public method

public PushGeometryOptions ( Options opts ) : void
opts Options
return void

PushView() public method

public PushView ( View view ) : void
view View
return void

PushXform() public method

public PushXform ( Transform mat ) : void
mat Transform
return void

Stream() public method

public Stream ( Arc arc ) : void
arc Arc
return void

Stream() public method

public Stream ( Autodesk inst ) : void
inst Autodesk
return void

Stream() public method

public Stream ( ConicalFace face ) : void
face ConicalFace
return void

Stream() public method

public Stream ( Curve curve ) : void
curve Curve
return void

Stream() public method

public Stream ( CylindricalFace face ) : void
face CylindricalFace
return void

Stream() public method

public Stream ( System.Edge edge ) : void
edge System.Edge
return void

Stream() public method

public Stream ( EdgeArray edgeArray ) : void
edgeArray EdgeArray
return void

Stream() public method

public Stream ( Element elem ) : void
elem Element
return void

Stream() public method

public Stream ( Ellipse ellipse ) : void
ellipse Ellipse
return void

Stream() public method

public Stream ( Face face ) : void
face Face
return void

Stream() public method

public Stream ( GeometryElement elem ) : void
elem GeometryElement
return void

Stream() public method

public Stream ( GeometryObject obj ) : void
obj GeometryObject
return void

Stream() public method

public Stream ( HermiteFace face ) : void
face HermiteFace
return void

Stream() public method

public Stream ( IList pts, bool closed ) : void
pts IList
closed bool
return void

Stream() public method

public Stream ( System.Line line ) : void
line System.Line
return void

Stream() public method

public Stream ( Mesh mesh ) : void
mesh Mesh
return void

Stream() public method

public Stream ( NurbSpline spline ) : void
spline NurbSpline
return void

Stream() public method

public Stream ( PlanarFace face ) : void
face PlanarFace
return void

Stream() public method

public Stream ( Profile prof ) : void
prof Profile
return void

Stream() public method

public Stream ( RevolvedFace face ) : void
face RevolvedFace
return void

Stream() public method

public Stream ( RuledFace face ) : void
face RuledFace
return void

Stream() public method

public Stream ( Solid solid ) : void
solid Solid
return void

Stream() public method

public Stream ( XYZ pt1, XYZ pt2 ) : void
pt1 XYZ
pt2 XYZ
return void

StreamWcs() public method

public StreamWcs ( Arc arc ) : void
arc Arc
return void

StreamWcs() public method

public StreamWcs ( Curve curve ) : void
curve Curve
return void

StreamWcs() public method

public StreamWcs ( Ellipse ellipse ) : void
ellipse Ellipse
return void

StreamWcs() public method

public StreamWcs ( IList pts, bool closed ) : void
pts IList
closed bool
return void

StreamWcs() public method

public StreamWcs ( System.Line line ) : void
line System.Line
return void

StreamWcs() public method

public StreamWcs ( NurbSpline spline ) : void
spline NurbSpline
return void

StreamWcs() public abstract method

public abstract StreamWcs ( XYZ pt1, XYZ pt2 ) : void
pt1 XYZ
pt2 XYZ
return void

Property Details

m_app protected_oe property

protected UIApplication,Autodesk.Revit.UI m_app
return Autodesk.Revit.UI.UIApplication

m_geomOptionsStack protected_oe property

protected Stack m_geomOptionsStack
return Stack

m_viewStack protected_oe property

protected Stack m_viewStack
return Stack

m_xformStack protected_oe property

protected Stack m_xformStack
return Stack