Package org.openscience.cdk.sgroup
Class SgroupBracket
- java.lang.Object
-
- org.openscience.cdk.sgroup.SgroupBracket
-
public class SgroupBracket extends Object
Representation of an Sgroup bracket.
-
-
Constructor Summary
Constructors Constructor Description SgroupBracket(double x1, double y1, double x2, double y2)
Create an Sgroup bracket.SgroupBracket(SgroupBracket org)
Copy constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.vecmath.Point2d
getFirstPoint()
First point of the bracket (x1,y1).javax.vecmath.Point2d
getSecondPoint()
Second point of the bracket (x2,y2).String
toString()
-
-
-
Constructor Detail
-
SgroupBracket
public SgroupBracket(double x1, double y1, double x2, double y2)
Create an Sgroup bracket.- Parameters:
x1
- first x coordy1
- first y coordx2
- second x coordy2
- second y coord
-
SgroupBracket
public SgroupBracket(SgroupBracket org)
Copy constructor.- Parameters:
org
- original sgroup bracket
-
-