Package | Description |
---|---|
org.scijava.vecmath |
Provides 3D vector mathematics classes.
|
Modifier and Type | Method and Description |
---|---|
double |
Point4d.distance(Point4d p1)
Returns the distance between this point and point p1.
|
double |
Point4d.distanceL1(Point4d p1)
Computes the L-1 (Manhattan) distance between this point and
point p1.
|
double |
Point4d.distanceLinf(Point4d p1)
Computes the L-infinite distance between this point and
point p1.
|
double |
Point4d.distanceSquared(Point4d p1)
Returns the square of the distance between this point and point p1.
|
void |
Point4d.project(Point4d p1)
Multiplies each of the x,y,z components of the Point4d parameter
by 1/w, places the projected values into this point, and places
a 1 as the w parameter of this point.
|
void |
Point3d.project(Point4d p1)
Multiplies each of the x,y,z components of the Point4d parameter
by 1/w and places the projected values into this point.
|
Constructor and Description |
---|
Point4d(Point4d p1)
Constructs and initializes a Point4d from the specified Point4d.
|
Point4f(Point4d p1)
Constructs and initializes a Point4f from the specified Point4d.
|
Copyright © 2016–2022 SciJava. All rights reserved.