Shape2dDependent

Something which has within it a set of Shape2d which it relies upon. For example a Translation2d of a Circle will have the Circle as a dependency.

Note that neither Shape3dDependent nor Shape2dDependent are sub-interfaces of Shape, but so far, these interfaces have only been applied to classes which are shapes.

Note, if a shape uses another Shape2d in its construction that does NOT mean it must be a Shape2dDependent. For example, when you use ExtrusionBuilder it does not keep track of the cross sectional profiles used by the extrusion.

Note an extrusion is a Shape3d, which is a Shape2dDependent (it depends on the 2D shape being extruded).

Inheritors

Properties

Link copied to clipboard
abstract val dependencies2d: List<Shape2d>