Opened 10 years ago

Closed 10 years ago

#477 closed defect (fixed)

Add cloning and moving methods to RuptureSurface

Reported by: Kevin Milner Owned by: Kevin Milner
Priority: major Milestone: OpenSHA 1.4
Component: sha Version:
Keywords: Cc:


Ned has requested a clone capability for RuptureSurfaces?, for the purpose of implementing a method to move the surface by some distance in space (e.g., specified by a LocationVector?).

Change History (1)

comment:1 Changed 10 years ago by Kevin Milner

Resolution: fixed
Status: newclosed

Added the following interface methods to RuptureSurface? and all relevant implementations in [10816]:

public RuptureSurface? getMoved(LocationVector? v);

public RuptureSurface? copyShallow();

Note: See TracTickets for help on using tickets.