Skip to content
Snippets Groups Projects
Commit fdb62e6a authored by David Sehnal's avatar David Sehnal
Browse files

Added Element.Loci

parent 515ac40a
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@
* @author David Sehnal <david.sehnal@gmail.com>
*/
import { Tuple } from 'mol-data/int'
import { Tuple, SortedArray } from 'mol-data/int'
import Unit from './unit'
import Structure from './structure'
......@@ -35,6 +35,9 @@ namespace Element {
}
export function property<T>(p: Property<T>) { return p; }
/** Represents multiple element locations */
export type Loci = ReadonlyArray<{ unit: Unit, elements: SortedArray }>
}
export default Element
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment