Package | Description |
---|---|
eu.printingin3d.javascad.basic | |
eu.printingin3d.javascad.models | |
eu.printingin3d.javascad.models2d | |
eu.printingin3d.javascad.vrl |
Modifier and Type | Field and Description |
---|---|
static Radius |
Radius.ZERO
The ZERO Radius object.
|
Modifier and Type | Method and Description |
---|---|
protected Radius |
Radius.create(double value) |
static Radius |
Radius.fromDiameter(double diameter)
Creates a Radius object based on the given diameter.
|
static Radius |
Radius.fromRadius(double radius)
Creates a Radius object based on the given radius.
|
Radius |
Radius.plusDiameter(double delta)
Adds the given delta to the diameter and returns with a new Radius object.
|
Radius |
Radius.plusRadius(double delta)
Adds the given delta to the radius and returns with a new Radius object.
|
protected Radius |
Radius.thisOne() |
Modifier and Type | Field and Description |
---|---|
protected Radius |
Cylinder.bottomRadius |
protected Radius |
Cylinder.topRadius |
Constructor and Description |
---|
Cylinder(double length,
Radius r)
Creates a cylinder with a given length and radius.
|
Cylinder(double length,
Radius bottomRadius,
Radius topRadius)
Creates a truncated cone.
|
Prism(double length,
Radius r,
int numberOfSides)
Creates a prism with a given length, radius and the number of sides.
|
Prism(double length,
Radius r1,
Radius r2,
int numberOfSides)
Creates a prism, which base and top have different radius.
|
Ring(Radius radius,
Abstract2dModel model)
Creates the ring with the given parameters.
|
Sphere(Radius r)
Creates the sphere with the given radius.
|
Constructor and Description |
---|
Circle(Radius radius)
Constructs the object using the given radius.
|
RoundedSquare(Dims2d size,
Radius radius)
Create a 2D rounded square.
|
Modifier and Type | Method and Description |
---|---|
int |
FacetGenerationContext.calculateNumberOfSlices(Radius r)
Calculate the number of slices for the given radius based on the $fs and $fa values set.
|
Copyright © 2014–2020, Printing in 3D. All rights reserved.