| Package | Description |
|---|---|
| org.xmlcml.euclid |
| Modifier and Type | Method and Description |
|---|---|
static Transform2 |
Transform2.applyScale(double scale)
apply scale to each axis
|
static Transform2 |
Transform2.applyScales(double scaleX,
double scaleY)
Deprecated.
use createScaleTransform
|
Transform2 |
Transform2.clone(Transform2 m)
clone
|
Transform2 |
Transform2.concatenate(Transform2 m2)
concatenate
|
static Transform2 |
Transform2.createScaleTransform(double scaleX,
double scaleY)
create diagonal scale matrix.
|
static Transform2 |
Transform2.flipAboutVector(Real2 r)
get Transformation to mirror ('flip') across an axis NOT YET CHECKED
|
static Transform2 |
Transform2.getRotationAboutPoint(Angle angle,
Real2 point)
rotate about a point.
|
static Transform2 |
Transform2.getTransformToRotateAndStretchLine(Real2 pivotPoint,
Real2 movingPoint,
Real2 targetPoint)
transform describing the rotation and stretching of a line.
|
static Transform2 |
Transform2.getTranslationTransform(Real2 translation) |
Transform2 |
Transform2.removeTranslations()
remove translations
does to alter this
|
| Modifier and Type | Method and Description |
|---|---|
Transform2 |
Transform2.clone(Transform2 m)
clone
|
Transform2 |
Transform2.concatenate(Transform2 m2)
concatenate
|
Real2Range |
Real2Range.getTranformedRange(Transform2 t2)
transform range (as copy)
|
Real2 |
Real2.getTransformed(Transform2 t)
gets a point transformed by a rot-trans matrix does NOT MODIFY 'this'
|
boolean |
Transform2.isEqualTo(Transform2 m)
Description of the Method
|
void |
Real2Array.transformBy(Transform2 t2) |
void |
Real2.transformBy(Transform2 t)
transforms the point by a rot-trans matrix MODIFIES 'this' Note the next
routine is often better
|
void |
Window2.transformBy(Transform2 tr) |
void |
Real2Vector.transformBy(Transform2 t)
transforms 'this' by rotation-translation matrix; MODIFIES 'this'
|
| Constructor and Description |
|---|
Transform2(Transform2 m)
copy constructors - assumed to be an OK matrix.
|
Transform2(Transform2 t,
Real2 p)
from rotation about a point, given a matrix NOT CHECKED
|
Copyright © 1994–2024 Peter Murray-Rust. All rights reserved.