| Package | Description |
|---|---|
| org.xmlcml.euclid |
| Modifier and Type | Method and Description |
|---|---|
static Real2Vector |
Real2Vector.partOfRegularPolygon(int nsides,
int pointn,
double dist0n)
create part of regular polygon.
|
static Real2Vector |
Real2Vector.regularPolygon(int nsides,
double rad)
create regular polygon.
|
static Real2Vector |
Real2Vector.regularPolygon(int nsides,
double rad,
double angle)
create regular polygon.
|
static Real2Vector |
Real2Vector.regularPolygon(int nsides,
Real2 p1,
Real2 p2,
boolean flip)
create regular polygon.
|
Real2Vector |
Real2Vector.sortAscending(Axis.Axis2 ax)
sort ARRAY on X or Y coordinate; returns new array
|
Real2Vector |
Real2Vector.sortDescending(Axis.Axis2 ax)
sort ARRAY on X or Y coordinate; returns new array
|
Real2Vector |
Real2Vector.subArray(IntSet is)
create a NEW subset of the points; points are COPIED
|
| Modifier and Type | Method and Description |
|---|---|
double |
Real2Vector.getSquaredDifference(Real2Vector r2v)
squared difference between corresponding points in 2 real2Vectors.
|
double[] |
Real2Vector.getSquaredDistances(Real2Vector r2v)
gets array of squared distances between corresponding points.
|
| Constructor and Description |
|---|
Real2Vector(Real2Vector pv)
copy constructor from Real2Vector COPIES pv
|
Copyright © 1994–2024 Peter Murray-Rust. All rights reserved.