Package chemaxon.struc.graphics
Class MEFlowBasePoint
java.lang.Object
chemaxon.struc.MObject
chemaxon.struc.MPoint
chemaxon.struc.graphics.MEFlowBasePoint
- All Implemented Interfaces:
- Serializable,- Cloneable
Electron flow arrow base point. May be fixed to a lone pair.
- Since:
- Marvin 5.3, 09/25/2009
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class chemaxon.struc.MObjectTRANSFORM_DISTORT
- 
Constructor SummaryConstructorsConstructorDescriptionContructs an empty point object.Copy constructor.MEFlowBasePoint(MolAtom a, MPoint p) Contructs a point object.
- 
Method SummaryModifier and TypeMethodDescriptionbooleancheckValidity(MDocument doc, Collection<MolAtom> invec) Is it a valid object in the document?clone()Creates a clone.voidbooleanChecks if the atom set contains the specified atom object.booleanTwo points equal if their atoms equal.voidfinishCloning(MDocument olddoc, MDocument newdoc) Finish cloning a document.getAtom()Gets the atom.voidgetLocation(DPoint3 out, CTransform3D trot) Gets the location.Gets the atom at the other end point.getPoint(int i) Gets the point.inthashCode()booleanIs it a transformable object?voidreplaceAtom(MolAtom orig, MolAtom a) Replaces a contained atom with another one.voidsetBaseElectronContainerIndex(int baseElectronContainerIndex) voidsetBaseElectronIndexInContainer(int baseElectronIndexInContainer) voidsetElectronIndex(String label, int dotIndex) voidsetLocation(DPoint3 p, CTransform3D trot) Sets the atom coordinates.voidsetStartEnd(MolAtom a, MPoint p) Sets the atoms.voidtransform(CTransform3D t, int opts, CTransform3D trot) Does not perform any operation.Methods inherited from class chemaxon.struc.MPointcalcCenter, distanceFrom, getLocation, getLocation, getPointCount, getPointRef, getPointRefCount, isChildOf, isInternalSelectable, toStringMethods inherited from class chemaxon.struc.MObjectaddAttributeKeys, addCdataAttributeKeys, addNotify, clearProperties, containsPoint, containsPropertyKey, distanceFrom, fixClonedPoints, getAttribute, getBackground, getColor, getContainerMObject, getLineColor, getProperty, hasBackground, hasColor, hasLineColor, isEmpty, isReactionArrow, isSelectableNow, isSelected, makeColor, propertyCount, propertyKeySet, propertySet, putProperty, removeAtom, removeChild, removeNotify, removeProperty, setAttribute, setBackground, setColor, setLineColor, setSelected, unselectContents, updateBoundingRect, updateBoundingRect
- 
Field Details- 
radicalCoordsLabel- See Also:
 
- 
lonePairCoordsLabel- See Also:
 
- 
lonePairRealCoordsLabel- See Also:
 
- 
electronRadious- See Also:
 
 
- 
- 
Constructor Details- 
MEFlowBasePointpublic MEFlowBasePoint()Contructs an empty point object.
- 
MEFlowBasePointContructs a point object.- Parameters:
- a- the starting point of the arrow
- p- other end point of the arrow
 
- 
MEFlowBasePointCopy constructor.- Parameters:
- p- the point
 
 
- 
- 
Method Details- 
hashCodepublic int hashCode()
- 
equalsTwo points equal if their atoms equal.
- 
cloneDescription copied from class:MObjectCreates a clone.
- 
setStartEndSets the atoms.- Parameters:
- a- the starting point of the arrow
- p- other end point of the arrow
 
- 
getAtomGets the atom.- Returns:
- the atom
 
- 
getOtherEndGets the atom at the other end point.- Returns:
- the atom
 
- 
containsAtomChecks if the atom set contains the specified atom object.- Overrides:
- containsAtomin class- MObject
- Returns:
- true if the atom set contains the specified object, false otherwise
 
- 
connectToSgroupOfAtom- Overrides:
- connectToSgroupOfAtomin class- MObject
 
- 
replaceAtomReplaces a contained atom with another one.- Overrides:
- replaceAtomin class- MObject
- Parameters:
- orig- the original atom
- a- the new atom
 
- 
getLocationGets the location. The atom set's location is the weighted average of the atom locations.- Overrides:
- getLocationin class- MPoint
- Parameters:
- out- the output point object
- trot- the viewing transformation or null
 
- 
setLocationSets the atom coordinates.- Overrides:
- setLocationin class- MPoint
- Parameters:
- p- the new location
- trot- the viewing transformation or null
 
- 
getPointGets the point.
- 
transformDoes not perform any operation. An atom set point's location is fixed to the atoms.
- 
isTransformablepublic boolean isTransformable()Is it a transformable object?- Overrides:
- isTransformablein class- MObject
- Returns:
- true if the object can be transformed, false otherwise
 
- 
checkValidityIs it a valid object in the document?- Overrides:
- checkValidityin class- MObject
- Parameters:
- doc- the document
- invec- collection of invalid atoms or null
- Returns:
- true if the object is valid, false if it contains an unknown atom
 
- 
finishCloningFinish cloning a document. Called by the copy constructor.- Overrides:
- finishCloningin class- MObject
 
- 
setElectronIndex
- 
setBaseElectronContainerIndexpublic void setBaseElectronContainerIndex(int baseElectronContainerIndex) 
- 
setBaseElectronIndexInContainerpublic void setBaseElectronIndexInContainer(int baseElectronIndexInContainer) 
 
-