Package | Description |
---|---|
heronarts.lx.transform |
Utilities for 3-D transformations and model manipulation.
|
Modifier and Type | Method and Description |
---|---|
LXProjection |
LXProjection.center()
Centers the projection, by translating it such that the origin (0, 0, 0)
becomes the center of the model
|
LXProjection |
LXProjection.reflectX()
Reflects the projection about the x-axis
|
LXProjection |
LXProjection.reflectY()
Reflects the projection about the y-axis
|
LXProjection |
LXProjection.reflectZ()
Reflects the projection about the z-axis
|
LXProjection |
LXProjection.reset()
Reset all points in the projection to the model
|
LXProjection |
LXProjection.rotate(float angle,
float l,
float m,
float n)
Rotates the projection about a vector
|
LXProjection |
LXProjection.rotateX(float angle)
Rotate about the x-axis
|
LXProjection |
LXProjection.rotateY(float angle)
Rotate about the x-axis
|
LXProjection |
LXProjection.rotateZ(float angle)
Rotate about the x-axis
|
LXProjection |
LXProjection.scale(float sx,
float sy,
float sz)
Scales the projection
|
LXProjection |
LXProjection.translate(float tx,
float ty,
float tz)
Translates the projection
|
LXProjection |
LXProjection.translateCenter(float tx,
float ty,
float tz)
Translates the model from its center, so (0, 0, 0) becomes (tx, ty, tz)
|
LX library by Mark C. Slee. © 2012-2020