|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.composite.geometry.GeometryUtilities
Contains static utility functions useful when working with geometries.
| Method Summary | |
static Boundary |
computeBoundingBoxFromCoordinateSystem(CoordinateSystem cs)
|
static java.lang.String[] |
getStrings(java.lang.String s,
java.lang.String delimiter)
Returns a list of trimmed Strings found in the parameter String separated by the specified delimiter. |
static java.lang.String |
toStringGeometryDescriptorType(int type)
Translates the geometry descriptor type into a human
readable text. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static final Boundary computeBoundingBoxFromCoordinateSystem(CoordinateSystem cs)
public static final java.lang.String toStringGeometryDescriptorType(int type)
type into a human
readable text.
type - the geometry descriptor type to translate
GeometryDescriptor.COMPOSITE_DESCRIPTOR,
GeometryDescriptor.COMPOSITELINE_DESCRIPTOR,
GeometryDescriptor.COMPOSITEGROUP_DESCRIPTOR
public static final java.lang.String[] getStrings(java.lang.String s,
java.lang.String delimiter)
StringTokenizer.
See StringTokenizer on how to use these delimiters.
getStrings returns { "This", "is", "a", "test"} when call like
getString("This is a test", ",.;: ");
s - the string to check.delimiter - the list of characters to be used as delimiter.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||