Documentation vol.2

This commit is contained in:
kiruma524 2021-08-20 15:52:32 +03:00
parent f6a78c5a31
commit fcf5ab17ca
2 changed files with 9 additions and 6 deletions

View File

@ -33,4 +33,8 @@ ksciencePublish {
apiValidation { apiValidation {
validationDisabled = true validationDisabled = true
ignoredPackages.add("info.laht.threekt") ignoredPackages.add("info.laht.threekt")
}
rootProject.plugins.withType(org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootPlugin::class.java) {
rootProject.the<org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension>().versions.webpackDevServer.version = "4.0.0-rc.0"
} }

View File

@ -7,23 +7,23 @@ interface Vision{
} }
interface Solid{ interface Solid{
val descriptor: MetaDescriptor The base for 3D geometry
val parent: VisionGroup?
} }
Vision <-- Solid Vision <-- Solid
class VisionGroup{ class VisionGroup{
A group of Visions
val children: Map<NameToken, Vision> val children: Map<NameToken, Vision>
val defaultTarget: String val defaultTarget: String
fun content(target): Map<Name, Any> fun content(target): Map<Name, Any>
fun get(name: Name): Vision? fun get(name: Name): Vision?
} }
Vision <-- VisionGroup Vision <-- VisionGroup
class VisionBase{ class VisionBase{
var parent: VisionGroup? basic vision implementation
var properties: MutableMeta?
fun getOrCreateProperties(): MutableMeta
} }
Vision <-- VisionBase Vision <-- VisionBase
@ -110,7 +110,6 @@ MutableVisionGroup <-- VisionGroupBase
class RootVisionGroup class RootVisionGroup
VisionGroupBase <-- RootVisionGroup VisionGroupBase <-- RootVisionGroup
class VisionOfPlotly{ class VisionOfPlotly{
var properties: MutableMeta? var properties: MutableMeta?
val plot: Plot val plot: Plot