Skip to main content
I am needing to find the inclination between features, similar to how the NeighborFinder calculates distance and direction. 

 

 

When dealing with features in a 3D space though, distance and direction are not enough. Additionally, the distance will be different by measuring to the inclined feature rather than across on a 2D plane.

 

 

Is there a way to do this? 

 

 

Thanks in advance,

 

 

 

 

Matt
Hi Matt,

 

 

one solution might be to replace each feature with a 3D point, use the ElevationExtractor to get the Z-values, connect the points and then use a LengthCalculator (dimension: 3) to get the length in 3D space.

 

 

The inclination can then be found with something like tan? = (Za - Zb) / length.

 

 

David
Thanks David. I'm going to give it a go. Who would have thought 9th grade geometry would ever be practical!!

 

 

 

Regards

 

 

 

 

Matt

 

 

 


Hi Matt,

 

 

Since it's easy to make a mistake in using trigonometric functions, re-confirm carefully the definition of those. I also sometimes get confused 😉

 

Takashi

Reply