Modifier and Type | Method | Description |
---|---|---|
void |
DrawingTools.draw(Texture texture,
AnchorPosition anchor,
Vector3d position) |
Draw the given texture at given position.
|
void |
DrawingTools.draw(Texture texture,
AnchorPosition anchor,
Vector3d position,
double rotationAngle) |
Draw the given texture at given position with the given rotation angle.
|
Modifier and Type | Method | Description |
---|---|---|
void |
G2DDrawingTools.draw(Texture texture,
AnchorPosition anchor,
Vector3d position) |
|
void |
G2DDrawingTools.draw(Texture texture,
AnchorPosition anchor,
Vector3d position,
double rotationAngle) |
Modifier and Type | Field | Description |
---|---|---|
protected Vector3d |
AbstractDrawable3DObject.normal |
|
protected Vector3d |
AbstractDrawable3DObject.v0 |
|
protected Vector3d |
AbstractDrawable3DObject.v0v1 |
|
protected Vector3d |
AbstractDrawable3DObject.v1 |
|
protected Vector3d[] |
AbstractDrawable3DObject.vertices |
Modifier and Type | Method | Description |
---|---|---|
Vector3d |
AbstractDrawable3DObject.getNormal() |
Get the normal vector.
|
Vector3d |
AbstractDrawable3DObject.getProvidedNormal() |
Get the normal vector.
|
Modifier and Type | Method | Description |
---|---|---|
java.util.List<Segment> |
Segment.breakObject(Vector3d p,
Vector3d u,
Vector3d n) |
|
protected static java.util.List<ConvexObject> |
Triangle.breakTriangleOnLine(Triangle t,
Vector3d p,
Vector3d n) |
Break a triangle according to its intersection with a line containing p in the plane of the triangle and orthogonal to n
The triangle and the line are supposed to be coplanar.
|
protected int |
ConvexObject.check(ConvexObject o,
Vector3d v) |
Check the intersection this and o against vector v.
|
void |
Motor3D.draw(DrawingTools drawingTools,
Texture texture,
AnchorPosition anchor,
Vector3d position,
double rotationAngle) |
|
static double |
Segment.getLength(Vector3d[] vertices) |
|
int |
AbstractDrawable3DObject.isBehind(Vector3d v,
double a) |
|
static boolean |
AbstractDrawable3DObject.isBehind(Vector3d M,
Vector3d v,
double a) |
|
static boolean |
AbstractDrawable3DObject.isNanOrInf(Vector3d v) |
|
protected boolean |
Triangle.isPointInside(Vector3d v) |
|
protected boolean |
Triangle.isPointInside(Vector3d v,
boolean checkCoplanarity) |
|
protected static double[] |
AbstractDrawable3DObject.minmax3D(AbstractDrawable3DObject o,
Vector3d v) |
Get min-max of the projections of the vertices of o on v
|
boolean |
Triangle.pointOnVertices(Vector3d p) |
Constructor | Description |
---|---|
AbstractDrawable3DObject(Vector3d[] vertices,
java.awt.Color[] colors) |
Default constructor
|
ConvexObject(Vector3d[] vertices,
java.awt.Color[] colors) |
Default constructor
|
Segment(Vector3d[] vertices,
java.awt.Color[] colors) |
|
Segment(Vector3d[] vertices,
java.awt.Color[] colors,
java.awt.Stroke stroke) |
|
SpritedRectangle(Vector3d vertex,
Texture sprite,
AnchorPosition anchor,
G2DTextureDrawingTools drawingTools,
double rotationAngle) |
|
SpritedRectangle(Vector3d vertex,
Transformation transf,
java.awt.image.BufferedImage image,
Texture.Filter filter) |
|
Triangle(Vector3d[] vertices,
java.awt.Color[] colors) |
|
Triangle(Vector3d[] vertices,
java.awt.Color[] colors,
Vector3d normal) |
|
Triangle(Vector3d[] vertices,
Vector3d[] textureCoords,
java.awt.image.BufferedImage image,
Texture.Filter filter) |
Modifier and Type | Method | Description |
---|---|---|
void |
JoGLDrawingTools.draw(Texture texture,
AnchorPosition anchor,
Vector3d position) |
|
void |
JoGLDrawingTools.draw(Texture texture,
AnchorPosition anchor,
Vector3d position,
double rotationAngle) |
Modifier and Type | Method | Description |
---|---|---|
Vector3d |
JoGLLight.getPosition() |
|
Vector3d |
JoGLLight.getSpotDirection() |
Modifier and Type | Method | Description |
---|---|---|
void |
JoGLLight.setPosition(Vector3d position) |
|
void |
JoGLLight.setSpotDirection(Vector3d spotDirection) |
Modifier and Type | Method | Description |
---|---|---|
Vector3d |
JoGLPickingTools.getUnderlyingPoint(java.awt.Point windowPosition) |
Modifier and Type | Method | Description |
---|---|---|
void |
JoGLTextureManager.draw(JoGLDrawingTools drawingTools,
Texture texture,
AnchorPosition anchor,
Vector3d position,
double rotationAngle) |
|
void |
JoGLTextureManager.JoGLTexture.draw(JoGLDrawingTools drawingTools,
AnchorPosition anchor,
Vector3d position,
double rotationAngle) |
Modifier and Type | Method | Description |
---|---|---|
Vector3d |
Light.getPosition() |
Return the light position.
|
Vector3d |
Light.getSpotDirection() |
Return the spot direction.
|
Modifier and Type | Method | Description |
---|---|---|
void |
Light.setPosition(Vector3d position) |
Set the light position.
|
void |
Light.setSpotDirection(Vector3d spotDirection) |
Set the spot direction.
|
Modifier and Type | Method | Description |
---|---|---|
Vector3d |
PickingTools.getUnderlyingPoint(java.awt.Point windowPosition) |
Return the scene coordinate of the pixel under the given windows position.
|
Modifier and Type | Field | Description |
---|---|---|
static Vector3d |
RulerModel.DEFAULT_FIRST_POINT |
Default first point position.
|
static Vector3d |
RulerModel.DEFAULT_SECOND_POINT |
Default second point position.
|
static Vector3d |
RulerModel.DEFAULT_TICKS_DIRECTION |
Default ticks direction.
|
Modifier and Type | Method | Description |
---|---|---|
Vector3d |
DefaultRulerModel.getFirstPoint() |
|
Vector3d |
RulerModel.getFirstPoint() |
First point getter.
|
Vector3d |
RulerDrawingResult.getNormalizedTicksDirection() |
Normalized projected ticks direction getter.
|
Vector3d |
DefaultRulerModel.getPosition(double value) |
|
Vector3d |
RulerModel.getPosition(double value) |
Return the position corresponding to the given value.
|
Vector3d |
DefaultRulerModel.getSecondPoint() |
|
Vector3d |
RulerModel.getSecondPoint() |
Second point getter.
|
Vector3d |
DefaultRulerModel.getTicksDirection() |
|
Vector3d |
RulerModel.getTicksDirection() |
Ticks direction getter.
|
Modifier and Type | Method | Description |
---|---|---|
void |
DefaultRulerModel.setFirstPoint(Vector3d firstPoint) |
First point setter.
|
void |
DefaultRulerModel.setPoints(Vector3d firstPoint,
Vector3d secondPoint) |
Point setter.
|
void |
DefaultRulerModel.setSecondPoint(Vector3d secondPoint) |
Second point setter.
|
void |
DefaultRulerModel.setTicksDirection(Vector3d ticksDirection) |
Ticks direction setter.
|
Modifier and Type | Method | Description |
---|---|---|
Vector3d |
Vector3f.asDouble() |
|
Vector3d |
Rotation.conjugate(Vector3d v) |
|
Vector3d |
Rotation.conjugateInverse(Vector3d v) |
|
static Vector3d |
Vector3d.getBarycenter(Vector3d v0,
Vector3d v1,
double w0,
double w1) |
|
Vector3d |
Vector3d.getNormalized() |
|
Vector3d |
Rotation.getVectorY() |
|
Vector3d |
Vector3d.minus(Vector3d v) |
|
Vector3d |
Vector3d.plus(Vector3d v) |
|
static Vector3d |
Vector3d.product(Vector3d v1,
Vector3d v2) |
Create a new vector cross-product of the given vectors.
|
Vector3d |
Transformation.project(Vector3d vector) |
Project the given vector.
|
Vector3d |
Transformation.projectDirection(Vector3d direction) |
Project the given direction.
|
Vector3d |
Vector3d.setX(double x) |
Create a new vector, copy of this one, with a new X value.
|
Vector3d |
Vector3d.setY(double y) |
Create a new vector, copy of this one, with a new Y value.
|
Vector3d |
Vector3d.setZ(double z) |
Create a new vector, copy of this one, with a new Z value.
|
Vector3d |
Vector3d.times(double d) |
|
Vector3d |
Transformation.unproject(Vector3d vector) |
Unproject the given vector.
|
Modifier and Type | Method | Description |
---|---|---|
Vector3d |
Rotation.conjugate(Vector3d v) |
|
Vector3d |
Rotation.conjugateInverse(Vector3d v) |
|
static double |
Vector3d.det(Vector3d v0,
Vector3d v1,
Vector3d v2) |
|
static Transformation |
TransformationFactory.getAffineTransformation(Vector3d s,
Vector3d t) |
Return an affine transformation
aX + b
|
static Vector3d |
Vector3d.getBarycenter(Vector3d v0,
Vector3d v1,
double w0,
double w1) |
|
static Rotation |
Rotation.getDegreeRotation(double alpha,
Vector3d v) |
Get a rotation from an angle alpha given in degree and an axis v
|
Vector3d |
Vector3d.minus(Vector3d v) |
|
Vector3d |
Vector3d.plus(Vector3d v) |
|
static Vector3d |
Vector3d.product(Vector3d v1,
Vector3d v2) |
Create a new vector cross-product of the given vectors.
|
Vector3d |
Transformation.project(Vector3d vector) |
Project the given vector.
|
Vector3d |
Transformation.projectDirection(Vector3d direction) |
Project the given direction.
|
double |
Vector3d.scalar(Vector3d v) |
|
Vector3d |
Transformation.unproject(Vector3d vector) |
Unproject the given vector.
|
Constructor | Description |
---|---|
Rotation(double alpha,
Vector3d v) |
The created object represent a rotation of an angle of 'alpha' radians along the vector 'v'.
|
Vector3d(Vector3d v) |