BowlerKernel
|
Public Member Functions | |
Toroid (double innerRadius, double OuterRadius) | |
Toroid (double innerRadius, double OuterRadius, int numSlices, int facets) | |
List< Polygon > | toPolygons () |
PropertyStorage | getProperties () |
![]() | |
CSG | toCSG () |
Private Attributes | |
final PropertyStorage | properties = new PropertyStorage() |
A solid cylinder.
The tessellation can be controlled via the numSlices parameter.
Definition at line 48 of file Toroid.java.
eu.mihosoft.vrl.v3d.Toroid.Toroid | ( | double | innerRadius, |
double | OuterRadius | ||
) |
Definition at line 53 of file Toroid.java.
eu.mihosoft.vrl.v3d.Toroid.Toroid | ( | double | innerRadius, |
double | OuterRadius, | ||
int | numSlices, | ||
int | facets | ||
) |
Definition at line 56 of file Toroid.java.
References eu.mihosoft.vrl.v3d.Polygon.flipped(), eu.mihosoft.vrl.v3d.Polygon.fromPoints(), eu.mihosoft.vrl.v3d.Polygon.getStorage(), eu.mihosoft.vrl.v3d.Transform.movex(), eu.mihosoft.vrl.v3d.Toroid.properties, eu.mihosoft.vrl.v3d.Transform.roty(), eu.mihosoft.vrl.v3d.Polygon.transformed(), and eu.mihosoft.vrl.v3d.Polygon.vertices.
PropertyStorage eu.mihosoft.vrl.v3d.Toroid.getProperties | ( | ) |
Returns the property storage of this primitive.
Reimplemented from eu.mihosoft.vrl.v3d.Primitive.
Definition at line 129 of file Toroid.java.
References eu.mihosoft.vrl.v3d.Toroid.properties.
List<Polygon> eu.mihosoft.vrl.v3d.Toroid.toPolygons | ( | ) |
Returns the polygons that define this primitive.
Note: this method computes the polygons each time this method is called. The polygons can be cached inside a CSG object.
Reimplemented from eu.mihosoft.vrl.v3d.Primitive.
Definition at line 119 of file Toroid.java.
|
private |
The properties.
Definition at line 51 of file Toroid.java.
Referenced by eu.mihosoft.vrl.v3d.Toroid.getProperties(), and eu.mihosoft.vrl.v3d.Toroid.Toroid().