public class HexTrimmer
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
checkNodes |
static int[][] |
HEX_PERMUTATIONS |
static int |
SAMPLE_POINTS |
static int |
SAMPLE_RES |
| Constructor and Description |
|---|
HexTrimmer() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
trim(HexElement hex,
double margin,
DistanceGrid dg,
java.util.List<FemElement3d> toAdd)
Trims corners off a Hex Element if doing so is still outside a margin from an object.
|
public static boolean checkNodes
public static final int[][] HEX_PERMUTATIONS
public static int SAMPLE_POINTS
public static int SAMPLE_RES
public static boolean trim(HexElement hex, double margin, DistanceGrid dg, java.util.List<FemElement3d> toAdd)
hex - hex to trimmargin - margin to leave around the distance queryable objectdg - distance queryable objecttoAdd - populated list of elements to add (result of trimming)