geom.poly.normal
Syntax
Vector Access
- v = geom.poly.normal(p<,i>)
Get the polygon normal. If not planar, this is the average of each vertex
Returns: v - polygon normal vector or component
Arguments: p - polygon pointer
i - Optional vector component that ranges from {3 to 3 in 2D; 1 to 3 in 3D}.
Component Access
- f = geom.poly.normal.x(p) (3D only)
Get the x-component of the polygon normal.
Returns: f - x-component of the polygon normal vector Arguments: p - polygon pointer
Was this helpful? ... | PFC 6.0 © 2019, Itasca | Updated: Nov 19, 2021 |