public class SkinMaker extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SkinMaker.Match
Tuple to avoid ugly castings.
|
Modifier and Type | Method and Description |
---|---|
static List<Point3f> |
generateTriangles(VectorString2D[] vs,
int n_morphed_perimeters,
double delta_,
boolean closed)
From an array of VectorString2D, obtain a list of Point3f which define, every three, a triangle of a skin.
|
static double[][] |
getMorphedPerimeter(VectorString2D vs1,
VectorString2D vs2,
double alpha,
Editions ed)
Returns a weighted VectorString2D.
|
static ArrayList<SkinMaker.Match> |
getMorphedPerimeters(VectorString2D[] vs,
int n_morphed_perimeters,
double delta_,
boolean closed)
From an array of VectorString2D, return a new array of VectorString2D defining all necessary intermediate, morphed perimeters that describe a skin between each consecutive pair; includes the originals inserted at the proper locations.
|
static double[][][] |
getMorphedPerimeters(VectorString2D vs1,
VectorString2D vs2,
int n_morphed_perimeters,
Editions ed)
From two VectorString2D, return an array of x,y points ( in the form [2][n] ) defining all necessary intermediate, morphed perimeters that describe a skin between them (not including the two VectorString2D)
|
public static double[][] getMorphedPerimeter(VectorString2D vs1, VectorString2D vs2, double alpha, Editions ed)
public static double[][][] getMorphedPerimeters(VectorString2D vs1, VectorString2D vs2, int n_morphed_perimeters, Editions ed)
public static ArrayList<SkinMaker.Match> getMorphedPerimeters(VectorString2D[] vs, int n_morphed_perimeters, double delta_, boolean closed)
public static List<Point3f> generateTriangles(VectorString2D[] vs, int n_morphed_perimeters, double delta_, boolean closed)
Copyright © 2015–2021 Fiji. All rights reserved.