Calculating Chain Rank |
The following sections contain information on calculating these values:
chain rank
from-node
to-node
Point Coordinates |
The examples in Example: Calculating From-Node Rank and Example: Calculating To-Node Rank use the information in the following table.
Point | Description | X | Y |
---|---|---|---|
F | from-node of chain | -784533 | 373266 |
D | Detail point | -784688 | 373375 |
T | To-node of chain | -784559 | 373498 |
Variable Definitions |
The variables used in the equations have the following definitions:
RF |
is the rank value at the from-node of the chain. |
RT |
is the rank value at the to-node of the chain. |
A |
is the angle from the chain clockwise to the nearest X or Y axis. |
X |
is the length of a chain segment along the X axis. |
Y |
is the length of a chain segment along the Y axis. |
Calculating Chain Rank |
The from-node and to-node rank values are expressed as a single number in the form ffffff.tttttt. Therefore, the rank for the chain in Example: Calculating From-Node Rank and Example: Calculating To-Node Rank is 131641.240034. This is the value of the RANK variable for this chain in the chains data set.
Note: The trigonometric functions for calculating the RANK value in the following sections are in radians.
The following equations illustrate the steps necessary to calculate the from-node rank:
given
and
then
The following example illustrates calculating a from-node rank with the given values:
given
and
and
then
Calculating the From-Node Rank
The following equations illustrate the steps necessary to calculate the to-node rank:
given
and
then
The following example illustrates calculating a to-node rank with the given values:
given
and
and
then
Calculating the To-Node Rank
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.