rblock.facet.centroid
Syntax
Vector Access
- v = rblock.facet.centroid(p,if<,i>)
Get the facet centroid. if can take values from 1 to
rblock.facet.num
. The facets correspond to the entries returned byrblock.facet.map
andrblock.vertex.map
.Returns: v - facet centroid vector or component
Arguments: p - rigid block pointer
if - facet number
i - optional vector component
Component Access
- f = rblock.facet.centroid.x(p,if)
Get the x-component of the facet centroid.
Returns: f - x-component of the facet centroid vector
Arguments: p - rigid block pointer
if - facet number
Was this helpful? ... | PFC 6.0 © 2019, Itasca | Updated: Nov 19, 2021 |