- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {Charset c =
String charsetName;Charset.forName(charsetName)
Charset.defaultCharset()
ContentType contentType;contentType.getCharset()
- Smart code suggestions by Codota
}
/** * Add a cube to this builder. * @param size edge length of the cube. * @param cubeOffset coordinates of the cube's center. Not modified. * @param color color of the cube. Color accuracy depends on the color palette in use. */ public void addCube(double size, Tuple3d pointsOffset, Color color) { addBox(size, size, size, pointsOffset, color); }
/** * Add a cube to this builder. * @param size edge length of the cube. * @param cubeOffset coordinates of the cube's center. Not modified. * @param color color of the cube. Color accuracy depends on the color palette in use. */ public void addCube(double size, Tuple3DReadOnly pointsOffset, Color color) { addBox(size, size, size, pointsOffset, color); }
/** * Add a cube to this builder. * @param size edge length of the cube. * @param cubeOffset coordinates of the cube's center. Not modified. * @param color color of the cube. Color accuracy depends on the color palette in use. */ public void addCube(float size, Tuple3DReadOnly pointsOffset, Color color) { addBox(size, size, size, pointsOffset, color); }
/** * Add a cube to this builder. * @param size edge length of the cube. * @param cubeOffset coordinates of the cube's center. Not modified. * @param color color of the cube. Color accuracy depends on the color palette in use. */ public void addCube(float size, Tuple3f pointsOffset, Color color) { addBox(size, size, size, pointsOffset, color); }
/** * Add a cube to this builder. * @param size edge length of the cube. * @param xOffset x-coordinate of the cube's center. * @param yOffset y-coordinate of the cube's center. * @param zOffset z-coordinate of the cube's center. * @param color color of the cube. Color accuracy depends on the color palette in use. */ public void addCube(double size, double xOffset, double yOffset, double zOffset, Color color) { addBox(size, size, size, new Point3d(xOffset, yOffset, zOffset), color); }
/** * Add a cube to this builder. * @param size edge length of the cube. * @param xOffset x-coordinate of the cube's center. * @param yOffset y-coordinate of the cube's center. * @param zOffset z-coordinate of the cube's center. * @param color color of the cube. Color accuracy depends on the color palette in use. */ public void addCube(double size, double xOffset, double yOffset, double zOffset, Color color) { addBox(size, size, size, new Point3D(xOffset, yOffset, zOffset), color); }