15 using System.Collections;
17 public class Domain : global::System.IDisposable {
18 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
21 internal Domain(global::System.IntPtr cPtr,
bool cMemoryOwn) {
23 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
this, cPtr);
26 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(
Domain obj) {
27 return (obj ==
null) ?
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero) : obj.swigCPtr;
36 global::System.GC.SuppressFinalize(
this);
39 protected virtual void Dispose(
bool disposing) {
41 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
46 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
72 intervals.GetLength(0),
87 if (cPtr != global::System.IntPtr.Zero) {
89 long[] outArray =
new long[tmpVector.
Count];
90 tmpVector.
CopyTo(outArray);
long [] FlattenedIntervals()
bool Contains(long value)
Domain(long left, long right)
static Domain FromFlatIntervals(long[] flat_intervals)
static Domain FromValues(long[] values)
static Domain FromIntervals(long[][] intervals)
Domain UnionWith(Domain domain)
Domain IntersectionWith(Domain domain)
static Domain AllValues()
virtual void Dispose(bool disposing)
Domain AdditionWith(Domain domain)