All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ch.viseon.threejs.declarations.math.Cylindrical.kt Maven / Gradle / Ivy

Go to download

Kotlin wrapper for ThreeJs, javascript library for 3d rendering

There is a newer version: 126.0.0
Show newest version
@file:JsModule("three")
package ch.viseon.threejs.declarations.math

	/**
	* A point's [link:https://en.wikipedia.org/wiki/Cylindrical_coordinate_system cylindrical coordinates].
	*/
open external class Cylindrical(radius: Double = definedExternally, theta: Double = definedExternally, y: Double = definedExternally){
	open var radius: Double  = definedExternally

	open var theta: Double  = definedExternally

	open var y: Double  = definedExternally


	/**
	* Returns a new cylindrical with the same [page:.radius radius], [page:.theta theta] and [page:.y y] properties as this one.
	*/
	open fun clone() : ch.viseon.threejs.declarations.math.Cylindrical


	/**
	* Copies the values of the passed Cylindrical's [page:.radius radius], [page:.theta theta] and [page:.y y] properties to this cylindrical.
	*/
	open fun copy(other: ch.viseon.threejs.declarations.math.Cylindrical = definedExternally) : ch.viseon.threejs.declarations.math.Cylindrical


	/**
	* Sets values of this cylindrical's [page:.radius radius], [page:.theta theta] and [page:.y y] properties.
	*/
	open fun set(radius: Double = definedExternally, theta: Double = definedExternally, y: Double = definedExternally) : ch.viseon.threejs.declarations.math.Cylindrical


	/**
	* Sets values of this cylindrical's [page:.radius radius], [page:.theta theta] and [page:.y y] properties from the [page:Vector3 Vector3].
	*/
	open fun setFromVector3(vec3: ch.viseon.threejs.declarations.math.Vector3 = definedExternally) : ch.viseon.threejs.declarations.math.Cylindrical


	/**
	* Sets values of this cylindrical's [page:.radius radius], [page:.theta theta] and [page:.y y] properties from Cartesian coordinates.
	*/
	open fun setFromCartesianCoords(x: Double = definedExternally, y: Double = definedExternally, z: Double = definedExternally) : ch.viseon.threejs.declarations.math.Cylindrical
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy