Modifier and Type | Method and Description |
---|---|
Moc |
Moc.complement()
Returns the complement of this Moc.
|
Moc |
Moc.degradedToOrder(int order,
boolean keepPartialCells)
Returns a Moc with degraded resolution.
|
static Moc |
MocQuery.doMocQuery(int order,
ArrayList<MocQuery.MocQueryComponent> comp) |
static Moc |
MocQuery.doMocQueryInclusive(int order,
int omax,
ArrayList<MocQuery.MocQueryComponent> comp) |
static Moc |
Moc.fromCompressed(byte[] data) |
static Moc |
Moc.fromUniq(long[] u) |
static Moc |
Moc.fromUniqRS(RangeSet ru) |
Moc |
Moc.intersection(Moc other)
Returns a new Moc that contains the intersection of this Moc and "other".
|
static Moc |
MocFitsIO.mocFromFits(InputStream inp)
Converts the contents of a FITS input stream to a MOC.
|
static Moc |
MocFitsIO.mocFromFits(String filename)
Converts the contents of a FITS file to a MOC.
|
static Moc |
MocStringIO.mocFromString(String in)
Parses a string following either the basic ASCII or JSON syntax given in
the MOC standard document, and converts it into a MOC.
|
static Moc |
MocQuery.queryGeneralPolygon(ArrayList<Vec3> vertex,
int order) |
static Moc |
MocQuery.queryGeneralPolygonInclusive(ArrayList<Vec3> vertex,
int order,
int omax) |
Moc |
Moc.subtraction(Moc other)
Returns a new Moc that contains all parts of this Moc that are not
contained in "other".
|
Moc |
Moc.union(Moc other)
Returns a new Moc that contains the union of this Moc and "other".
|
Modifier and Type | Method and Description |
---|---|
boolean |
Moc.contains(Moc other) |
Moc |
Moc.intersection(Moc other)
Returns a new Moc that contains the intersection of this Moc and "other".
|
static void |
MocFitsIO.mocToFits(Moc moc,
OutputStream out)
Writes the provided Moc to the stream in FITS format.
|
static void |
MocFitsIO.mocToFits(Moc moc,
String filename)
Writes the provided Moc to the specified file in FITS format.
|
static String |
MocStringIO.mocToStringASCII(Moc moc)
Converts the Moc to its basic ASCII representation as described in the MOC
standard document.
|
static String |
MocStringIO.mocToStringJSON(Moc moc)
Converts the Moc to its JSON representation as described in the MOC
standard document.
|
boolean |
Moc.overlaps(Moc other) |
Moc |
Moc.subtraction(Moc other)
Returns a new Moc that contains all parts of this Moc that are not
contained in "other".
|
Moc |
Moc.union(Moc other)
Returns a new Moc that contains the union of this Moc and "other".
|
Constructor and Description |
---|
Moc(Moc other)
Creates a new Moc, which is identical to "other".
|