- A180 - Static variable in class eu.printingin3d.javascad.basic.Angle
-
Constant for the half of the full circle angle - 180 degrees.
- A360 - Static variable in class eu.printingin3d.javascad.basic.Angle
-
Constant for the full circle angle - 360 degrees.
- A45 - Static variable in class eu.printingin3d.javascad.basic.Angle
-
Constant for 45 degrees.
- A90 - Static variable in class eu.printingin3d.javascad.basic.Angle
-
Constant for the quarter of the full circle angle - 90 degrees.
- Abstract2d - Class in eu.printingin3d.javascad.coords2d
-
The base class of all 3D related coordinate classes such as dimensions, angles or coordinates.
- Abstract2d(double, double) - Constructor for class eu.printingin3d.javascad.coords2d.Abstract2d
-
- Abstract2dModel - Class in eu.printingin3d.javascad.models2d
-
Implements IModel interface and adds convenient methods to make it easier to move or rotate
the 2D models.
- Abstract2dModel(Coords2d) - Constructor for class eu.printingin3d.javascad.models2d.Abstract2dModel
-
- Abstract3d - Class in eu.printingin3d.javascad.coords
-
The base class of all 3D related coordinate classes such as dimensions, angles or coordinates.
- Abstract3d(double, double, double) - Constructor for class eu.printingin3d.javascad.coords.Abstract3d
-
- Abstract3dModel - Class in eu.printingin3d.javascad.models
-
Immutable implementation of IModel interface and adds convenient methods to make it easier to move or rotate
the 3D models.
- Abstract3dModel() - Constructor for class eu.printingin3d.javascad.models.Abstract3dModel
-
- add(T) - Method in class eu.printingin3d.javascad.basic.BasicFunc
-
Calculates the sum of this and the given value.
- add(Basic3dFunc<?>) - Method in class eu.printingin3d.javascad.coords.Basic3dFunc
-
Add another value to this class and creates a new object of the same class based on that.
- add(Boundaries3d) - Method in class eu.printingin3d.javascad.coords.Boundaries3d
-
Adds the interval with the given delta - this operation always increase the size of the boundaries.
- add(double) - Method in class eu.printingin3d.javascad.coords.Boundary
-
Adding the given value to the interval and creates a new Boundary object with the new values.
- add(Boundary) - Method in class eu.printingin3d.javascad.coords.Boundary
-
Adding the given value to the interval and creates a new Boundary object with the new values.
- add(VertexPosition) - Method in enum eu.printingin3d.javascad.vrl.VertexPosition
-
This method helps to calculate the position of the polygon by adding two vertex position enum and
calculating the result of the two position.
- addModel(Abstract3dModel) - Method in class eu.printingin3d.javascad.models.Abstract3dModel
-
Convenient method to create a Union.
- addModel(Abstract3dModel) - Method in class eu.printingin3d.javascad.models.Empty3dModel
-
- addModel(Abstract3dModel) - Method in class eu.printingin3d.javascad.tranzitions.Union
-
- addModel(IModel) - Method in class eu.printingin3d.javascad.utils.ModelToFile
-
Adds a model to the list of models this class will save.
- addModel(String, IModel) - Method in class eu.printingin3d.javascad.utils.SaveScadFiles
-
Adds a SCAD file with the given file name and the given model using the default generation context.
- addModel(String, IModel, ITagColors) - Method in class eu.printingin3d.javascad.utils.SaveScadFiles
-
Adds a SCAD file with the given file name and the given model.
- addModel(String, IModel, IColorGenerationContext) - Method in class eu.printingin3d.javascad.utils.SaveScadFiles
-
Adds a SCAD file with the given file name and the given model.
- addModel(String, Abstract3dModel, IScadGenerationContext) - Method in class eu.printingin3d.javascad.utils.SaveScadFiles
-
Deprecated.
- addModelProvider(IModelProvider) - Method in class eu.printingin3d.javascad.utils.SaveScadFiles
-
Adds a model provider with the default generation context.
- addModelProvider(IModelProvider, ITagColors) - Method in class eu.printingin3d.javascad.utils.SaveScadFiles
-
Adds a model provider with the given tag colors.
- addModelProvider(IModelProvider, IColorGenerationContext) - Method in class eu.printingin3d.javascad.utils.SaveScadFiles
-
Adds a model provider with the given color context.
- addModels(Collection<IModel>) - Method in class eu.printingin3d.javascad.utils.ModelToFile
-
Adds models to the list of models this class will save.
- addModels(String, Collection<IModel>) - Method in class eu.printingin3d.javascad.utils.SaveScadFiles
-
Adds a SCAD file with the given file name and the given model list.
- addModels(String, Collection<IModel>, IColorGenerationContext) - Method in class eu.printingin3d.javascad.utils.SaveScadFiles
-
Adds a SCAD file with the given file name and the given model list.
- addModelTo(Side, Abstract3dModel) - Method in class eu.printingin3d.javascad.models.Abstract3dModel
-
Convenient method to create a Union.
- addScadFile(IScadFile) - Method in class eu.printingin3d.javascad.utils.SaveScadFiles
-
Adds a SCAD file.
- addScadFiles(Collection<IScadFile>) - Method in class eu.printingin3d.javascad.utils.SaveScadFiles
-
Adds a collection of SCAD files.
- addTag(int, Color) - Method in class eu.printingin3d.javascad.context.TagColorsBuilder
-
Adds a tag-color mapping to the builder which will be transferred to the TagColors later.
- align(Side, Abstract3dModel, boolean) - Method in class eu.printingin3d.javascad.models.Abstract3dModel
-
- align(Side, Abstract3dModel) - Method in class eu.printingin3d.javascad.models.Abstract3dModel
-
Moves this model to the position relative to the given model.
- align(String, Side, Abstract3dModel) - Method in class eu.printingin3d.javascad.models.Abstract3dModel
-
Moves this model to the position relative to the annotated part of the given model.
- align(String, Side, Abstract3dModel, String) - Method in class eu.printingin3d.javascad.models.Abstract3dModel
-
Moves this model to the position relative to the annotated part of the given model.
- align(Side, Coords3d) - Method in class eu.printingin3d.javascad.models.Abstract3dModel
-
Moves this model to the position relative to the given coordinate.
- AlignType - Enum in eu.printingin3d.javascad.enums
-
Denotes the alignment on one axis.
- allPolygons() - Method in class eu.printingin3d.javascad.vrl.Node
-
Returns with all the polygons this node holds including those which are in the front and back nodes.
- Angle - Class in eu.printingin3d.javascad.basic
-
Immutable representation of an angle.
- Angles3d - Class in eu.printingin3d.javascad.coords
-
Denotes the 3D angles - 3 number which denotes the angles on the X, Y and Z planes
This class is used for the rotation operations.
- Angles3d(double, double, double) - Constructor for class eu.printingin3d.javascad.coords.Angles3d
-
Create a new angle object with the given X, Y and Z value.
- annotate(String) - Method in class eu.printingin3d.javascad.models.Abstract3dModel
-
Annotate this object with the given annotation.
- AnnotatedModelProvider - Class in eu.printingin3d.javascad.utils
-
An IModelProvider implementation based on annotations.
- AnnotatedModelProvider() - Constructor for class eu.printingin3d.javascad.utils.AnnotatedModelProvider
-
- append(String) - Method in class eu.printingin3d.javascad.models.SCAD
-
Append the given text to this object.
- append(SCAD) - Method in class eu.printingin3d.javascad.models.SCAD
-
Append the given text to this object.
- append(String, String) - Static method in class eu.printingin3d.javascad.utils.StringUtils
-
Appends the two given strings together.
- appendPostfix(String) - Method in class eu.printingin3d.javascad.models.ScadSurroundings
-
Prepends the given text to the postfix in this object and returns with a new object representing the new
prefix and suffix.
- appendPrefix(String) - Method in class eu.printingin3d.javascad.models.ScadSurroundings
-
Appends the given text to the prefix in this object and returns with a new object representing the new
prefix and suffix.
- applyTag(int) - Method in class eu.printingin3d.javascad.context.ColorHandlingContext
-
- applyTag(int) - Method in class eu.printingin3d.javascad.context.ExcludedScadGenerationContext
-
- applyTag(int) - Method in class eu.printingin3d.javascad.context.FullScadGenerationContext
-
- applyTag(int) - Method in interface eu.printingin3d.javascad.context.IColorGenerationContext
-
Applying the tag and returns with a new object based on that.
- applyTag(int) - Method in class eu.printingin3d.javascad.context.IncludeGenerationContext
-
- applyTag(int) - Method in interface eu.printingin3d.javascad.context.IScadGenerationContext
-
Apply the given tag to this context.
- applyTag(int) - Method in class eu.printingin3d.javascad.vrl.FacetGenerationContext
-
Apply the given tag to this context - creates a new one if anything changed.
- Area2d - Class in eu.printingin3d.javascad.models2d
-
Represents a list of 2D points.
- Area2d(List<Coords2d>) - Constructor for class eu.printingin3d.javascad.models2d.Area2d
-
Instantiate a new object with the given list of coordinates.
- asDegree() - Method in class eu.printingin3d.javascad.basic.Angle
-
Returns the degree value for this angle.
- asRadian() - Method in class eu.printingin3d.javascad.basic.Angle
-
Returns the radian value for this angle.
- AssertValue - Class in eu.printingin3d.javascad.utils
-
Helper class with convenience method to check assertions.
- atan2(double, double) - Static method in class eu.printingin3d.javascad.basic.Angle
-
Creates an angle object which corresponds the given coordinates.
- Atomic3dModel - Class in eu.printingin3d.javascad.models
-
Represents an atomic 3D object.
- Atomic3dModel() - Constructor for class eu.printingin3d.javascad.models.Atomic3dModel
-
- BACK - Static variable in class eu.printingin3d.javascad.enums.Side
-
- BACK_IN - Static variable in class eu.printingin3d.javascad.enums.Side
-
The back side of the model inside.
- BACK_IN_CENTER - Static variable in class eu.printingin3d.javascad.enums.Side
-
The inside back and center of the model.
- BACK_OUT - Static variable in class eu.printingin3d.javascad.enums.Side
-
The back side of the model outside.
- BACK_OUT_CENTER - Static variable in class eu.printingin3d.javascad.enums.Side
-
The outside back and center of the model.
- background() - Method in class eu.printingin3d.javascad.models.Abstract3dModel
-
Creates a new object with the background flag set, which means it will render in a transparent
light gray color in preview mode and is skipped in CGAL rendering or STL export.
- baseModel - Variable in class eu.printingin3d.javascad.models.Extendable3dModel
-
- Basic3dFunc<T extends Basic3dFunc<T>> - Class in eu.printingin3d.javascad.coords
-
Basic 3D functions.
- Basic3dFunc(double, double, double) - Constructor for class eu.printingin3d.javascad.coords.Basic3dFunc
-
- BasicFunc<T extends BasicFunc<T>> - Class in eu.printingin3d.javascad.basic
-
Basic functions.
- BasicFunc(double) - Constructor for class eu.printingin3d.javascad.basic.BasicFunc
-
- between(double, double, double) - Static method in class eu.printingin3d.javascad.utils.DoubleUtils
-
Returns true if and only if the given value is between value1 and value2.
- BOTTOM - Static variable in class eu.printingin3d.javascad.enums.Side
-
- BOTTOM_IN - Static variable in class eu.printingin3d.javascad.enums.Side
-
The bottom of the model inside.
- BOTTOM_IN_CENTER - Static variable in class eu.printingin3d.javascad.enums.Side
-
The inside bottom and center of the model.
- BOTTOM_OUT - Static variable in class eu.printingin3d.javascad.enums.Side
-
The bottom of the model outside.
- BOTTOM_OUT_CENTER - Static variable in class eu.printingin3d.javascad.enums.Side
-
The outside bottom and center of the model.
- bottomRadius - Variable in class eu.printingin3d.javascad.models.Cylinder
-
- Boundaries2d - Class in eu.printingin3d.javascad.coords2d
-
Represents two intervals interpreting as an including square which could contain the
actual 2D object or objects.
- Boundaries2d(Boundary, Boundary) - Constructor for class eu.printingin3d.javascad.coords2d.Boundaries2d
-
Constructs a new object with the given X, Y and Z boundary.
- Boundaries3d - Class in eu.printingin3d.javascad.coords
-
Represents three intervals interpreting as an including cuboid which could contains the
actual 3D object or objects.
- Boundaries3d(Boundary, Boundary, Boundary) - Constructor for class eu.printingin3d.javascad.coords.Boundaries3d
-
Constructs a new object with the given X, Y and Z boundary.
- Boundaries3d(Coords3d, Coords3d) - Constructor for class eu.printingin3d.javascad.coords.Boundaries3d
-
Constructs a new object with the given two corner.
- Boundary - Class in eu.printingin3d.javascad.coords
-
This object calculates the boundary of a series of values.
- Boundary(double...) - Constructor for class eu.printingin3d.javascad.coords.Boundary
-
Constructs an object using given values to calculate the minimum and maximum values.
- BoundedModel - Class in eu.printingin3d.javascad.models
-
There are cases, when we want to have an object, which boundaries differ from the calculated ones.
- BoundedModel(Abstract3dModel, Boundaries3d) - Constructor for class eu.printingin3d.javascad.models.BoundedModel
-
Creates the object.
- build(List<Polygon>) - Method in class eu.printingin3d.javascad.vrl.Node
-
Build a new node adding the given polygons - splitting the polygons if necessary.
- buildTagColors() - Method in class eu.printingin3d.javascad.context.TagColorsBuilder
-
Build the TagColors object based on the mappings created in this object.
- calculateCoordinate(Boundary, Boundary) - Method in enum eu.printingin3d.javascad.enums.AlignType
-
Used internally to calculate the coordinate on the given axis.
- calculateCoordinate(Boundary, double) - Method in enum eu.printingin3d.javascad.enums.AlignType
-
Used internally to calculate the coordinate on the given axis.
- calculateCoords(Boundaries3d, Boundaries3d, boolean) - Method in class eu.printingin3d.javascad.enums.Side
-
- calculateCoords(Boundaries3d, Boundaries3d) - Method in class eu.printingin3d.javascad.enums.Side
-
- calculateCoords(Boundaries3d, Coords3d) - Method in class eu.printingin3d.javascad.enums.Side
-
- calculateNumberOfSlices(Radius) - Method in class eu.printingin3d.javascad.vrl.FacetGenerationContext
-
Calculate the number of slices for the given radius based on the $fs and $fa values set.
- calculatePointRelation(Coords2d) - Method in class eu.printingin3d.javascad.models2d.Area2d
-
Calculates the relation of the given point and this area.
- CENTER - Static variable in class eu.printingin3d.javascad.enums.Side
-
The center of the model.
- Circle - Class in eu.printingin3d.javascad.models2d
-
Represents a 2D circle.
- Circle(Radius) - Constructor for class eu.printingin3d.javascad.models2d.Circle
-
Constructs the object using the given radius.
- Circle(double) - Constructor for class eu.printingin3d.javascad.models2d.Circle
-
- clipPolygons(List<Polygon>) - Method in class eu.printingin3d.javascad.vrl.Node
-
Recursively removes all polygons in the polygons
list that are
contained within this BSP tree.
- clipTo(Node) - Method in class eu.printingin3d.javascad.vrl.Node
-
Remove all polygons in this BSP tree that are inside the given other BSP tree.
- cloneModel() - Method in class eu.printingin3d.javascad.models.Abstract3dModel
-
Creates a clone of this model, so after the cloning any change on it won't affect.
- close() - Method in class eu.printingin3d.javascad.vrl.export.PolygonFile
-
- close() - Method in class eu.printingin3d.javascad.vrl.export.StlBinaryFile
-
- close() - Method in class eu.printingin3d.javascad.vrl.export.StlTextFile
-
- closeEquals(Abstract3d, Abstract3d) - Static method in class eu.printingin3d.javascad.coords.Abstract3d
-
Checks a much closer equal relation than the equals method does.
- ColorHandlingContext - Class in eu.printingin3d.javascad.context
-
- ColorHandlingContext(ITagColors) - Constructor for class eu.printingin3d.javascad.context.ColorHandlingContext
-
Creates a context with the given tag-color pairs.
- ColorHandlingContext(ITagColors, IColorGenerationContext, int) - Constructor for class eu.printingin3d.javascad.context.ColorHandlingContext
-
- Colorize - Class in eu.printingin3d.javascad.tranzitions
-
Colors the object it contains.
- Colorize(Color, Abstract3dModel) - Constructor for class eu.printingin3d.javascad.tranzitions.Colorize
-
Creates a Colorized object of the given object with the given color.
- combine(Collection<Boundaries3d>) - Static method in class eu.printingin3d.javascad.coords.Boundaries3d
-
Calculate the including cuboid so the result of this method is an interval representing a cuboid
that all of the parameter cuboids are inside in this cuboid.
- combine(Collection<Boundary>) - Static method in class eu.printingin3d.javascad.coords.Boundary
-
Creates a Boundary object which will hold the minimum and maximum values
from the given collection.
- combine(Collection<Boundaries2d>) - Static method in class eu.printingin3d.javascad.coords2d.Boundaries2d
-
Calculate the including cuboid so the result of this method is an interval representing a cuboid
that all of the parameter cuboids are inside in this cuboid.
- common(LineSegment2d) - Method in class eu.printingin3d.javascad.coords2d.LineSegment2d
-
Calculates the common part of the two line segments if there are any.
- compareEps(double, double) - Static method in class eu.printingin3d.javascad.utils.DoubleUtils
-
- Complex3dModel - Class in eu.printingin3d.javascad.models
-
This class represents a complex 3D model which consists of several primitive models.
- Complex3dModel() - Constructor for class eu.printingin3d.javascad.models.Complex3dModel
-
- Consts - Class in eu.printingin3d.javascad.openscad
-
Represents the constants for $fs and $fa which controls the resolution of every circle,
cylinder or sphere.
- Consts() - Constructor for class eu.printingin3d.javascad.openscad.Consts
-
Constructs default constants with $fs = 0.25 and $fa = 6.
- Consts(double, int) - Constructor for class eu.printingin3d.javascad.openscad.Consts
-
Constructs a constant with the given fs and fa values.
- contains(T) - Method in class eu.printingin3d.javascad.coords2d.LineSegment
-
Checks if the given coordinate is equals with either end point of this segment.
- convertTo(boolean) - Method in enum eu.printingin3d.javascad.enums.AlignType
-
Return with the corresponding inside or outside alignment of this alignment type based on
the given parameter.
- convertToInside() - Method in enum eu.printingin3d.javascad.enums.AlignType
-
Return with the corresponding inside alignment of this alignment type.
- convertToOutside() - Method in enum eu.printingin3d.javascad.enums.AlignType
-
Return with the corresponding outside alignment of this alignment type.
- Coords2d - Class in eu.printingin3d.javascad.coords2d
-
Immutable representation of a 2D coordinate.
- Coords2d(double, double) - Constructor for class eu.printingin3d.javascad.coords2d.Coords2d
-
Instantiating a new coordinate with the given coordinates.
- Coords3d - Class in eu.printingin3d.javascad.coords
-
Immutable representation of a 3D coordinate with useful helper methods.
- Coords3d(double, double, double) - Constructor for class eu.printingin3d.javascad.coords.Coords3d
-
Instantiating a new coordinate with the given coordinates.
- cos() - Method in class eu.printingin3d.javascad.basic.Angle
-
The cosine value of this angle.
- CoverFactory - Class in eu.printingin3d.javascad.tranzitions.slicer
-
Helper class to support the slicing functionality by Slicer.
- create(double) - Method in class eu.printingin3d.javascad.basic.Angle
-
- create(double) - Method in class eu.printingin3d.javascad.basic.BasicFunc
-
- create(double) - Method in class eu.printingin3d.javascad.basic.Radius
-
- create() - Method in class eu.printingin3d.javascad.context.ScadGenerationContextFactory
-
Creates the context based on the includes and excludes set before.
- create(double, double, double) - Method in class eu.printingin3d.javascad.coords.Angles3d
-
- create(double, double, double) - Method in class eu.printingin3d.javascad.coords.Basic3dFunc
-
- create(double, double, double) - Method in class eu.printingin3d.javascad.coords.Coords3d
-
- create(double, double, double) - Method in class eu.printingin3d.javascad.coords.Dims3d
-
- createCover(Abstract3dModel, Direction, double, boolean) - Static method in class eu.printingin3d.javascad.tranzitions.slicer.CoverFactory
-
Create a helper object to be used.
- createExporter(File) - Static method in class eu.printingin3d.javascad.vrl.export.FileExporterFactory
-
Creates a
file exporter
based on the
extension of the supplied file.
- createSymmetricBoundary(double) - Static method in class eu.printingin3d.javascad.coords.Boundary
-
Creates a Boundary object which has the given maximum value and the middle is zero.
- createVariances() - Method in class eu.printingin3d.javascad.coords.Basic3dFunc
-
Creates a collection of values which contains all variances of this coordinates and
their negated pair.
- cross(Coords3d) - Method in class eu.printingin3d.javascad.coords.Coords3d
-
Returns the cross product of this vector and the specified vector.
- CSG - Class in eu.printingin3d.javascad.vrl
-
Constructive Solid Geometry (CSG).
- CSG(List<Polygon>) - Constructor for class eu.printingin3d.javascad.vrl.CSG
-
Creates a new CSG file based on the given polygons.
- CSGTestMain - Class in eu.printingin3d.javascad
-
- CSGTestMain() - Constructor for class eu.printingin3d.javascad.CSGTestMain
-
- Cube - Class in eu.printingin3d.javascad.models
-
Represents a cuboid.
- Cube(Dims3d) - Constructor for class eu.printingin3d.javascad.models.Cube
-
Creates a cuboid with the given size values.
- Cube(double) - Constructor for class eu.printingin3d.javascad.models.Cube
-
Creates a cube with the given size.
- Cylinder - Class in eu.printingin3d.javascad.models
-
Represents a cylinder, a truncated cone or a cone.
- Cylinder(double, Radius, Radius) - Constructor for class eu.printingin3d.javascad.models.Cylinder
-
Creates a truncated cone.
- Cylinder(double, Radius) - Constructor for class eu.printingin3d.javascad.models.Cylinder
-
Creates a cylinder with a given length and radius.
- Cylinder(double, double, double) - Constructor for class eu.printingin3d.javascad.models.Cylinder
-
- Cylinder(double, double) - Constructor for class eu.printingin3d.javascad.models.Cylinder
-
- debug() - Method in class eu.printingin3d.javascad.models.Abstract3dModel
-
Creates a new object with the debug flag set, which means it is rendered in a different color
in preview mode (it does not affect the CGAL rendering or STL export).
- DEFAULT - Static variable in class eu.printingin3d.javascad.context.ColorHandlingContext
-
The default color handling context.
- DEFAULT - Static variable in class eu.printingin3d.javascad.context.ScadGenerationContextFactory
-
The default generation context.
- DEFAULT - Static variable in class eu.printingin3d.javascad.vrl.FacetGenerationContext
-
Default context.
- Difference - Class in eu.printingin3d.javascad.tranzitions
-
Difference operation.
- Difference(Abstract3dModel, List<Abstract3dModel>) - Constructor for class eu.printingin3d.javascad.tranzitions.Difference
-
Creates the object with the models given.
- Difference(Abstract3dModel, Abstract3dModel...) - Constructor for class eu.printingin3d.javascad.tranzitions.Difference
-
Creates the object with the list of models given.
- difference(CSG) - Method in class eu.printingin3d.javascad.vrl.CSG
-
Return a new CSG solid representing the difference of this csg and the
specified csg.
- Dims2d - Class in eu.printingin3d.javascad.coords2d
-
Denotes the size of a 2D object, thus negative values are forbidden.
- Dims2d(double, double) - Constructor for class eu.printingin3d.javascad.coords2d.Dims2d
-
Creates a new object with the given values.
- Dims3d - Class in eu.printingin3d.javascad.coords
-
Denotes the size of a 3D object, thus negative values are forbidden.
- Dims3d(double, double, double) - Constructor for class eu.printingin3d.javascad.coords.Dims3d
-
Creates a new object with the given values.
- Direction - Enum in eu.printingin3d.javascad.tranzitions
-
Denotes the direction.
- distance(Basic3dFunc<?>) - Method in class eu.printingin3d.javascad.coords.Basic3dFunc
-
Calculates the distance between this coordinate and the given coordinate.
- divide(double) - Method in class eu.printingin3d.javascad.basic.BasicFunc
-
Divides this object with the given value and returns with a new object
representing the new value.
- dot(Abstract3d) - Method in class eu.printingin3d.javascad.coords.Abstract3d
-
Returns the dot product of this vector and the specified vector.
- dot(Abstract2d) - Method in class eu.printingin3d.javascad.coords2d.Abstract2d
-
Returns the dot product of this vector and the specified vector.
- DoubleUtils - Class in eu.printingin3d.javascad.utils
-
Miscellaneous helper methods regarding doubles.
- Facet - Class in eu.printingin3d.javascad.vrl
-
Immutable representation of one triangle in the mesh with a normal pointing outward from the object.
- Facet(Triangle3d, Coords3d, Color) - Constructor for class eu.printingin3d.javascad.vrl.Facet
-
Creates a facet based on a triangle and a normal vector.
- FacetGenerationContext - Class in eu.printingin3d.javascad.vrl
-
Generation context for the CSG rendering.
- FacetGenerationContext(ITagColors, FacetGenerationContext, int) - Constructor for class eu.printingin3d.javascad.vrl.FacetGenerationContext
-
Creates a new context with the given tag-color pairs, parent context and tag.
- FileExporterFactory - Class in eu.printingin3d.javascad.vrl.export
-
Creates a
file exporter
based on the
extension of the supplied file.
- findAnnotatedModel(String) - Method in class eu.printingin3d.javascad.models.Abstract3dModel
-
- findCross(LineSegment2d, LineSegment2d) - Static method in class eu.printingin3d.javascad.coords.EdgeCrossSolver
-
Finds the cross point between two line segments.
- findCrossing(LineSegment2d, boolean) - Method in class eu.printingin3d.javascad.models2d.Area2d
-
Checks if the given line segment has crossing with this geometric form.
- findIndex(Vertex) - Method in class eu.printingin3d.javascad.vrl.VertexMap
-
Finds the index of the given vertex.
- findIntersection(Coords3d, Coords3d, Coords3d, Coords3d) - Static method in class eu.printingin3d.javascad.coords.EdgeCrossSolver
-
Finds the intersection of the e1v1-e1v2 and e2v1-e2v2 line segments.
- flip() - Method in class eu.printingin3d.javascad.vrl.Polygon
-
Flips this polygon.
- format(OutputFormat) - Method in class eu.printingin3d.javascad.coords.Abstract3d
-
Formats the coordinates using the given output format.
- format(OutputFormat) - Method in class eu.printingin3d.javascad.vrl.Vertex
-
Formats this vertex with the given output format.
- formatDouble(double) - Static method in class eu.printingin3d.javascad.utils.DoubleUtils
-
Format the given double with four digits precision, but leave it without a decimal point.
- fromByteArray(ByteBuffer) - Static method in class eu.printingin3d.javascad.coords.Triangle3d
-
Reads the given byte buffer and creates a triangle based on its content.
- fromByteBuffer(ByteBuffer) - Static method in class eu.printingin3d.javascad.coords.Coords3d
-
Creates a coordinate based on the given byte array.
- fromCoordinates(Coords3d, Coords3d) - Static method in class eu.printingin3d.javascad.models.Cube
-
Creates a cuboid with the given corners.
- fromDiameter(double) - Static method in class eu.printingin3d.javascad.basic.Radius
-
Creates a Radius object based on the given diameter.
- fromPoligons(List<Polygon>) - Static method in class eu.printingin3d.javascad.vrl.Node
-
Creates a BSP node consisting of the specified polygons.
- fromPolygons(Polygon...) - Static method in class eu.printingin3d.javascad.vrl.CSG
-
Constructs a CSG from the specified
Polygon
instances.
- fromPolygons(List<Coords3d>, Color) - Static method in class eu.printingin3d.javascad.vrl.Polygon
-
Creates a new polygon that consists of the specified vertices.
- fromRadius(double) - Static method in class eu.printingin3d.javascad.basic.Radius
-
Creates a Radius object based on the given radius.
- fromSquareDistance(double) - Static method in enum eu.printingin3d.javascad.vrl.VertexPosition
-
Determine the vertex position based on the squared distance from the plane.
- FRONT - Static variable in class eu.printingin3d.javascad.enums.Side
-
- FRONT_IN - Static variable in class eu.printingin3d.javascad.enums.Side
-
The front side of the model.
- FRONT_IN_CENTER - Static variable in class eu.printingin3d.javascad.enums.Side
-
The inside front and center of the model.
- FRONT_OUT - Static variable in class eu.printingin3d.javascad.enums.Side
-
The front side of the model.
- FRONT_OUT_CENTER - Static variable in class eu.printingin3d.javascad.enums.Side
-
The outside front and center of the model.
- FullScadGenerationContext - Class in eu.printingin3d.javascad.context
-
Used internally by the context generation framework.
- get(int) - Method in class eu.printingin3d.javascad.models2d.Area2d
-
Gives access to the points of this area.
- getAlignedValue(Side) - Method in class eu.printingin3d.javascad.coords.Boundaries3d
-
Returns with the coordinate of this boundary queried by the parameter.
- getAlignedValue(Boundary) - Method in enum eu.printingin3d.javascad.enums.AlignType
-
Returns with the side of the given boundary denoted by this align.
- getAlignX() - Method in class eu.printingin3d.javascad.enums.Side
-
Returns with the alignment on the x axis.
- getAlignY() - Method in class eu.printingin3d.javascad.enums.Side
-
Returns with the alignment on the y axis.
- getAlignZ() - Method in class eu.printingin3d.javascad.enums.Side
-
Returns with the alignment on the z axis.
- getAssembledModel() - Method in interface eu.printingin3d.javascad.utils.IModelProvider
-
Returns the assembled object.
- getBoundaries() - Method in class eu.printingin3d.javascad.models.Abstract3dModel
-
Calculate the including cuboid for the current model.
- getBoundaries2d() - Method in class eu.printingin3d.javascad.models2d.Abstract2dModel
-
Calculate the including cuboid for the current model.
- getChildrenModels() - Method in class eu.printingin3d.javascad.models.Abstract3dModel
-
- getChildrenModels() - Method in class eu.printingin3d.javascad.models.Atomic3dModel
-
- getChildrenModels() - Method in class eu.printingin3d.javascad.models.BoundedModel
-
- getChildrenModels() - Method in class eu.printingin3d.javascad.models.Extendable3dModel
-
- getChildrenModels() - Method in class eu.printingin3d.javascad.tranzitions.Colorize
-
- getChildrenModels() - Method in class eu.printingin3d.javascad.tranzitions.Difference
-
- getChildrenModels() - Method in class eu.printingin3d.javascad.tranzitions.Hull
-
- getChildrenModels() - Method in class eu.printingin3d.javascad.tranzitions.Intersection
-
- getChildrenModels() - Method in class eu.printingin3d.javascad.tranzitions.Mirror
-
- getChildrenModels() - Method in class eu.printingin3d.javascad.tranzitions.Rotate
-
- getChildrenModels() - Method in class eu.printingin3d.javascad.tranzitions.Scale
-
- getChildrenModels() - Method in class eu.printingin3d.javascad.tranzitions.Slicer
-
- getChildrenModels() - Method in class eu.printingin3d.javascad.tranzitions.Translate
-
- getChildrenModels() - Method in class eu.printingin3d.javascad.tranzitions.Union
-
- getColor() - Method in class eu.printingin3d.javascad.context.ColorHandlingContext
-
- getColor() - Method in interface eu.printingin3d.javascad.context.IColorGenerationContext
-
Returns with the color of the object in the current context.
- getColor(int) - Method in interface eu.printingin3d.javascad.context.ITagColors
-
Returns the color of the given tag or null if there is no color associated to that tag.
- getColor(int) - Method in class eu.printingin3d.javascad.context.TagColors
-
- getColor() - Method in class eu.printingin3d.javascad.vrl.FacetGenerationContext
-
- getContext() - Method in interface eu.printingin3d.javascad.utils.IScadFile
-
The context which will be used during the generation process.
- getCoords() - Method in enum eu.printingin3d.javascad.tranzitions.Direction
-
Get the
Coords3d
representation of this direction.
- getDiameter() - Method in class eu.printingin3d.javascad.basic.Radius
-
Returns with the diameter.
- getEnd() - Method in class eu.printingin3d.javascad.coords2d.LineSegment
-
Returns with the end point of the segment.
- getFile(File) - Method in interface eu.printingin3d.javascad.utils.IScadFile
-
Get the file path relative to the given root directory.
- getIdentityMatrix() - Static method in class eu.printingin3d.javascad.tranform.TransformationFactory
-
Creates an identity transformation matrix.
- getInnerPointCircle(FacetGenerationContext) - Method in class eu.printingin3d.javascad.models2d.Abstract2dModel
-
- getInnerPointCircle(FacetGenerationContext) - Method in class eu.printingin3d.javascad.models2d.Circle
-
- getInnerPointCircle(FacetGenerationContext) - Method in class eu.printingin3d.javascad.models2d.Polygon
-
- getInnerPointCircle(FacetGenerationContext) - Method in class eu.printingin3d.javascad.models2d.RoundedSquare
-
- getInnerPointCircle(FacetGenerationContext) - Method in class eu.printingin3d.javascad.models2d.Square
-
- getInnerPointCircle(FacetGenerationContext) - Method in class eu.printingin3d.javascad.models2d.Text
-
- getInnerPointCircle(FacetGenerationContext) - Method in class eu.printingin3d.javascad.tranzitions2d.Translate
-
- getInnerPointCircle(FacetGenerationContext) - Method in class eu.printingin3d.javascad.tranzitions2d.Union
-
- getMax() - Method in class eu.printingin3d.javascad.coords.Boundary
-
Returns with the calculated maximum value.
- getMaxCorner() - Method in class eu.printingin3d.javascad.coords.Boundaries3d
-
Returns with the back-right-top corner's coordinates.
- getMiddle() - Method in class eu.printingin3d.javascad.coords.Boundary
-
Returns the middle point of the interval.
- getMin() - Method in class eu.printingin3d.javascad.coords.Boundary
-
Returns with the calculated minimum value.
- getMinCorner() - Method in class eu.printingin3d.javascad.coords.Boundaries3d
-
Returns with the front-left-bottom corner's coordinates.
- getMirrorMatrix(Direction) - Static method in class eu.printingin3d.javascad.tranform.TransformationFactory
-
Returns with a transformation representing a mirror on the given direction.
- getModel() - Method in class eu.printingin3d.javascad.utils.ModelWithPath
-
The model.
- getModelBoundaries() - Method in class eu.printingin3d.javascad.models.Abstract3dModel
-
- getModelBoundaries() - Method in class eu.printingin3d.javascad.models.BoundedModel
-
- getModelBoundaries() - Method in class eu.printingin3d.javascad.models.Cube
-
- getModelBoundaries() - Method in class eu.printingin3d.javascad.models.Cylinder
-
- getModelBoundaries() - Method in class eu.printingin3d.javascad.models.Empty3dModel
-
- getModelBoundaries() - Method in class eu.printingin3d.javascad.models.Extendable3dModel
-
- getModelBoundaries() - Method in class eu.printingin3d.javascad.models.LinearExtrude
-
- getModelBoundaries() - Method in class eu.printingin3d.javascad.models.Polyhedron
-
- getModelBoundaries() - Method in class eu.printingin3d.javascad.models.Ring
-
- getModelBoundaries() - Method in class eu.printingin3d.javascad.models.Sphere
-
- getModelBoundaries() - Method in class eu.printingin3d.javascad.models.Support
-
- getModelBoundaries() - Method in class eu.printingin3d.javascad.models2d.Abstract2dModel
-
- getModelBoundaries() - Method in class eu.printingin3d.javascad.models2d.Circle
-
- getModelBoundaries() - Method in class eu.printingin3d.javascad.models2d.Polygon
-
- getModelBoundaries() - Method in class eu.printingin3d.javascad.models2d.Square
-
- getModelBoundaries() - Method in class eu.printingin3d.javascad.models2d.Text
-
- getModelBoundaries() - Method in class eu.printingin3d.javascad.tranzitions.Colorize
-
- getModelBoundaries() - Method in class eu.printingin3d.javascad.tranzitions.Difference
-
- getModelBoundaries() - Method in class eu.printingin3d.javascad.tranzitions.Hull
-
- getModelBoundaries() - Method in class eu.printingin3d.javascad.tranzitions.Intersection
-
- getModelBoundaries() - Method in class eu.printingin3d.javascad.tranzitions.Mirror
-
- getModelBoundaries() - Method in class eu.printingin3d.javascad.tranzitions.Rotate
-
- getModelBoundaries() - Method in class eu.printingin3d.javascad.tranzitions.Scale
-
- getModelBoundaries() - Method in class eu.printingin3d.javascad.tranzitions.Slicer
-
- getModelBoundaries() - Method in class eu.printingin3d.javascad.tranzitions.Translate
-
- getModelBoundaries() - Method in class eu.printingin3d.javascad.tranzitions.Union
-
- getModelBoundaries() - Method in class eu.printingin3d.javascad.tranzitions2d.Translate
-
- getModelBoundaries() - Method in class eu.printingin3d.javascad.tranzitions2d.Union
-
- getModels() - Method in interface eu.printingin3d.javascad.utils.IScadFile
-
The models which should be included in this OpenSCAD file.
- getModelsAndPaths() - Method in class eu.printingin3d.javascad.utils.AnnotatedModelProvider
-
- getModelsAndPaths() - Method in interface eu.printingin3d.javascad.utils.IModelProvider
-
The parts of the object with the path for them.
- getNormal() - Method in class eu.printingin3d.javascad.vrl.Facet
-
Returns the normal of this facet.
- getPointCircle(FacetGenerationContext) - Method in class eu.printingin3d.javascad.models2d.Abstract2dModel
-
Returns with a list of points which forms the shape.
- getPoints() - Method in class eu.printingin3d.javascad.coords.Triangle3d
-
Returns with the corners of the triangle as a list.
- getPoints() - Method in class eu.printingin3d.javascad.vrl.CSG
-
Get all the points this CSG holds.
- getPolygons() - Method in class eu.printingin3d.javascad.vrl.CSG
-
- getPostText() - Method in enum eu.printingin3d.javascad.enums.OutputFormat
-
Returns with the string after the three numbers.
- getPreText() - Method in enum eu.printingin3d.javascad.enums.OutputFormat
-
Returns with the string before the three numbers.
- getRadius() - Method in class eu.printingin3d.javascad.basic.Radius
-
Returns with the radius.
- getRelPath() - Method in class eu.printingin3d.javascad.utils.ModelWithPath
-
The path.
- getRotate(Angles3d) - Static method in class eu.printingin3d.javascad.tranzitions.Rotate
-
- getRotationMatrix(Angles3d) - Static method in class eu.printingin3d.javascad.tranform.TransformationFactory
-
Returns with a transformation representing a rotation by the given angle.
- getRounding() - Method in class eu.printingin3d.javascad.utils.RoundProperties
-
Generates the OpenSCAD representation of the cylinder used by the rounding operation
with the necessary rotation if needed.
- getRoundingSize() - Method in class eu.printingin3d.javascad.utils.RoundProperties
-
Calculates the size increase of the rounding operation.
- getScad() - Method in class eu.printingin3d.javascad.models.SCAD
-
Returns the string representation of the SCAD output.
- getScaleMatrix(Abstract3d) - Static method in class eu.printingin3d.javascad.tranform.TransformationFactory
-
Returns with a transformation representing a scaling by the given values.
- getScaleMatrix(double, double, double) - Static method in class eu.printingin3d.javascad.tranform.TransformationFactory
-
Returns with a transformation representing a scaling by the given values.
- getSeparator() - Method in enum eu.printingin3d.javascad.enums.OutputFormat
-
Returns with the string separating the three numbers.
- getSize() - Method in class eu.printingin3d.javascad.coords.Boundaries3d
-
Returns with the size of this boundaries.
- getSize() - Method in class eu.printingin3d.javascad.coords.Boundary
-
Returns with the size of the interval.
- getStart() - Method in class eu.printingin3d.javascad.coords2d.LineSegment
-
Returns with the start point of the segment.
- getStringRepresentation(Color) - Static method in class eu.printingin3d.javascad.tranzitions.Colorize
-
Generates the SCAD representation of the given color.
- getTag() - Method in class eu.printingin3d.javascad.models.Abstract3dModel
-
For testing purposes only.
- getTranlationMatrix(Abstract3d) - Static method in class eu.printingin3d.javascad.tranform.TransformationFactory
-
Returns with a transformation representing a move by the given vector.
- getTranslate(Coords3d) - Static method in class eu.printingin3d.javascad.tranzitions.Translate
-
- getTranslate(Coords2d) - Static method in class eu.printingin3d.javascad.tranzitions2d.Translate
-
- getTriangle() - Method in class eu.printingin3d.javascad.vrl.Facet
-
Returns the triangle within this facet.
- getTriangles(List<Coords3d>) - Static method in class eu.printingin3d.javascad.coords.Triangle3d
-
Creates a list of triangles which covers the polygon defined by the given list of coordinates.
- getTriangles(Coords3d...) - Static method in class eu.printingin3d.javascad.coords.Triangle3d
-
Creates a list of triangles which covers the polygon defined by the given list of coordinates.
- getValue1() - Method in class eu.printingin3d.javascad.utils.Pair
-
Gives the first value back.
- getValue2() - Method in class eu.printingin3d.javascad.utils.Pair
-
Gives the second value back.
- getVertexes() - Method in class eu.printingin3d.javascad.vrl.Facet
-
Returns all the vertices this facet holds.
- getVertexList() - Method in class eu.printingin3d.javascad.vrl.VertexMap
-
Gives the list of vertexes back which is used with the index calculation.
- getVertices() - Method in class eu.printingin3d.javascad.vrl.Polygon
-
- getX() - Method in class eu.printingin3d.javascad.coords.Abstract3d
-
- getX() - Method in class eu.printingin3d.javascad.coords.Boundaries3d
-
Returns with the boundary on the X plane.
- getX() - Method in class eu.printingin3d.javascad.coords2d.Abstract2d
-
- getX() - Method in class eu.printingin3d.javascad.coords2d.Boundaries2d
-
Returns with the boundary on the X plane.
- getXAngle() - Method in class eu.printingin3d.javascad.coords.Angles3d
-
- getY() - Method in class eu.printingin3d.javascad.coords.Abstract3d
-
- getY() - Method in class eu.printingin3d.javascad.coords.Boundaries3d
-
Returns with the boundary on the Y plane.
- getY() - Method in class eu.printingin3d.javascad.coords2d.Abstract2d
-
- getY() - Method in class eu.printingin3d.javascad.coords2d.Boundaries2d
-
Returns with the boundary on the Y plane.
- getYAngle() - Method in class eu.printingin3d.javascad.coords.Angles3d
-
- getZ() - Method in class eu.printingin3d.javascad.coords.Abstract3d
-
- getZ() - Method in class eu.printingin3d.javascad.coords.Boundaries3d
-
Returns with the boundary on the Z plane.
- getZAngle() - Method in class eu.printingin3d.javascad.coords.Angles3d
-
- IColorGenerationContext - Interface in eu.printingin3d.javascad.context
-
Provides the colors during the SCAD generation process.
- IFileExporter - Interface in eu.printingin3d.javascad.vrl.export
-
An interface used to export facets to file.
- IllegalValueException - Exception in eu.printingin3d.javascad.exceptions
-
Thrown when some parameter of the method or constructor is invalid.
- IllegalValueException(String) - Constructor for exception eu.printingin3d.javascad.exceptions.IllegalValueException
-
Constructs the exception with the given message.
- IllegalValueException(String, Throwable) - Constructor for exception eu.printingin3d.javascad.exceptions.IllegalValueException
-
Constructs the exception with the given message and cause.
- IModel - Interface in eu.printingin3d.javascad.models
-
Represents a renderable 3D model.
- IModelProvider - Interface in eu.printingin3d.javascad.utils
-
Represents a complex 3D object, which assembled by several different parts.
- Import - Class in eu.printingin3d.javascad.models
-
Represents an import operation in OpenSCAD.
- Import(File) - Constructor for class eu.printingin3d.javascad.models.Import
-
Instantiate this import object with the given file.
- Import(File, byte[]) - Constructor for class eu.printingin3d.javascad.models.Import
-
- include(int...) - Method in class eu.printingin3d.javascad.context.ScadGenerationContextFactory
-
Include the given tags to the generated output.
- include(ScadSurroundings) - Method in class eu.printingin3d.javascad.models.ScadSurroundings
-
Inserts the given surrounding inside of this object.
- IncludeGenerationContext - Class in eu.printingin3d.javascad.context
-
Used internally by the context generation framework.
- IncludeGenerationContext(Collection<Integer>, Collection<Integer>) - Constructor for class eu.printingin3d.javascad.context.IncludeGenerationContext
-
- increase() - Method in class eu.printingin3d.javascad.coords.Dims3d
-
Increases the dimension by 1 in every direction.
- innerCloneModel() - Method in class eu.printingin3d.javascad.models.Abstract3dModel
-
- innerCloneModel() - Method in class eu.printingin3d.javascad.models.BoundedModel
-
- innerCloneModel() - Method in class eu.printingin3d.javascad.models.Cube
-
- innerCloneModel() - Method in class eu.printingin3d.javascad.models.Cylinder
-
- innerCloneModel() - Method in class eu.printingin3d.javascad.models.Empty3dModel
-
- innerCloneModel() - Method in class eu.printingin3d.javascad.models.Extendable3dModel
-
- innerCloneModel() - Method in class eu.printingin3d.javascad.models.Import
-
- innerCloneModel() - Method in class eu.printingin3d.javascad.models.LinearExtrude
-
- innerCloneModel() - Method in class eu.printingin3d.javascad.models.Polyhedron
-
- innerCloneModel() - Method in class eu.printingin3d.javascad.models.Prism
-
- innerCloneModel() - Method in class eu.printingin3d.javascad.models.Ring
-
- innerCloneModel() - Method in class eu.printingin3d.javascad.models.Sphere
-
- innerCloneModel() - Method in class eu.printingin3d.javascad.models.Support
-
- innerCloneModel() - Method in class eu.printingin3d.javascad.tranzitions.Colorize
-
- innerCloneModel() - Method in class eu.printingin3d.javascad.tranzitions.Difference
-
- innerCloneModel() - Method in class eu.printingin3d.javascad.tranzitions.Hull
-
- innerCloneModel() - Method in class eu.printingin3d.javascad.tranzitions.Intersection
-
- innerCloneModel() - Method in class eu.printingin3d.javascad.tranzitions.Mirror
-
- innerCloneModel() - Method in class eu.printingin3d.javascad.tranzitions.Rotate
-
- innerCloneModel() - Method in class eu.printingin3d.javascad.tranzitions.Scale
-
- innerCloneModel() - Method in class eu.printingin3d.javascad.tranzitions.Slicer
-
- innerCloneModel() - Method in class eu.printingin3d.javascad.tranzitions.Translate
-
- innerCloneModel() - Method in class eu.printingin3d.javascad.tranzitions.Union
-
- innerSubModel(IScadGenerationContext) - Method in class eu.printingin3d.javascad.models.Abstract3dModel
-
- innerSubModel(IScadGenerationContext) - Method in class eu.printingin3d.javascad.models.Atomic3dModel
-
- innerSubModel(IScadGenerationContext) - Method in class eu.printingin3d.javascad.models.BoundedModel
-
- innerSubModel(IScadGenerationContext) - Method in class eu.printingin3d.javascad.models.Extendable3dModel
-
- innerSubModel(IScadGenerationContext) - Method in class eu.printingin3d.javascad.tranzitions.Colorize
-
- innerSubModel(IScadGenerationContext) - Method in class eu.printingin3d.javascad.tranzitions.Difference
-
- innerSubModel(IScadGenerationContext) - Method in class eu.printingin3d.javascad.tranzitions.Hull
-
- innerSubModel(IScadGenerationContext) - Method in class eu.printingin3d.javascad.tranzitions.Intersection
-
- innerSubModel(IScadGenerationContext) - Method in class eu.printingin3d.javascad.tranzitions.Mirror
-
- innerSubModel(IScadGenerationContext) - Method in class eu.printingin3d.javascad.tranzitions.Rotate
-
- innerSubModel(IScadGenerationContext) - Method in class eu.printingin3d.javascad.tranzitions.Scale
-
- innerSubModel(IScadGenerationContext) - Method in class eu.printingin3d.javascad.tranzitions.Slicer
-
- innerSubModel(IScadGenerationContext) - Method in class eu.printingin3d.javascad.tranzitions.Translate
-
- innerSubModel(IScadGenerationContext) - Method in class eu.printingin3d.javascad.tranzitions.Union
-
- innerToScad(IColorGenerationContext) - Method in class eu.printingin3d.javascad.models.Abstract3dModel
-
Generates the OpenSCAD representation of the model without.
- innerToScad(IColorGenerationContext) - Method in class eu.printingin3d.javascad.models.BoundedModel
-
- innerToScad(IColorGenerationContext) - Method in class eu.printingin3d.javascad.models.Cube
-
- innerToScad(IColorGenerationContext) - Method in class eu.printingin3d.javascad.models.Cylinder
-
- innerToScad(IColorGenerationContext) - Method in class eu.printingin3d.javascad.models.Empty3dModel
-
- innerToScad(IColorGenerationContext) - Method in class eu.printingin3d.javascad.models.Extendable3dModel
-
- innerToScad(IColorGenerationContext) - Method in class eu.printingin3d.javascad.models.Import
-
- innerToScad(IColorGenerationContext) - Method in class eu.printingin3d.javascad.models.LinearExtrude
-
- innerToScad(IColorGenerationContext) - Method in class eu.printingin3d.javascad.models.Polyhedron
-
- innerToScad(IColorGenerationContext) - Method in class eu.printingin3d.javascad.models.Prism
-
- innerToScad(IColorGenerationContext) - Method in class eu.printingin3d.javascad.models.Ring
-
- innerToScad(IColorGenerationContext) - Method in class eu.printingin3d.javascad.models.Sphere
-
- innerToScad(IColorGenerationContext) - Method in class eu.printingin3d.javascad.models.Support
-
- innerToScad(IColorGenerationContext) - Method in class eu.printingin3d.javascad.models2d.Abstract2dModel
-
Generates the OpenSCAD representation of the model without.
- innerToScad(IColorGenerationContext) - Method in class eu.printingin3d.javascad.models2d.Circle
-
- innerToScad(IColorGenerationContext) - Method in class eu.printingin3d.javascad.models2d.Polygon
-
- innerToScad(IColorGenerationContext) - Method in class eu.printingin3d.javascad.models2d.RoundedSquare
-
- innerToScad(IColorGenerationContext) - Method in class eu.printingin3d.javascad.models2d.Square
-
- innerToScad(IColorGenerationContext) - Method in class eu.printingin3d.javascad.models2d.Text
-
- innerToScad(IColorGenerationContext) - Method in class eu.printingin3d.javascad.tranzitions.Colorize
-
- innerToScad(IColorGenerationContext) - Method in class eu.printingin3d.javascad.tranzitions.Difference
-
- innerToScad(IColorGenerationContext) - Method in class eu.printingin3d.javascad.tranzitions.Hull
-
- innerToScad(IColorGenerationContext) - Method in class eu.printingin3d.javascad.tranzitions.Intersection
-
- innerToScad(IColorGenerationContext) - Method in class eu.printingin3d.javascad.tranzitions.Mirror
-
- innerToScad(IColorGenerationContext) - Method in class eu.printingin3d.javascad.tranzitions.Rotate
-
- innerToScad(IColorGenerationContext) - Method in class eu.printingin3d.javascad.tranzitions.Scale
-
- innerToScad(IColorGenerationContext) - Method in class eu.printingin3d.javascad.tranzitions.Slicer
-
- innerToScad(IColorGenerationContext) - Method in class eu.printingin3d.javascad.tranzitions.Translate
-
- innerToScad(IColorGenerationContext) - Method in class eu.printingin3d.javascad.tranzitions.Union
-
- innerToScad(IColorGenerationContext) - Method in class eu.printingin3d.javascad.tranzitions2d.Translate
-
- innerToScad(IColorGenerationContext) - Method in class eu.printingin3d.javascad.tranzitions2d.Union
-
- INSTANCE - Static variable in class eu.printingin3d.javascad.context.ExcludedScadGenerationContext
-
The only instance of this immutable object.
- INSTANCE - Static variable in class eu.printingin3d.javascad.context.FullScadGenerationContext
-
The only instance of this immutable object.
- intersect(Collection<Boundaries3d>) - Static method in class eu.printingin3d.javascad.coords.Boundaries3d
-
Calculate the inner cuboid so the result of this method is an interval representing a cuboid
that is inside all of the parameter cuboids.
- intersect(Collection<Boundary>) - Static method in class eu.printingin3d.javascad.coords.Boundary
-
Creates a Boundary object which will hold the minimum and maximum values
from the given collection.
- intersect(CSG) - Method in class eu.printingin3d.javascad.vrl.CSG
-
Return a new CSG solid representing the intersection of this csg and the
specified csg.
- Intersection - Class in eu.printingin3d.javascad.tranzitions
-
Intersection operation.
- Intersection(List<Abstract3dModel>) - Constructor for class eu.printingin3d.javascad.tranzitions.Intersection
-
Creates the object with the models given.
- Intersection(Abstract3dModel...) - Constructor for class eu.printingin3d.javascad.tranzitions.Intersection
-
Creates the object with the models given.
- inverse() - Method in class eu.printingin3d.javascad.basic.BasicFunc
-
Creates the inverse of this object.
- inverse() - Method in class eu.printingin3d.javascad.coords.Basic3dFunc
-
Return the inverse of this coordinate which means every coordinates will be negated.
- invert() - Method in class eu.printingin3d.javascad.vrl.Node
-
Inverts the node by flipping all the poligons it contains and inverting the front and
back nodes as well.
- isBackground() - Method in class eu.printingin3d.javascad.models.Abstract3dModel
-
For testing purposes only.
- IScadFile - Interface in eu.printingin3d.javascad.utils
-
Represents a OpenSCAD source file.
- IScadGenerationContext - Interface in eu.printingin3d.javascad.context
-
Context for the tag based filtering.
- isDebug() - Method in class eu.printingin3d.javascad.models.Abstract3dModel
-
For testing purposes only.
- isDistinct(Area2d) - Method in class eu.printingin3d.javascad.models2d.Area2d
-
Checks if the two list of coordinates are distinct.
- isEmpty() - Method in class eu.printingin3d.javascad.models.SCAD
-
True if this object doesn't contain any output.
- isFalse(boolean, String) - Static method in class eu.printingin3d.javascad.utils.AssertValue
-
Checks if the value is false - if it isn't, throws an IllegalValueException with the given message.
- isIdent() - Method in class eu.printingin3d.javascad.coords.Abstract3d
-
Checks if all three coordinates are one.
- isInside(double) - Method in class eu.printingin3d.javascad.coords.Boundary
-
Returns true if and only if the given value is within this boundaries limits.
- isInsideOf(Boundary) - Method in class eu.printingin3d.javascad.coords.Boundary
-
Returns true if and only if this boundary is inside of the given boundary.
- isMirror() - Method in interface eu.printingin3d.javascad.tranform.ITransformation
-
True if and only if this transformation is a mirror transformation.
- isMirror() - Method in class eu.printingin3d.javascad.tranform.TransformationMatrix
-
- isMoved() - Method in class eu.printingin3d.javascad.models.Abstract3dModel
-
Returns true if this object is moved false otherwise.
- isNotEmpty(Collection<T>, String) - Static method in class eu.printingin3d.javascad.utils.AssertValue
-
Checks if the value is null and not empty - if it is, throws an IllegalValueException
with the given message.
- isNotNegative(double, String) - Static method in class eu.printingin3d.javascad.utils.AssertValue
-
Checks if the value is not negative - if it is, throws an IllegalValueException with the given message.
- isNotNegative(int, String) - Static method in class eu.printingin3d.javascad.utils.AssertValue
-
Checks if the value is not negative - if it is, throws an IllegalValueException with the given message.
- isNotNull(Object, String) - Static method in class eu.printingin3d.javascad.utils.AssertValue
-
Checks if the value is null - if it is, throws an IllegalValueException with the given message.
- isOnLineSegment(Coords2d) - Method in class eu.printingin3d.javascad.coords2d.LineSegment2d
-
Return true if the given point is on the segment.
- isParallel(LineSegment2d) - Method in class eu.printingin3d.javascad.coords2d.LineSegment2d
-
Checks if the two line segments are parallel.
- isPrimitive() - Method in class eu.printingin3d.javascad.models.Abstract3dModel
-
Returns true if and only if this object represents a primitive, atomic 3D object.
- isPrimitive() - Method in class eu.printingin3d.javascad.models.Atomic3dModel
-
- isPrimitive() - Method in class eu.printingin3d.javascad.models.Complex3dModel
-
- isRotated() - Method in class eu.printingin3d.javascad.models.Abstract3dModel
-
Returns true if the result will contain rotating transformation.
- isTagIncluded() - Method in class eu.printingin3d.javascad.context.ExcludedScadGenerationContext
-
- isTagIncluded() - Method in class eu.printingin3d.javascad.context.ExcludeGenerationContext
-
- isTagIncluded() - Method in class eu.printingin3d.javascad.context.FullScadGenerationContext
-
- isTagIncluded() - Method in class eu.printingin3d.javascad.context.IncludeGenerationContext
-
- isTagIncluded() - Method in interface eu.printingin3d.javascad.context.IScadGenerationContext
-
True if the current object should be included into the result.
- isTrue(boolean, String) - Static method in class eu.printingin3d.javascad.utils.AssertValue
-
Checks if the value is true - if it isn't, throws an IllegalValueException with the given message.
- isXZero() - Method in class eu.printingin3d.javascad.coords.Abstract3d
-
Checks if the X coordinate is zero.
- isXZero() - Method in class eu.printingin3d.javascad.coords2d.Abstract2d
-
Checks if the X coordinate is zero.
- isYZero() - Method in class eu.printingin3d.javascad.coords.Abstract3d
-
Checks if the Y coordinate is zero.
- isYZero() - Method in class eu.printingin3d.javascad.coords2d.Abstract2d
-
Checks if the Y coordinate is zero.
- isZero() - Method in class eu.printingin3d.javascad.basic.BasicFunc
-
Checks if this object represents the zero angle.
- isZero() - Method in class eu.printingin3d.javascad.coords.Abstract3d
-
Checks if all three coordinates are zero, which means it is equals to
isXZero() && isYZero() && isZZero().
- isZero() - Method in class eu.printingin3d.javascad.coords2d.Abstract2d
-
Checks if all three coordinates are zero, which means it is equals to
isXZero() && isYZero() && isZZero().
- isZero(double) - Static method in class eu.printingin3d.javascad.utils.DoubleUtils
-
- isZZero() - Method in class eu.printingin3d.javascad.coords.Abstract3d
-
Checks if the Z coordinate is zero.
- ITagColors - Interface in eu.printingin3d.javascad.context
-
Represents tag-color assignments.
- iterator() - Method in class eu.printingin3d.javascad.models2d.Area2d
-
- ITransformation - Interface in eu.printingin3d.javascad.tranform
-
Represents a coordinate transformation - it can be anything: move, rotation, mirroring...
- LEFT - Static variable in class eu.printingin3d.javascad.enums.Side
-
- LEFT_IN - Static variable in class eu.printingin3d.javascad.enums.Side
-
The left side of the model.
- LEFT_IN_CENTER - Static variable in class eu.printingin3d.javascad.enums.Side
-
The inside left and center of the model.
- LEFT_OUT - Static variable in class eu.printingin3d.javascad.enums.Side
-
The left side of the model.
- LEFT_OUT_CENTER - Static variable in class eu.printingin3d.javascad.enums.Side
-
The outside left and center of the model.
- length - Variable in class eu.printingin3d.javascad.models.Cylinder
-
- lerp(Coords3d, double) - Method in class eu.printingin3d.javascad.coords.Coords3d
-
Linearly interpolates between this and the specified vector.
- LinearExtrude - Class in eu.printingin3d.javascad.models
-
Linear extrude the given 2D model to create a 3D object.
- LinearExtrude(Abstract2dModel, double, Angle, double) - Constructor for class eu.printingin3d.javascad.models.LinearExtrude
-
Constructs a 3D object based on the given parameters.
- LinearExtrude(Abstract2dModel, double, Angle) - Constructor for class eu.printingin3d.javascad.models.LinearExtrude
-
Constructs a 3D object based on the given parameters.
- LineSegment<T> - Class in eu.printingin3d.javascad.coords2d
-
Represents a line segment.
- LineSegment(T, T) - Constructor for class eu.printingin3d.javascad.coords2d.LineSegment
-
Creates a new line segment using the two given end points.
- LineSegment2d - Class in eu.printingin3d.javascad.coords2d
-
Represents a 2D line segment.
- LineSegment2d(Coords2d, Coords2d) - Constructor for class eu.printingin3d.javascad.coords2d.LineSegment2d
-
Creates a new line segment using the two given end points.
- lineSegmentSeries(List<T>) - Static method in class eu.printingin3d.javascad.coords2d.LineSegment
-
Returns with the list of line segments which is denoted by this series of points.
- lineSegmentSeries2d(List<Coords2d>) - Static method in class eu.printingin3d.javascad.coords2d.LineSegment2d
-
Returns with the list of line segments which is denoted by this series of points.
- ListUtils - Class in eu.printingin3d.javascad.utils
-
Miscellaneous helper methods regarding lists.
- magnitude() - Method in class eu.printingin3d.javascad.coords.Abstract3d
-
Returns the magnitude of this vector.
- main(String[]) - Static method in class eu.printingin3d.javascad.CSGTestMain
-
- max(T) - Method in class eu.printingin3d.javascad.basic.BasicFunc
-
Returns with the bigger object of this object and the given object.
- midPoint(Coords3d, Coords3d) - Static method in class eu.printingin3d.javascad.coords.Coords3d
-
Calculates the midpoint of the ab segment.
- midPoint(Coords2d, Coords2d) - Static method in class eu.printingin3d.javascad.coords2d.Coords2d
-
Calculates the midpoint of the ab segment.
- min(T) - Method in class eu.printingin3d.javascad.basic.BasicFunc
-
Returns with the smaller object of this object and the given object.
- MINUS_TINY - Static variable in class eu.printingin3d.javascad.coords.Coords3d
-
Can be used to move the object that tiny bit that will solve the different annoying manifold issues
and CSG rendering problems.
- Mirror - Class in eu.printingin3d.javascad.tranzitions
-
Mirrors a model.
- mirrorX(Abstract3dModel) - Static method in class eu.printingin3d.javascad.tranzitions.Mirror
-
Mirrors the given model using the X plane as a mirror.
- mirrorY(Abstract3dModel) - Static method in class eu.printingin3d.javascad.tranzitions.Mirror
-
Mirrors the given model using the Y plane as a mirror.
- mirrorZ(Abstract3dModel) - Static method in class eu.printingin3d.javascad.tranzitions.Mirror
-
Mirrors the given model using the Z plane as a mirror.
- ModelPart - Annotation Type in eu.printingin3d.javascad.annotations
-
Annotation to be used by the
AnnotatedModelProvider
class to identify
the methods which returns with a printable part.
- models - Variable in class eu.printingin3d.javascad.tranzitions.Hull
-
- models - Variable in class eu.printingin3d.javascad.tranzitions.Union
-
- ModelToFile - Class in eu.printingin3d.javascad.utils
-
This class can be used to write models to file.
- ModelToFile(File) - Constructor for class eu.printingin3d.javascad.utils.ModelToFile
-
Creates the object.
- ModelWithPath - Class in eu.printingin3d.javascad.utils
-
Represents a model and path pair - it tells where the model should be saved.
- ModelWithPath(IModel, String) - Constructor for class eu.printingin3d.javascad.utils.ModelWithPath
-
Creates the object with the given parameters.
- move(Coords3d) - Method in class eu.printingin3d.javascad.coords.Boundaries3d
-
Moves the interval with the given delta.
- move(Coords2d) - Method in class eu.printingin3d.javascad.coords2d.Boundaries2d
-
Moves the interval with the given delta.
- move(Coords2d) - Method in class eu.printingin3d.javascad.coords2d.Coords2d
-
Moving this coordinate by the given vector, but this object will be unchanged and
this method will create a new object with the new coordinates.
- move(Coords3d) - Method in class eu.printingin3d.javascad.models.Abstract3dModel
-
Moves this object by the given coordinates.
- move - Variable in class eu.printingin3d.javascad.models2d.Abstract2dModel
-
- move(Coords2d) - Method in class eu.printingin3d.javascad.models2d.Abstract2dModel
-
Moves this object by the given coordinates.
- move(Coords2d) - Method in class eu.printingin3d.javascad.models2d.Area2d
-
Moves this list of coordinates with the given coordinate.
- move(Coords2d) - Method in class eu.printingin3d.javascad.models2d.Circle
-
- move(Coords2d) - Method in class eu.printingin3d.javascad.models2d.Polygon
-
- move(Coords2d) - Method in class eu.printingin3d.javascad.models2d.RoundedSquare
-
- move(Coords2d) - Method in class eu.printingin3d.javascad.models2d.Square
-
- move(Coords2d) - Method in class eu.printingin3d.javascad.models2d.Text
-
- move(Coords2d) - Method in class eu.printingin3d.javascad.tranzitions2d.Translate
-
- move(Coords2d) - Method in class eu.printingin3d.javascad.tranzitions2d.Union
-
- moves(Collection<Coords3d>) - Method in class eu.printingin3d.javascad.models.Abstract3dModel
-
Add moves to this model, which converts this to an
Union
, representing more than one model.
- moves(List<Coords3d>, String...) - Method in class eu.printingin3d.javascad.models.Abstract3dModel
-
Add moves to this model, which converts this to an
Union
, representing more than one model.
- moves(List<Coords3d>, List<String>) - Method in class eu.printingin3d.javascad.models.Abstract3dModel
-
Add moves to this model, which converts this to an
Union
, representing more than one model.
- moves(Coords3d...) - Method in class eu.printingin3d.javascad.models.Abstract3dModel
-
Add moves to this model, which converts this to an
Union
, representing more than one model.
- moveTo(Abstract3dModel, Abstract3dModel, AlignType) - Method in enum eu.printingin3d.javascad.tranzitions.Direction
-
Move the model
to the side of alignTo
determined by this direction and the
given side
.
- mul(double) - Method in class eu.printingin3d.javascad.basic.BasicFunc
-
Multiplies this object with the given value and returns with a new angle
representing the new value.
- mul(double) - Method in class eu.printingin3d.javascad.coords.Basic3dFunc
-
Returns this vector multiplied by the specified value.
- mul(Basic3dFunc<?>) - Method in class eu.printingin3d.javascad.coords.Basic3dFunc
-
Returns this vector multiplied by the given vector.
- Pair<T,U> - Class in eu.printingin3d.javascad.utils
-
Simple store for two values.
- Pair(T, U) - Constructor for class eu.printingin3d.javascad.utils.Pair
-
Creates a new object with the two given values.
- parent - Variable in class eu.printingin3d.javascad.context.ColorHandlingContext
-
- Plane - Enum in eu.printingin3d.javascad.enums
-
This enum is used to set the plane of the rounding.
- plusDiameter(double) - Method in class eu.printingin3d.javascad.basic.Radius
-
Adds the given delta to the diameter and returns with a new Radius object.
- plusRadius(double) - Method in class eu.printingin3d.javascad.basic.Radius
-
Adds the given delta to the radius and returns with a new Radius object.
- PointRelation - Enum in eu.printingin3d.javascad.enums
-
Represents the relation of a point and an area.
- Polygon - Class in eu.printingin3d.javascad.models2d
-
Represents a 2D polygon.
- Polygon(Coords2d, List<Coords2d>) - Constructor for class eu.printingin3d.javascad.models2d.Polygon
-
- Polygon(List<Coords2d>) - Constructor for class eu.printingin3d.javascad.models2d.Polygon
-
Creates a polygon.
- Polygon - Class in eu.printingin3d.javascad.vrl
-
Represents a convex polygon.
- PolygonFile - Class in eu.printingin3d.javascad.vrl.export
-
An IFileExporter implementation for the Polygon file format.
- PolygonFile(OutputStream) - Constructor for class eu.printingin3d.javascad.vrl.export.PolygonFile
-
Constructs the object with the given file.
- Polyhedron - Class in eu.printingin3d.javascad.models
-
Represents a set of triangles.
- Polyhedron(List<Triangle3d>) - Constructor for class eu.printingin3d.javascad.models.Polyhedron
-
Constructs the object with the given triangles.
- prepend(String) - Method in class eu.printingin3d.javascad.models.SCAD
-
Prepend the given text to this object.
- Prism - Class in eu.printingin3d.javascad.models
-
Represents a prism or a pyramid.
- Prism(double, Radius, int) - Constructor for class eu.printingin3d.javascad.models.Prism
-
Creates a prism with a given length, radius and the number of sides.
- Prism(double, Radius, Radius, int) - Constructor for class eu.printingin3d.javascad.models.Prism
-
Creates a prism, which base and top have different radius.
- Prism(double, double, int) - Constructor for class eu.printingin3d.javascad.models.Prism
-
- Prism(double, double, double, int) - Constructor for class eu.printingin3d.javascad.models.Prism
-
- Radius - Class in eu.printingin3d.javascad.basic
-
An immutable representation of a radius of a circle, cylinder or sphere.
- remove(Boundary) - Method in class eu.printingin3d.javascad.coords.Boundary
-
Removes the values of the given boundary from this boundary and returns with the remaining values.
- removeNulls(List<T>) - Static method in class eu.printingin3d.javascad.utils.ListUtils
-
Creates a new list which contains all the non-null elements of the given list.
- reverse() - Method in class eu.printingin3d.javascad.models2d.Area2d
-
Creates a new object where the order of the points are reversed.
- reverse() - Method in class eu.printingin3d.javascad.utils.Pair
-
Creates a new instance of this class with the two values in reversed order.
- RIGHT - Static variable in class eu.printingin3d.javascad.enums.Side
-
- RIGHT_IN - Static variable in class eu.printingin3d.javascad.enums.Side
-
The right side of the model.
- RIGHT_IN_CENTER - Static variable in class eu.printingin3d.javascad.enums.Side
-
The inside right and center of the model.
- RIGHT_OUT - Static variable in class eu.printingin3d.javascad.enums.Side
-
The right side of the model.
- RIGHT_OUT_CENTER - Static variable in class eu.printingin3d.javascad.enums.Side
-
The outside right and center of the model.
- Ring - Class in eu.printingin3d.javascad.models
-
A ring 3D object based on a 2D object.
- Ring(double, Abstract2dModel) - Constructor for class eu.printingin3d.javascad.models.Ring
-
- Ring(Radius, Abstract2dModel) - Constructor for class eu.printingin3d.javascad.models.Ring
-
Creates the ring with the given parameters.
- rotate(Angles3d) - Method in class eu.printingin3d.javascad.coords.Angles3d
-
Rotates the current value by the given value - this object won't change, but
a new object will be created.
- rotate(Angles3d) - Method in class eu.printingin3d.javascad.coords.Boundaries3d
-
Rotates the interval with the given angle.
- rotate(Angles3d) - Method in class eu.printingin3d.javascad.coords.Coords3d
-
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.
- rotate(Angles3d) - Method in class eu.printingin3d.javascad.models.Abstract3dModel
-
Creates a new object by rotating this object with the given angle.
- rotate(Angle) - Method in class eu.printingin3d.javascad.models2d.Area2d
-
Rotates this list of coordinates with the given degree.
- Rotate - Class in eu.printingin3d.javascad.tranzitions
-
This represents a rotate transition, but used rarely, because the convenient
methods of
Abstract3dModel
replace it most of the time.
- Rotate(Abstract3dModel, Angles3d) - Constructor for class eu.printingin3d.javascad.tranzitions.Rotate
-
Creates a rotation operation.
- ROTATE_MINUS_X - Static variable in class eu.printingin3d.javascad.coords.Angles3d
-
rotating on the X plane by -90 degrees.
- ROTATE_MINUS_Y - Static variable in class eu.printingin3d.javascad.coords.Angles3d
-
rotating on the Y plane by -90 degrees.
- ROTATE_MINUS_Z - Static variable in class eu.printingin3d.javascad.coords.Angles3d
-
rotating on the Z plane by -90 degrees.
- ROTATE_PLUS_X - Static variable in class eu.printingin3d.javascad.coords.Angles3d
-
rotating on the X plane by +90 degrees.
- ROTATE_PLUS_Y - Static variable in class eu.printingin3d.javascad.coords.Angles3d
-
rotating on the Y plane by +90 degrees.
- ROTATE_PLUS_Z - Static variable in class eu.printingin3d.javascad.coords.Angles3d
-
rotating on the Z plane by +90 degrees.
- rotates(Collection<Angles3d>) - Method in class eu.printingin3d.javascad.models.Abstract3dModel
-
Add rotates to this model, which converts this to an
Union
, representing more than one model.
- rotates(Angles3d...) - Method in class eu.printingin3d.javascad.models.Abstract3dModel
-
Add rotates to this model, which converts this to an
Union
, representing more than one model.
- round(Plane, double) - Method in class eu.printingin3d.javascad.models.Abstract3dModel
-
Rounding this object with the given radius.
- RoundedSquare - Class in eu.printingin3d.javascad.models2d
-
Represents a 2D rounded square - the corners of the square will be rounded by the given radius.
- RoundedSquare(Dims2d, Radius) - Constructor for class eu.printingin3d.javascad.models2d.RoundedSquare
-
Create a 2D rounded square.
- RoundedSquare(Dims2d, double) - Constructor for class eu.printingin3d.javascad.models2d.RoundedSquare
-
- RoundProperties - Class in eu.printingin3d.javascad.utils
-
Internal class used by the Abstract3dModel used to represent the properties
of the rounding operation.
- RoundProperties(Plane, double) - Constructor for class eu.printingin3d.javascad.utils.RoundProperties
-
Creates the properties with the given radius on the given plane.
- SaveScadFiles - Class in eu.printingin3d.javascad.utils
-
Helper class to save several models to a directory.
- SaveScadFiles(File) - Constructor for class eu.printingin3d.javascad.utils.SaveScadFiles
-
Creates the object with the given root directory.
- saveScadFiles() - Method in class eu.printingin3d.javascad.utils.SaveScadFiles
-
Save the added SCAD files into the corresponding files.
- saveToFile(IColorGenerationContext) - Method in class eu.printingin3d.javascad.utils.ModelToFile
-
Saves the models to the file.
- SCAD - Class in eu.printingin3d.javascad.models
-
Immutable object for the SCAD output.
- SCAD(String) - Constructor for class eu.printingin3d.javascad.models.SCAD
-
Creates a new object which holds the given string.
- ScadGenerationContextFactory - Class in eu.printingin3d.javascad.context
-
Context generation factory to create a factory for the given includes and excludes.
- ScadGenerationContextFactory() - Constructor for class eu.printingin3d.javascad.context.ScadGenerationContextFactory
-
- ScadSurroundings - Class in eu.printingin3d.javascad.models
-
Immutable representation of prefix and suffix of the generated SCAD output.
- scale(Coords3d) - Method in class eu.printingin3d.javascad.coords.Boundaries3d
-
Scales the interval with the given delta.
- scale(double) - Method in class eu.printingin3d.javascad.coords.Boundary
-
Multiplying the interval with the given value, basically scaling it.
- Scale - Class in eu.printingin3d.javascad.tranzitions
-
Scales a model by the given value on X, Y and Z plane.
- Scale(Abstract3dModel, Coords3d) - Constructor for class eu.printingin3d.javascad.tranzitions.Scale
-
Creates the scale operation with the given model and scale value.
- setFsAndFa(double, int) - Method in class eu.printingin3d.javascad.vrl.FacetGenerationContext
-
Sets the values of the $fs and $fa variables in the SCAD which is set in the
Consts
class.
- Side - Class in eu.printingin3d.javascad.enums
-
- Side(AlignType, AlignType, AlignType) - Constructor for class eu.printingin3d.javascad.enums.Side
-
Constructs a side object with the given aligns on the X, Y and Z axis.
- sin() - Method in class eu.printingin3d.javascad.basic.Angle
-
The sine value of this angle.
- size() - Method in class eu.printingin3d.javascad.models2d.Area2d
-
Returns with the number of points this area consists.
- size - Variable in class eu.printingin3d.javascad.models2d.Square
-
- Slicer - Class in eu.printingin3d.javascad.tranzitions
-
Slice a model into pieces; the result is one of the slices.
- Slicer(Abstract3dModel, Direction, int, int) - Constructor for class eu.printingin3d.javascad.tranzitions.Slicer
-
Slices the given model in the given direction.
- Slicer(Abstract3dModel, Direction, double, double) - Constructor for class eu.printingin3d.javascad.tranzitions.Slicer
-
Slices the given model in the given direction.
- Sphere - Class in eu.printingin3d.javascad.models
-
Represents a sphere.
- Sphere(Radius) - Constructor for class eu.printingin3d.javascad.models.Sphere
-
Creates the sphere with the given radius.
- Sphere(double) - Constructor for class eu.printingin3d.javascad.models.Sphere
-
- splitPolygon(Polygon, List<Polygon>, List<Polygon>, List<Polygon>, List<Polygon>) - Method in class eu.printingin3d.javascad.vrl.Polygon
-
Splits a
Polygon
by this plane if needed.
- SQRT_2 - Static variable in class eu.printingin3d.javascad.utils.UsefulConsts
-
The square root of 2.
- SQRT_3 - Static variable in class eu.printingin3d.javascad.utils.UsefulConsts
-
The square root of 3.
- Square - Class in eu.printingin3d.javascad.models2d
-
Represents a 2D square object.
- Square(Coords2d, Dims2d) - Constructor for class eu.printingin3d.javascad.models2d.Square
-
- Square(Dims2d) - Constructor for class eu.printingin3d.javascad.models2d.Square
-
Creates a square with the given size values.
- squareDist(Abstract2d) - Method in class eu.printingin3d.javascad.coords2d.Abstract2d
-
Returns the square distance of the two point.
- start - Variable in class eu.printingin3d.javascad.coords2d.LineSegment
-
- startLineSegmentSeries(T) - Static method in class eu.printingin3d.javascad.coords2d.LineSegment
-
Starts a series of line segments.
- startLineSegmentSeries(Coords2d) - Static method in class eu.printingin3d.javascad.coords2d.LineSegment2d
-
Starts a series of line segments.
- StlBinaryFile - Class in eu.printingin3d.javascad.vrl.export
-
An IFileExporter implementation for the binary STL file format.
- StlBinaryFile(OutputStream) - Constructor for class eu.printingin3d.javascad.vrl.export.StlBinaryFile
-
Constructs the object with the given stream.
- StlTextFile - Class in eu.printingin3d.javascad.vrl.export
-
An IFileExporter implementation for the textual STL file format.
- StlTextFile(OutputStream) - Constructor for class eu.printingin3d.javascad.vrl.export.StlTextFile
-
Constructs the object with the given stream.
- StringUtils - Class in eu.printingin3d.javascad.utils
-
Helper methods with strings.
- subList(int, int) - Method in class eu.printingin3d.javascad.models2d.Area2d
-
Returns with a list of coordinates which contains the coordinates indexed from start to end inclusive.
- subList(Coords2d, Coords2d) - Method in class eu.printingin3d.javascad.models2d.Area2d
-
Returns with a list of coordinates which contains the coordinates from first to last inclusive.
- subModel(IScadGenerationContext) - Method in class eu.printingin3d.javascad.models.Abstract3dModel
-
Copies parts of the model to a new model based on the given context.
- substract(T) - Method in class eu.printingin3d.javascad.basic.BasicFunc
-
Calculates the difference of this and the given value.
- subtractModel(Abstract3dModel) - Method in class eu.printingin3d.javascad.models.Abstract3dModel
-
Convenient method to create a Difference.
- subtractModel(Abstract3dModel) - Method in class eu.printingin3d.javascad.models.Empty3dModel
-
- subtractModel(Abstract3dModel) - Method in class eu.printingin3d.javascad.tranzitions.Difference
-
- Support - Class in eu.printingin3d.javascad.models
-
Represents support material to hold the above objects.
- Support(Dims3d, double) - Constructor for class eu.printingin3d.javascad.models.Support
-
Creates a support object.
- surroundScad(SCAD) - Method in class eu.printingin3d.javascad.models.ScadSurroundings
-
Creates the full SCAD file by prepending the prefix and appending the postfix
in this object to the given SCAD output.
- tag - Variable in class eu.printingin3d.javascad.context.ColorHandlingContext
-
- tagColors - Variable in class eu.printingin3d.javascad.context.ColorHandlingContext
-
- TagColors - Class in eu.printingin3d.javascad.context
-
Represents the tag-color relation.
- TagColors(Map<Integer, Color>) - Constructor for class eu.printingin3d.javascad.context.TagColors
-
Constructs the object based on the given map of tag-color mapping.
- TagColorsBuilder - Class in eu.printingin3d.javascad.context
-
Builder of the
TagColors
to help to build the mapping easily.
- TagColorsBuilder() - Constructor for class eu.printingin3d.javascad.context.TagColorsBuilder
-
- Text - Class in eu.printingin3d.javascad.models2d
-
- Text(String, Dims2d) - Constructor for class eu.printingin3d.javascad.models2d.Text
-
Constructs the object using the given parameters.
- thisOne() - Method in class eu.printingin3d.javascad.basic.Angle
-
- thisOne() - Method in class eu.printingin3d.javascad.basic.BasicFunc
-
- thisOne() - Method in class eu.printingin3d.javascad.basic.Radius
-
- TINY - Static variable in class eu.printingin3d.javascad.coords.Coords3d
-
Can be used to move the object that tiny bit that will solve the different annoying manifold issues
and CSG rendering problems.
- toByteArray(ByteBuffer) - Method in class eu.printingin3d.javascad.coords.Abstract3d
-
Returns the byte array representation of this object used by the binary STL export function.
- toByteArray(ByteBuffer) - Method in class eu.printingin3d.javascad.coords.Triangle3d
-
Writes the byte array representation of this triangle to the given buffer.
- toByteArray(ByteBuffer) - Method in class eu.printingin3d.javascad.vrl.Vertex
-
Writes the byte array representation of this vertex to the given buffer.
- toCircle(int, double, double) - Method in class eu.printingin3d.javascad.basic.Radius
-
Create moves for a circle of items with this radius.
- toCoordinate(Angle) - Method in class eu.printingin3d.javascad.basic.Radius
-
Calculates the coordinate for the given alpha angle for this radius.
- toCSG(FacetGenerationContext) - Method in class eu.printingin3d.javascad.models.Abstract3dModel
-
- toCSG() - Method in class eu.printingin3d.javascad.models.Abstract3dModel
-
Renders this model to its CSG interpretation - convenient method which used the default
generation context.
- toCSG(FacetGenerationContext) - Method in interface eu.printingin3d.javascad.models.IModel
-
Renders this model to its CSG interpretation.
- toCSG(FacetGenerationContext) - Method in class eu.printingin3d.javascad.openscad.Consts
-
- toFacets() - Method in class eu.printingin3d.javascad.vrl.CSG
-
Returns with all the facet this CSG object holds.
- toFacets() - Method in class eu.printingin3d.javascad.vrl.Polygon
-
Converts this polygon to triangles.
- toInnerCSG(FacetGenerationContext) - Method in class eu.printingin3d.javascad.models.Abstract3dModel
-
- toInnerCSG(FacetGenerationContext) - Method in class eu.printingin3d.javascad.models.BoundedModel
-
- toInnerCSG(FacetGenerationContext) - Method in class eu.printingin3d.javascad.models.Cube
-
- toInnerCSG(FacetGenerationContext) - Method in class eu.printingin3d.javascad.models.Cylinder
-
- toInnerCSG(FacetGenerationContext) - Method in class eu.printingin3d.javascad.models.Empty3dModel
-
- toInnerCSG(FacetGenerationContext) - Method in class eu.printingin3d.javascad.models.Extendable3dModel
-
- toInnerCSG(FacetGenerationContext) - Method in class eu.printingin3d.javascad.models.LinearExtrude
-
- toInnerCSG(FacetGenerationContext) - Method in class eu.printingin3d.javascad.models.Polyhedron
-
- toInnerCSG(FacetGenerationContext) - Method in class eu.printingin3d.javascad.models.Ring
-
- toInnerCSG(FacetGenerationContext) - Method in class eu.printingin3d.javascad.models.Sphere
-
- toInnerCSG(FacetGenerationContext) - Method in class eu.printingin3d.javascad.models.Support
-
- toInnerCSG(FacetGenerationContext) - Method in class eu.printingin3d.javascad.tranzitions.Colorize
-
- toInnerCSG(FacetGenerationContext) - Method in class eu.printingin3d.javascad.tranzitions.Difference
-
- toInnerCSG(FacetGenerationContext) - Method in class eu.printingin3d.javascad.tranzitions.Hull
-
- toInnerCSG(FacetGenerationContext) - Method in class eu.printingin3d.javascad.tranzitions.Intersection
-
- toInnerCSG(FacetGenerationContext) - Method in class eu.printingin3d.javascad.tranzitions.Mirror
-
- toInnerCSG(FacetGenerationContext) - Method in class eu.printingin3d.javascad.tranzitions.Rotate
-
- toInnerCSG(FacetGenerationContext) - Method in class eu.printingin3d.javascad.tranzitions.Scale
-
- toInnerCSG(FacetGenerationContext) - Method in class eu.printingin3d.javascad.tranzitions.Slicer
-
- toInnerCSG(FacetGenerationContext) - Method in class eu.printingin3d.javascad.tranzitions.Translate
-
- toInnerCSG(FacetGenerationContext) - Method in class eu.printingin3d.javascad.tranzitions.Union
-
- TOP - Static variable in class eu.printingin3d.javascad.enums.Side
-
- TOP_IN - Static variable in class eu.printingin3d.javascad.enums.Side
-
The top of the model inside.
- TOP_IN_CENTER - Static variable in class eu.printingin3d.javascad.enums.Side
-
The inside top and center of the model.
- TOP_OUT - Static variable in class eu.printingin3d.javascad.enums.Side
-
The top of the model outside.
- TOP_OUT_CENTER - Static variable in class eu.printingin3d.javascad.enums.Side
-
The outside top and center of the model.
- topRadius - Variable in class eu.printingin3d.javascad.models.Cylinder
-
- toScad(IColorGenerationContext) - Method in class eu.printingin3d.javascad.models.Abstract3dModel
-
- toScad(IColorGenerationContext) - Method in interface eu.printingin3d.javascad.models.IModel
-
Renders this model and returns with the generated OpenSCAD code.
- toScad(IColorGenerationContext) - Method in class eu.printingin3d.javascad.models2d.Abstract2dModel
-
Renders this model and returns with the generated OpenSCAD code.
- toScad(IColorGenerationContext) - Method in class eu.printingin3d.javascad.openscad.Consts
-
- toString() - Method in class eu.printingin3d.javascad.basic.Angle
-
- toString() - Method in class eu.printingin3d.javascad.basic.Radius
-
- toString() - Method in class eu.printingin3d.javascad.coords.Abstract3d
-
- toString() - Method in class eu.printingin3d.javascad.coords2d.Abstract2d
-
- toString() - Method in class eu.printingin3d.javascad.coords2d.LineSegment
-
- toString() - Method in class eu.printingin3d.javascad.models.SCAD
-
- toString() - Method in class eu.printingin3d.javascad.models2d.Area2d
-
- toTriangleString(List<Coords3d>) - Method in class eu.printingin3d.javascad.coords.Triangle3d
-
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.
- transform(Coords3d) - Method in interface eu.printingin3d.javascad.tranform.ITransformation
-
Transforming a coordinate by this transformation.
- transform(Coords3d) - Method in class eu.printingin3d.javascad.tranform.TransformationMatrix
-
- TransformationFactory - Class in eu.printingin3d.javascad.tranform
-
Utility class to create the standard transformation matrices.
- TransformationMatrix - Class in eu.printingin3d.javascad.tranform
-
A special 4x4 transformation matrix, where the 4th row is always 0,0,0,1.
- TransformationMatrix(double[]) - Constructor for class eu.printingin3d.javascad.tranform.TransformationMatrix
-
- transformed(ITransformation) - Method in class eu.printingin3d.javascad.vrl.CSG
-
Returns a transformed copy of this CSG.
- transformed(ITransformation) - Method in class eu.printingin3d.javascad.vrl.Polygon
-
Returns a transformed copy of this polygon.
- Translate - Class in eu.printingin3d.javascad.tranzitions
-
This represents a move transition, but used rarely, because the convenient
methods of
Abstract3dModel
replace it most of the time.
- Translate(Abstract3dModel, Coords3d) - Constructor for class eu.printingin3d.javascad.tranzitions.Translate
-
Creates a move operation.
- Translate - Class in eu.printingin3d.javascad.tranzitions2d
-
This represents a move transition, but used rarely, because the convenient
methods of
Abstract2dModel
replace it most of the time.
- Translate(Abstract2dModel, Coords2d) - Constructor for class eu.printingin3d.javascad.tranzitions2d.Translate
-
Creates a move operation.
- Triangle3d - Class in eu.printingin3d.javascad.coords
-
An implementation of a 3D triangle.
- Triangle3d(Coords3d, Coords3d, Coords3d) - Constructor for class eu.printingin3d.javascad.coords.Triangle3d
-
Created the triangle by defining the three corner.
- triangles - Variable in class eu.printingin3d.javascad.models.Polyhedron
-
- value - Variable in class eu.printingin3d.javascad.basic.BasicFunc
-
- valueOf(String) - Static method in enum eu.printingin3d.javascad.enums.AlignType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum eu.printingin3d.javascad.enums.OutputFormat
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum eu.printingin3d.javascad.enums.Plane
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum eu.printingin3d.javascad.enums.PointRelation
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum eu.printingin3d.javascad.tranzitions.Direction
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum eu.printingin3d.javascad.vrl.VertexPosition
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum eu.printingin3d.javascad.enums.AlignType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum eu.printingin3d.javascad.enums.OutputFormat
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum eu.printingin3d.javascad.enums.Plane
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum eu.printingin3d.javascad.enums.PointRelation
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum eu.printingin3d.javascad.tranzitions.Direction
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum eu.printingin3d.javascad.vrl.VertexPosition
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- Vertex - Class in eu.printingin3d.javascad.vrl
-
Represents a vertex in the rendered CSG object, which consists of a coordinate and a color.
- Vertex(Coords3d, Color) - Constructor for class eu.printingin3d.javascad.vrl.Vertex
-
Creates a new vertex with the given coordinate and color.
- VertexMap - Class in eu.printingin3d.javascad.vrl
-
Helper class for the polygon file export.
- VertexMap(Collection<Vertex>) - Constructor for class eu.printingin3d.javascad.vrl.VertexMap
-
Constructs a new object with the given collection of vertexes.
- VertexPosition - Enum in eu.printingin3d.javascad.vrl
-
Enum to mark a vertex position relative to the plane of the splitting.