Package | Description |
---|---|
org.scijava.java3d |
Provides the core set of classes for the
3D graphics API for the Java platform; click here for more information,
including explanatory material that was formerly found in the guide.
|
org.scijava.vecmath |
Provides 3D vector mathematics classes.
|
Modifier and Type | Method and Description |
---|---|
void |
GeometryArray.getVertexAttr(int vertexAttrNum,
int index,
Point4f vertexAttr)
Gets the vertex attribute associated with the vertex at
the specified index in the specified vertex attribute number
for this object.
|
void |
GeometryArray.getVertexAttrs(int vertexAttrNum,
int index,
Point4f[] vertexAttrs)
Gets the vertex attributes associated with the vertices starting at
the specified index in the specified vertex attribute number
for this object.
|
void |
GeometryArray.setVertexAttr(int vertexAttrNum,
int index,
Point4f vertexAttr)
Sets the vertex attribute associated with the vertex at the
specified index in the specified vertex attribute number for
this object.
|
void |
GeometryArray.setVertexAttrs(int vertexAttrNum,
int index,
Point4f[] vertexAttrs)
Sets the vertex attributes associated with the vertices starting at
the specified index in the specified vertex attribute number
for this object.
|
void |
GeometryArray.setVertexAttrs(int vertexAttrNum,
int index,
Point4f[] vertexAttrs,
int start,
int length)
Sets the vertex attributes associated with the vertices
starting at the specified index in the specified vertex
attribute number for this object using data in
vertexAttrs starting at index start and
ending at index start+length . |
Modifier and Type | Method and Description |
---|---|
float |
Point4f.distance(Point4f p1)
Computes the distance between this point and point p1.
|
float |
Point4f.distanceL1(Point4f p1)
Computes the L-1 (Manhattan) distance between this point and
point p1.
|
float |
Point4f.distanceLinf(Point4f p1)
Computes the L-infinite distance between this point and
point p1.
|
float |
Point4f.distanceSquared(Point4f p1)
Computes the square of the distance between this point and point p1.
|
void |
Point4f.project(Point4f p1)
Multiplies each of the x,y,z components of the Point4f parameter
by 1/w, places the projected values into this point, and places
a 1 as the w parameter of this point.
|
void |
Point3f.project(Point4f p1)
Multiplies each of the x,y,z components of the Point4f parameter
by 1/w and places the projected values into this point.
|
Constructor and Description |
---|
Point4d(Point4f p1)
Constructs and initializes a Point4d from the specified Point4f.
|
Point4f(Point4f p1)
Constructs and initializes a Point4f from the specified Point4f.
|
Copyright © 2016–2022 SciJava. All rights reserved.