MEDYAN.fila_node_positions

Tuple{MEDYAN.Context, MEDYAN.FilaIdx}

fila_node_positions(
    c::MEDYAN.Context,
    f::MEDYAN.FilaIdx
) -> Vector{StaticArraysCore.SVector{3, Float64}}

Return the node positions of the filament, in the format of the node_positions keyword of make_fila!.

The interior nodes are at the chem cylinder boundaries. The first node is at the minus end of the first monomer, and the last node is at the plus end of the last monomer.

These are NOT adjusted for tip extension. Use get_position(c, FilaTipIdx(...)) to get the tip position with extension applied.

During mechanics, the end nodes are moved to the tips, and short end chem cylinders can be merged into their neighbors, see min_monomers_per_cylinder in FilamentMechParams.