|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectchemaxon.struc.MProp
chemaxon.struc.prop.MHCoords3DProp
public class MHCoords3DProp
3D coordinates array property. These properties are "coordinate dependent" by default thus they become invalid when molecule coordinates are changed.
| Field Summary |
|---|
| Fields inherited from class chemaxon.struc.MProp |
|---|
CONV_SELFREF, COORDDEP |
| Constructor Summary | |
|---|---|
MHCoords3DProp(java.util.Map map,
MoleculeGraph m)
Constructs a property object from a map. |
|
MHCoords3DProp(java.lang.String sval)
Constructs a point array property from a string value. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clones the object. |
MProp |
cloneProp()
Clones the object. |
java.lang.String |
convertToString(java.lang.String fmt,
int flags)
Converts the property to text format. |
java.util.Map |
getMap(MoleculeGraph m)
Gets a map containing MolAtom objects as keys and DPoint3 arrays as values. |
DPoint3[] |
getPoints(int k)
Gets the Hydrogen locations for an atom. |
java.lang.String |
getPropType()
Gets the type name of the property. |
java.lang.Object |
getPropValue()
Gets the property value as an object. |
java.lang.String |
getPropXSDType()
Gets the XSD type name of the property. |
void |
transform(CTransform3D t)
Transforms the coordinates. |
| Methods inherited from class chemaxon.struc.MProp |
|---|
convertToString, getGrinvCC, getPropArraySize, isCoordDependent, setCoordDependent, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MHCoords3DProp(java.util.Map map,
MoleculeGraph m)
map - map containing atoms as keys and DPoint3 arrays as valuesm - the molecule graph
public MHCoords3DProp(java.lang.String sval)
throws MolFormatException
sval - the string value
MolFormatException| Method Detail |
|---|
public java.lang.String convertToString(java.lang.String fmt,
int flags)
convertToString in class MPropfmt - the molecule file format or nullflags - optional conversion flags
MProp.CONV_SELFREFpublic java.lang.Object getPropValue()
getPropValue in class MProppublic final java.util.Map getMap(MoleculeGraph m)
m - molecule containing the atoms
public final DPoint3[] getPoints(int k)
k - atom index
public java.lang.String getPropType()
getPropType in class MProppublic java.lang.String getPropXSDType()
getPropXSDType in class MProppublic MProp cloneProp()
cloneProp in class MProppublic java.lang.Object clone()
clone in class java.lang.Objectpublic void transform(CTransform3D t)
transform in interface MTransformablet - the transformation matrix
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||