Package | Description |
---|---|
net.grelf |
This package contains general-purpose Java classes: non-astronomical and
not specific to GRIP.
|
Modifier and Type | Method and Description |
---|---|
Triangle |
Triangle.clone() |
Modifier and Type | Method and Description |
---|---|
boolean |
Triangle.equalAngles(Triangle other,
Angle tolerance)
True even if the vertices are cycled round in the other triangle,
in which case - NB! - other is cycled by this method so it matches,
but false if other is flipped over relative to this.
|
double |
Triangle.getAngleTo(Triangle other)
Assuming this and other pass the equalAngles() test, find the rotation
angle to get from this to other
as an average of the orientation differences for the 3 sides.
|
double |
Triangle.getScaleTo(Triangle other)
Assuming this and other pass the equalAngles() test, find the length
ratio to get from this to other
as an average of the scale factors for the 3 sides.
|