RebarFreeFormAccessorCanBeTerminationPlaneNormal Method |
A vector can be termination (e.g. hook, crank) plane normal if for a bar specified by index, the bar direction is not parallel with the vector.
Namespace: Autodesk.Revit.DB.StructureAssembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntaxpublic bool CanBeTerminationPlaneNormal(
int barIndex,
int end,
XYZ normal
)
Public Function CanBeTerminationPlaneNormal (
barIndex As Integer,
end As Integer,
normal As XYZ
) As Boolean
public:
bool CanBeTerminationPlaneNormal(
int barIndex,
int end,
XYZ^ normal
)
member CanBeTerminationPlaneNormal :
barIndex : int *
end : int *
normal : XYZ -> bool
Parameters
- barIndex Int32
-
The index of bar for which it will try to see if termination plane normal is applicable.
- end Int32
-
The end of bar. Should be 0 for start, 1 for end.
- normal XYZ
-
The termination's plane normal that will be tested.
Return Value
Boolean
A vector can be termination (e.g. hook, crank) plane normal if for a bar specified by index, the bar direction is not parallel with the vector.
Exceptions
Remarks This method does not take into account the rotation of the bar relative to its default position along the distribution path.
See Also