normtocrest
algorithm
- calculates normal components in the points of the crestline
- calculates starting points for linear cuts along the crestline
- plots normal vectors to the crestline
- use crestline in order to calculate CREST
syntax
[CRESTN]=normtocrest(X,Y,CREST)
example for input
[CRESTN]=normtocrest(X,Y,CREST)
input arguments
| Name |
description |
| X,Y |
vectors defining the rectangular domain |
| CREST |
coordinates of crestline |
output arguments
| Name |
description |
| [CRESTN] |
four line matrix containing: xs,ys: starting points of normal vectors, nxs, nys: components of normal vectors |
| plot |
crestline normals |