Cone
Introduction
vtkCone computes the implicit function and/or gradient for a cone. vtkCone is a concrete implementation of vtkImplicitFunction.
Methods
evaluateFunction
Given the point x evaluate the cone equation.
| Argument | Type | Required | Description |
|---|---|---|---|
x | Vector3 | Yes | The point coordinate. |
evaluateGradient
Given the point x evaluate the equation for the cone gradient.
| Argument | Type | Required | Description |
|---|---|---|---|
x | Vector3 | Yes | The point coordinate. |
extend
Method used to decorate a given object (publicAPI+model) with vtkCone characteristics.
| Argument | Type | Required | Description |
|---|---|---|---|
publicAPI | Yes | object on which methods will be bounds (public) | |
model | Yes | object on which data structure will be bounds (protected) | |
initialValues | IConeInitialValues | No | (default: {}) |
getAngle
Get the angle of the cone.
newInstance
Method used to create a new instance of vtkCone.
| Argument | Type | Required | Description |
|---|---|---|---|
initialValues | IConeInitialValues | No | for pre-setting some of its content |
setAngle
Set the value representing the angle of the cone.
| Argument | Type | Required | Description |
|---|---|---|---|
angle | Number | Yes | The angle of the cone. |