public class MHCoords3DProp extends MProp implements MTransformable
| Constructor and Description |
|---|
MHCoords3DProp(Map<Integer,DPoint3[]> map,
long grinvCC)
Constructs a property object from a map.
|
MHCoords3DProp(Map<MolAtom,DPoint3[]> map,
MoleculeGraph m)
Constructs a property object from a map.
|
MHCoords3DProp(String sval)
Constructs a point array property from a string value.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Clones the object.
|
MProp |
cloneProp()
Clones the object.
|
String |
convertToString(String fmt,
int flags)
Deprecated.
As of Marvin 5.7, replaced by
MPropHandler.convertToString(MProp, String) |
boolean |
equals(Object o) |
Map<MolAtom,DPoint3[]> |
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.
|
String |
getPropType()
Gets the type name of the property.
|
Object |
getPropValue()
Gets the property value as an object.
|
String |
getPropXSDType()
Gets the XSD type name of the property.
|
int |
hashCode() |
String |
toString()
Overrides Object.toString() to ease debugging.
|
void |
transform(CTransform3D t)
Transforms the coordinates.
|
convertToString, getGrinvCC, getPropArraySize, isCoordDependent, setCoordDependentpublic MHCoords3DProp(Map<MolAtom,DPoint3[]> map, MoleculeGraph m)
map - map containing atoms as keys and DPoint3 arrays as valuesm - the molecule graphpublic MHCoords3DProp(Map<Integer,DPoint3[]> map, long grinvCC)
map - map containing atom indices as keys and DPoint3 arrays as
valuespublic MHCoords3DProp(String sval) throws IllegalArgumentException
sval - the string valueIllegalArgumentException@Deprecated public String convertToString(String fmt, int flags)
MPropHandler.convertToString(MProp, String)convertToString in class MPropfmt - the molecule file format or nullflags - optional conversion flagspublic Object getPropValue()
getPropValue in class MProppublic final Map<MolAtom,DPoint3[]> getMap(MoleculeGraph m)
m - molecule containing the atomspublic final DPoint3[] getPoints(int k)
k - atom indexpublic String getPropType()
getPropType in class MProppublic String getPropXSDType()
getPropXSDType in class MProppublic MProp cloneProp()
public void transform(CTransform3D t)
transform in interface MTransformablet - the transformation matrix