메소드 | 설명 | |
---|---|---|
Boundary ( XYZ &origin, XYZ &vX, XYZ &vY ) : void |
Calculate the boundary coordinate of the wire-frame.
|
|
Clone ( ) : |
Deep clone, to avoid mess up the original data during offsetting the boundary.
|
|
ConstructMultiplanarRebarShape ( Document revitDoc, double bendDiameter ) : RebarShape |
Create the multi-planar Rebar Shape according to the trapezoid wire-frame.
|
|
Draw ( Document revitDoc ) : void |
Draw the trapezoid wire-frame with Revit Model curves. It's for debug use, to help developer see the exact location.
|
|
OffsetBottom ( double offset ) : void |
Offset the bottom line with given value, if the value is positive, the offset direction is outside, otherwise inside.
|
|
OffsetLeft ( double offset ) : void |
Offset the Left Vertical line with given value, if the value is positive, the offset direction is outside, otherwise inside.
|
|
OffsetRight ( double offset ) : void |
Offset the right slanted line with given value, if the value is positive, the offset direction is outside, otherwise inside.
|
|
OffsetTop ( double offset ) : void |
Offset the top line with given value, if the value is positive, the offset direction is outside, otherwise inside.
|
|
Trapezoid ( System.Line top, System.Line vertical, System.Line bottom, System.Line slanted ) : System |
Constructor to initialize the fields.
|
public Boundary ( XYZ &origin, XYZ &vX, XYZ &vY ) : void | ||
origin | XYZ | Origin coordinate |
vX | XYZ | X Vector |
vY | XYZ | Y Vector |
리턴 | void |
public ConstructMultiplanarRebarShape ( Document revitDoc, double bendDiameter ) : RebarShape | ||
revitDoc | Document | Revit DB Document |
bendDiameter | double | OutOfPlaneBendDiameter for multi-planar shape |
리턴 | RebarShape |
public OffsetBottom ( double offset ) : void | ||
offset | double | Offset value |
리턴 | void |
public Trapezoid ( System.Line top, System.Line vertical, System.Line bottom, System.Line slanted ) : System | ||
top | System.Line | Top Line |
vertical | System.Line | Left Vertical Line |
bottom | System.Line | Bottom Line |
slanted | System.Line | Right slanted Line |
리턴 | System |