pub struct WCircle { /* private fields */ }
Expand description

This 3D Widget defines a circle.

Implementations

Constructs default planar circle centered at origin with plane normal along z-axis

Parameters
  • radius: Radius of the circle.
  • thickness: Thickness of the circle.
  • color: Color of the circle.
C++ default parameters
  • thickness: 0.01
  • color: Color::white()

Constructs repositioned planar circle.

Parameters
  • radius: Radius of the circle.
  • center: Center of the circle.
  • normal: Normal of the plane in which the circle lies.
  • thickness: Thickness of the circle.
  • color: Color of the circle.
C++ default parameters
  • thickness: 0.01
  • color: Color::white()

Trait Implementations

Wrap the specified raw pointer Read more
Return an the underlying raw pointer while consuming this wrapper. Read more
Return the underlying raw pointer. Read more
Return the underlying mutable raw pointer Read more
Executes the destructor for this type. Read more
Converts to this type from the input type.
Converts to this type from the input type.
Sets pose of the widget. Read more
Updates pose of the widget by pre-multiplying its current pose. Read more
Transforms internal widget data (i.e. points, normals) using the given transform. Read more
Sets the color of the widget. Read more
Returns the current pose of the widget.
Sets rendering property of the widget. Read more
Returns rendering property of the widget. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.