Opened 13 years ago

Last modified 11 years ago

#105 new task

Investigate computation of Strike and Dip in PlaneUtils

Reported by: Peter Powers Owned by: Peter Powers
Priority: minor Milestone: OpenSHA 1.4
Component: sha Version:
Keywords: Cc:

Description

Current implementations are cartesian; we need geographic equivalents.
Ensure consistent implementation of strike and dip calculations across project.

This ticket motivated by email exchange:


I assume this requires conversion to a cartesian coordinate system?

What would you recommend as the best way to do this?

On Jun 23, 2010, at 7:56 AM, Peter Powers wrote:

added to trunk:

org.opensha.commons.geo.PlaneUtils?

use

static getStrikeAndDip(double[][] verticesIn)

I'm pretty sure it's written assuming depth is positive up so you'll probably have to change sign when pulling x,y,z vals from Locations.

-peter

Change History (3)

comment:1 Changed 13 years ago by Peter Powers

Milestone: OpenSHA 1.2OpenSHA 1.3
Priority: majorminor

comment:2 Changed 11 years ago by Kevin Milner

Peter, still an open issue or punt to 1.4?

comment:3 Changed 11 years ago by Peter Powers

Milestone: OpenSHA 1.3OpenSHA 1.4

Punt

Note: See TracTickets for help on using tickets.