C# 클래스 RevitLookup.Utils.Geometry

파일 보기 프로젝트 열기: jeremytammik/RevitLookup

공개 메소드들

메소드 설명
GetEdgesOnPlane ( EdgeArray edgeArray, XYZ normal ) : EdgeArray

Given an array of edges, weeds out any edges not present on the desired plane

GetEdgesOnPlaneAtOffset ( EdgeArray edgeArray, XYZ normal, double offset ) : EdgeArray

Given an array of edges, weeds out any edges not present at the given offset

GetProfile ( Solid solid, double offset, Autodesk.Revit app ) : CurveArray

Given a solid, returns a curve array containing the edges which are visible in plan view

GetWorldPlane ( Autodesk app ) : SketchPlane

Get the "standard" plane (equiv. to WCS in AutoCAD terms)

Mirror ( Curve curve, XYZ axis, Application app ) : Curve

Given a curve, mirrors it along the given axis

Mirror ( XYZ point, XYZ axis ) : XYZ

Given a point, mirrors it along the given axis

ToCurveArray ( EdgeArray edgeArray, CurveArray curveArray ) : CurveArray

Given an edge Array converts it to a curveArray

메소드 상세

GetEdgesOnPlane() 공개 정적인 메소드

Given an array of edges, weeds out any edges not present on the desired plane
public static GetEdgesOnPlane ( EdgeArray edgeArray, XYZ normal ) : EdgeArray
edgeArray EdgeArray
normal XYZ normal to the desired plane
리턴 EdgeArray

GetEdgesOnPlaneAtOffset() 공개 정적인 메소드

Given an array of edges, weeds out any edges not present at the given offset
public static GetEdgesOnPlaneAtOffset ( EdgeArray edgeArray, XYZ normal, double offset ) : EdgeArray
edgeArray EdgeArray the array of edges
normal XYZ normal to the desired plane
offset double offset from the plane
리턴 EdgeArray

GetProfile() 공개 정적인 메소드

Given a solid, returns a curve array containing the edges which are visible in plan view
public static GetProfile ( Solid solid, double offset, Autodesk.Revit app ) : CurveArray
solid Solid solid whose plan view edges are needed
offset double offset from plane
app Autodesk.Revit revit application
리턴 CurveArray

GetWorldPlane() 공개 정적인 메소드

Get the "standard" plane (equiv. to WCS in AutoCAD terms)
public static GetWorldPlane ( Autodesk app ) : SketchPlane
app Autodesk
리턴 SketchPlane

Mirror() 공개 정적인 메소드

Given a curve, mirrors it along the given axis
public static Mirror ( Curve curve, XYZ axis, Application app ) : Curve
curve Curve curve to mirror
axis XYZ axis to mirror along
app Application revit application
리턴 Curve

Mirror() 공개 정적인 메소드

Given a point, mirrors it along the given axis
public static Mirror ( XYZ point, XYZ axis ) : XYZ
point XYZ point to mirror
axis XYZ
리턴 XYZ

ToCurveArray() 공개 정적인 메소드

Given an edge Array converts it to a curveArray
public static ToCurveArray ( EdgeArray edgeArray, CurveArray curveArray ) : CurveArray
edgeArray EdgeArray edgeArray to convert
curveArray CurveArray curveArray to fill
리턴 CurveArray