Package | Description |
---|---|
heronarts.lx.model |
Geometry models, points and fixtures.
|
heronarts.lx.transform |
Utilities for 3-D transformations and model manipulation.
|
Modifier and Type | Field and Description |
---|---|
LXVector |
LXModel.average
Average position in the model (weighted by point density)
|
LXVector |
LXModel.center
Center position in the model (half-way between extremes)
|
Modifier and Type | Method and Description |
---|---|
LXPoint |
LXPoint.set(LXMatrix matrix,
LXVector that)
Set the x, y, and z values based upon another point multiplied by a transform matrix
|
StripModel.Metrics |
StripModel.Metrics.setOrigin(LXVector v) |
GridModel.Metrics |
GridModel.Metrics.setOrigin(LXVector v) |
StripModel.Metrics |
StripModel.Metrics.setSpacing(LXVector v) |
Constructor and Description |
---|
LXPoint(LXVector v)
Construct a point in 3-d space based upon a vector
|
Modifier and Type | Method and Description |
---|---|
LXVector |
LXVector.add(float x,
float y) |
LXVector |
LXVector.add(float x,
float y,
float z) |
LXVector |
LXVector.add(LXVector that) |
LXVector |
LXVector.copy() |
LXVector |
LXVector.cross(float x,
float y,
float z) |
LXVector |
LXVector.cross(LXVector that) |
LXVector |
LXVector.div(float n) |
LXVector |
LXVector.lerp(LXVector that,
float amt) |
LXVector |
LXVector.limit(float max) |
LXVector |
LXVector.mult(float n) |
LXVector |
LXVector.normalize() |
LXVector |
LXVector.rotate(float theta)
Rotate in x-y plane
|
LXVector |
LXVector.rotate(float theta,
float l,
float m,
float n)
Rotate about an arbitrary vector.
|
LXVector |
LXVector.set(float x,
float y) |
LXVector |
LXVector.set(float x,
float y,
float z) |
LXVector |
LXVector.set(LXPoint that) |
LXVector |
LXVector.set(LXVector that) |
LXVector |
LXVector.setMag(float mag) |
LXVector |
LXVector.sub(float x,
float y) |
LXVector |
LXVector.sub(float x,
float y,
float z) |
LXVector |
LXVector.sub(LXVector that) |
LXVector |
LXTransform.vector()
Gets the current x, y, z of the transform as a vector
|
Modifier and Type | Method and Description |
---|---|
Iterator<LXVector> |
LXProjection.iterator() |
Modifier and Type | Method and Description |
---|---|
LXVector |
LXVector.add(LXVector that) |
static float |
LXVector.angleBetween(LXVector v1,
LXVector v2)
Calculates and returns the angle (in radians) between two vectors.
|
LXVector |
LXVector.cross(LXVector that) |
float |
LXVector.dist(LXVector that) |
float |
LXVector.dot(LXVector that) |
LXVector |
LXVector.lerp(LXVector that,
float amt) |
LXVector |
LXVector.set(LXVector that) |
LXVector |
LXVector.sub(LXVector that) |
Constructor and Description |
---|
LXVector(LXVector that) |
LX library by Mark C. Slee. © 2012-2020