|
ModelElementStraightLinex_direction Method (Node, Node)
|
Calculate the axial direction vector of the element.
Namespace:
Karamba.Elements
Assembly:
KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic Vector3 x_direction(
Node node1,
Node node2
)
Public Function x_direction (
node1 As Node,
node2 As Node
) As Vector3
public:
Vector3 x_direction(
Node^ node1,
Node^ node2
)
member x_direction :
node1 : Node *
node2 : Node -> Vector3
Parameters
- node1
- Type: Node
starting feb-node - node2
- Type: Node
end feb-node
Return Value
Type:
Vector3axial direction of element which considers user preferred axial direction.
Zero length elements return a unit length vector in global x-direction
See Also