|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectchemaxon.struc.MObject
chemaxon.struc.MPoint
chemaxon.struc.graphics.MAtomSetPoint
Point fixed to the location of one or more atoms.
| Field Summary |
| Fields inherited from class chemaxon.struc.MObject |
PAINT_ANTIALIAS, PAINT_FOCUSED, TRANSFORM_DISTORT |
| Constructor Summary | |
MAtomSetPoint()
Contructs an empty point object. |
|
MAtomSetPoint(MAtomSetPoint p)
Copy constructor. |
|
MAtomSetPoint(MolAtom[] a)
Contructs a point object. |
|
| Method Summary | |
boolean |
checkValidity(MDocument doc,
java.util.Vector invec)
Is it a valid object in the document? |
java.lang.Object |
clone()
Creates a clone. |
boolean |
containsAtom(MolAtom a)
Checks if the atom set contains the specified atom object. |
boolean |
equals(MAtomSetPoint o)
Two points equal if their atoms equal. |
boolean |
equals(MPoint o)
Two points equal if their atoms equal. |
boolean |
equals(java.lang.Object o)
Two points equal if their atoms equal. |
void |
finishCloning(MDocument olddoc,
MDocument newdoc)
Finish cloning a document. |
MolAtom[] |
getAtoms()
Gets the atoms. |
MPoint |
getPoint(int i)
Gets the point. |
double |
getX()
Gets the x coordinate. |
double |
getY()
Gets the y coordinate. |
double |
getZ()
Gets the z coordinate. |
boolean |
isTransformable()
Is it a transformable object? |
void |
replaceAtom(MolAtom orig,
MolAtom a)
Replaces a contained atom with another one. |
void |
setAtoms(MolAtom[] a)
Sets the atoms. |
void |
setXYZ(double x,
double y,
double z)
Sets the atom coordinates. |
void |
transform(CTransform3D t,
int opts)
Does not perform any operation. |
| Methods inherited from class chemaxon.struc.MPoint |
calcCenter, distanceFrom, getLocation, getPointCount, getPointRef, getPointRefCount, isChildOf, isInternalSelectable, paint |
| Methods inherited from class chemaxon.struc.MObject |
addAttributeKeys, addCdataAttributeKeys, addNotify, distanceFrom, getAttribute, getBackground, getColor, getLineColor, hasBackground, hasColor, hasLineColor, isEmpty, isSelectableNow, isSelected, makeColor, makeColorString, removeChild, removeNotify, setAttribute, setBackground, setColor, setLineColor, setSelected, unselectContents |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MAtomSetPoint()
public MAtomSetPoint(MolAtom[] a)
a - array of atomspublic MAtomSetPoint(MAtomSetPoint p)
p - the point| Method Detail |
public boolean equals(MAtomSetPoint o)
o - the other point
public boolean equals(MPoint o)
equals in class MPointo - the other point
public boolean equals(java.lang.Object o)
equals in class MPointo - the other point
public java.lang.Object clone()
MObject
clone in class MPointpublic void setAtoms(MolAtom[] a)
a - the atomspublic MolAtom[] getAtoms()
public boolean containsAtom(MolAtom a)
containsAtom in class MObject
public void replaceAtom(MolAtom orig,
MolAtom a)
replaceAtom in class MObjectorig - the original atoma - the new atompublic double getX()
getX in class MPointpublic double getY()
getY in class MPointpublic double getZ()
getZ in class MPoint
public void setXYZ(double x,
double y,
double z)
setXYZ in class MPointx - the x coordinatey - the y coordinatez - the z coordinatepublic MPoint getPoint(int i)
getPoint in class MPointi - the point index (must be 0)
public void transform(CTransform3D t,
int opts)
transform in class MPointt - the transformation matrixopts - transform options or 0public boolean isTransformable()
isTransformable in class MObject
public boolean checkValidity(MDocument doc,
java.util.Vector invec)
checkValidity in class MObjectdoc - the documentinvec - vector for invalid atoms or null
public void finishCloning(MDocument olddoc,
MDocument newdoc)
finishCloning in class MObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||