Modifier and Type | Method and Description |
---|---|
List<Coords3d> |
Radius.toCircle(int numberOfItems,
double offset,
double z)
Create moves for a circle of items with this radius.
|
Modifier and Type | Field and Description |
---|---|
static Coords3d |
Coords3d.MINUS_TINY
Can be used to move the object that tiny bit that will solve the different annoying manifold issues
and CSG rendering problems.
|
static Coords3d |
Coords3d.TINY
Can be used to move the object that tiny bit that will solve the different annoying manifold issues
and CSG rendering problems.
|
static Coords3d |
Coords3d.X
Represents the (1,0,0) coordinate.
|
static Coords3d |
Coords3d.Y
Represents the (0,1,0) coordinate.
|
static Coords3d |
Coords3d.Z
Represents the (0,0,1) coordinate.
|
static Coords3d |
Coords3d.ZERO
Represents the (0,0,0) coordinate.
|
Modifier and Type | Method and Description |
---|---|
protected Coords3d |
Coords3d.create(double x,
double y,
double z) |
Coords3d |
Coords3d.cross(Coords3d a)
Returns the cross product of this vector and the specified vector.
|
static Coords3d |
EdgeCrossSolver.findIntersection(Coords3d e1v1,
Coords3d e1v2,
Coords3d e2v1,
Coords3d e2v2)
Finds the intersection of the e1v1-e1v2 and e2v1-e2v2 line segments.
|
static Coords3d |
Coords3d.fromByteBuffer(ByteBuffer bb)
Creates a coordinate based on the given byte array.
|
Coords3d |
Boundaries3d.getAlignedValue(Side side)
Returns with the coordinate of this boundary queried by the parameter.
|
Coords3d |
Boundaries3d.getMaxCorner()
Returns with the back-right-top corner's coordinates.
|
Coords3d |
Boundaries3d.getMinCorner()
Returns with the front-left-bottom corner's coordinates.
|
Coords3d |
Coords3d.lerp(Coords3d a,
double t)
Linearly interpolates between this and the specified vector.
|
static Coords3d |
Coords3d.midPoint(Coords3d a,
Coords3d b)
Calculates the midpoint of the ab segment.
|
Coords3d |
Coords3d.rotate(Angles3d angles)
Rotating this coordinate by the given angle, but this object will be unchanged and
this method will create a new object with the new coordinates.
|
Coords3d |
Coords3d.unit()
Returns a normalized copy of this vector with
length . |
static Coords3d |
Coords3d.xOnly(double x)
Creates a coordinate where the Y and Z fields are zero.
|
static Coords3d |
Coords3d.yOnly(double y)
Creates a coordinate where the X and Z fields are zero.
|
static Coords3d |
Coords3d.zOnly(double z)
Creates a coordinate where the X and Y fields are zero.
|
Modifier and Type | Method and Description |
---|---|
List<Coords3d> |
Triangle3d.getPoints()
Returns with the corners of the triangle as a list.
|
Modifier and Type | Method and Description |
---|---|
Coords3d |
Coords3d.cross(Coords3d a)
Returns the cross product of this vector and the specified vector.
|
static Coords3d |
EdgeCrossSolver.findIntersection(Coords3d e1v1,
Coords3d e1v2,
Coords3d e2v1,
Coords3d e2v2)
Finds the intersection of the e1v1-e1v2 and e2v1-e2v2 line segments.
|
static List<Triangle3d> |
Triangle3d.getTriangles(Coords3d... coords)
Creates a list of triangles which covers the polygon defined by the given list of coordinates.
|
Coords3d |
Coords3d.lerp(Coords3d a,
double t)
Linearly interpolates between this and the specified vector.
|
static Coords3d |
Coords3d.midPoint(Coords3d a,
Coords3d b)
Calculates the midpoint of the ab segment.
|
Boundaries3d |
Boundaries3d.move(Coords3d delta)
Moves the interval with the given delta.
|
Boundaries3d |
Boundaries3d.scale(Coords3d delta)
Scales the interval with the given delta.
|
Modifier and Type | Method and Description |
---|---|
static List<Triangle3d> |
Triangle3d.getTriangles(List<Coords3d> coords)
Creates a list of triangles which covers the polygon defined by the given list of coordinates.
|
String |
Triangle3d.toTriangleString(List<Coords3d> coords)
Renders the triangle as is used by OpenSCAD: three index of a list of points -
that's why this method requires a coordinate list as a parameter.
|
Constructor and Description |
---|
Boundaries3d(Coords3d minCorner,
Coords3d maxCorner)
Constructs a new object with the given two corner.
|
Triangle3d(Coords3d point1,
Coords3d point2,
Coords3d point3)
Created the triangle by defining the three corner.
|
Modifier and Type | Method and Description |
---|---|
Coords3d |
Coords2d.withZ(double z)
Creating a 3D coordinate by defining the Z value.
|
Modifier and Type | Method and Description |
---|---|
Coords3d |
Side.calculateCoords(Boundaries3d model,
Boundaries3d relateTo)
This method is used internally by the
#align(Side, eu.printingin3d.javascad.models.Abstract3dModel, boolean)
Abstract3dModel.align(Side, Abstract3dModel, boolean) . |
Coords3d |
Side.calculateCoords(Boundaries3d model,
Boundaries3d relateTo,
boolean inside)
Deprecated.
Use
Side.calculateCoords(Boundaries3d, Boundaries3d) instead |
Coords3d |
Side.calculateCoords(Boundaries3d model,
Coords3d relateTo)
This method is used internally by the
Abstract3dModel.align(Side, Coords3d) . |
Modifier and Type | Method and Description |
---|---|
Coords3d |
Side.calculateCoords(Boundaries3d model,
Coords3d relateTo)
This method is used internally by the
Abstract3dModel.align(Side, Coords3d) . |
Modifier and Type | Method and Description |
---|---|
Abstract3dModel |
Abstract3dModel.align(Side place,
Coords3d coords)
Moves this model to the position relative to the given coordinate.
|
static Abstract3dModel |
Cube.fromCoordinates(Coords3d minCorner,
Coords3d maxCorner)
Creates a cuboid with the given corners.
|
Abstract3dModel |
Abstract3dModel.move(Coords3d delta)
Moves this object by the given coordinates.
|
Abstract3dModel |
Abstract3dModel.moves(Coords3d... delta)
Add moves to this model, which converts this to an
Union , representing more than one model. |
Modifier and Type | Method and Description |
---|---|
Abstract3dModel |
Abstract3dModel.moves(Collection<Coords3d> delta)
Add moves to this model, which converts this to an
Union , representing more than one model. |
Abstract3dModel |
Abstract3dModel.moves(List<Coords3d> delta,
List<String> annotations)
Add moves to this model, which converts this to an
Union , representing more than one model. |
Abstract3dModel |
Abstract3dModel.moves(List<Coords3d> delta,
String... annotations)
Add moves to this model, which converts this to an
Union , representing more than one model. |
Modifier and Type | Method and Description |
---|---|
List<Coords3d> |
Area2d.withZ(double z)
Extends this list of 2D coordinates to a 3D list of coordinates.
|
Modifier and Type | Method and Description |
---|---|
Coords3d |
TransformationMatrix.transform(Coords3d vec) |
Coords3d |
ITransformation.transform(Coords3d vec)
Transforming a coordinate by this transformation.
|
Modifier and Type | Method and Description |
---|---|
Coords3d |
TransformationMatrix.transform(Coords3d vec) |
Coords3d |
ITransformation.transform(Coords3d vec)
Transforming a coordinate by this transformation.
|
Modifier and Type | Method and Description |
---|---|
Coords3d |
Direction.getCoords()
Get the
Coords3d representation of this direction. |
Modifier and Type | Method and Description |
---|---|
static String |
Translate.getTranslate(Coords3d move)
This method is used internally by the
Abstract3dModel - do not use it! |
Constructor and Description |
---|
Scale(Abstract3dModel model,
Coords3d scale)
Creates the scale operation with the given model and scale value.
|
Translate(Abstract3dModel model,
Coords3d move)
Creates a move operation.
|
Modifier and Type | Method and Description |
---|---|
Coords3d |
Facet.getNormal()
Returns the normal of this facet.
|
Modifier and Type | Method and Description |
---|---|
List<Coords3d> |
CSG.getPoints()
Get all the points this CSG holds.
|
protected List<Coords3d> |
Polygon.getVertices() |
Modifier and Type | Method and Description |
---|---|
static Polygon |
Polygon.fromPolygons(List<Coords3d> vertices,
Color color)
Creates a new polygon that consists of the specified vertices.
|
Constructor and Description |
---|
Facet(Triangle3d triangle,
Coords3d normal,
Color color)
Creates a facet based on a triangle and a normal vector.
|
Vertex(Coords3d coords,
Color color)
Creates a new vertex with the given coordinate and color.
|
Copyright © 2014–2020, Printing in 3D. All rights reserved.