VTK-m
2.0
|
Implicit function for a cylinder. More...
#include <ImplicitFunction.h>
Public Member Functions | |
VTKM_EXEC_CONT | Cylinder () |
Construct cylinder radius of 0.5; centered at origin with axis along y coordinate axis. More... | |
VTKM_EXEC_CONT | Cylinder (const Vector &axis, Scalar radius) |
VTKM_EXEC_CONT | Cylinder (const Vector ¢er, const Vector &axis, Scalar radius) |
VTKM_CONT void | SetCenter (const Vector ¢er) |
VTKM_CONT void | SetAxis (const Vector &axis) |
VTKM_CONT void | SetRadius (Scalar radius) |
VTKM_EXEC_CONT Scalar | Value (const Vector &point) const |
VTKM_EXEC_CONT Vector | Gradient (const Vector &point) const |
Private Attributes | |
Vector | Center |
Vector | Axis |
Scalar | Radius |
Implicit function for a cylinder.
Cylinder
computes the implicit function and function gradient for a cylinder using F(r)=r^2-Radius^2. By default the Cylinder is centered at the origin and the axis of rotation is along the y-axis. You can redefine the center and axis of rotation by setting the Center and Axis data members.
Note that the cylinder is infinite in extent.
|
inline |
Construct cylinder radius of 0.5; centered at origin with axis along y coordinate axis.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |