Cylinder class is used to define circles or cylinders for selection.
The class can be called from Application class.
.
More...
Public Member Functions | |
| Point * | GetCenterAxis () |
| Returns the each component for the center axis. More... | |
| Point * | GetCenterPoint () |
| Returns the coordinate value for the center point. More... | |
| double | GetEndAngle () |
| Returns the angle of an end position in a selected area. More... | |
| double | GetHeightBottom () |
| Returns the position of a bottom in a selected area. More... | |
| double | GetHeightTop () |
| Returns the position of the top in a selected area. More... | |
| double | GetInnerRadius () |
| Returns the inner radius of a selected area. More... | |
| double | GetOuterRadius () |
| Returns the outer radius of a selected area. More... | |
| double | GetStartAngle () |
| Returns the angle of a start position in a selected area. More... | |
| bool | GetUseAngle () |
| Returns whether or not to specify angle in selected area. More... | |
| bool | GetUseHeight () |
| Returns whether or not to specify the height of a selected area. More... | |
| Point * | GetXAxis () |
| Returns each component for the X-axis. More... | |
| void | SetCenterAxis (double x, double y, double z) |
| Specifies components for a center axis. More... | |
| void | SetCenterAxisByPoint (Point *center_axis) |
| Specifies components for a center axis in a Point object. More... | |
| void | SetCenterPoint (double x, double y, double z) |
| Specifies coordinates for a center point. More... | |
| void | SetCenterPointByPoint (Point *center) |
| Specifies coordinates for center point in a Point object. More... | |
| void | SetEndAngle (double angle) |
| Specifies the angle of the end position in a selected area. More... | |
| void | SetHeightBottom (double bottom) |
| Specifies the position of the bottom in a selected area. More... | |
| void | SetHeightTop (double top) |
| Specifies the position of the top in a selected area. More... | |
| void | SetInnerRadius (double radius) |
| Specifies the radius in an inner circle in the selected area. More... | |
| void | SetOuterRadius (double radius) |
| Specifies the radius in an outer circle in a selected area. More... | |
| void | SetStartAngle (double angle) |
| Specifies the angle of the start position in a selected area. More... | |
| void | SetUseAngle (bool use) |
| Specifies whether or not to set angle in a selected area. More... | |
| void | SetUseHeight (bool use) |
| Specifies whether or not to specify height of a selected area. More... | |
| void | SetXAxis (double x, double y, double z) |
| Specifies components in the X-axis direction. More... | |
| void | SetXAxisByPoint (Point *x_axis) |
| Specifies components in the X-axis direction in a Point object. More... | |
Detailed Description
Cylinder class is used to define circles or cylinders for selection.
The class can be called from Application class.
.
Example of creating the class object:
Member Function Documentation
| Point * Cylinder::GetCenterAxis | ( | ) |
Returns the each component for the center axis.
- Returns
- Components for center axis (X, Y, Z)
| Point * Cylinder::GetCenterPoint | ( | ) |
Returns the coordinate value for the center point.
- Returns
- Coordinate of center point (X, Y, Z)
| double Cylinder::GetEndAngle | ( | ) |
Returns the angle of an end position in a selected area.
- Returns
- Angle of end position
| double Cylinder::GetHeightBottom | ( | ) |
Returns the position of a bottom in a selected area.
- Returns
- Position of bottom surface
| double Cylinder::GetHeightTop | ( | ) |
Returns the position of the top in a selected area.
- Returns
- Position of top
| double Cylinder::GetInnerRadius | ( | ) |
Returns the inner radius of a selected area.
- Returns
- Inner radius
| double Cylinder::GetOuterRadius | ( | ) |
Returns the outer radius of a selected area.
- Returns
- Outer radius
| double Cylinder::GetStartAngle | ( | ) |
Returns the angle of a start position in a selected area.
- Returns
- Angle of start position
| bool Cylinder::GetUseAngle | ( | ) |
Returns whether or not to specify angle in selected area.
- Returns
- Whether or not to specify angle in selected area True=1False=0
| bool Cylinder::GetUseHeight | ( | ) |
Returns whether or not to specify the height of a selected area.
- Returns
- Whether or not to specify the height of a selected area True=1False=0
| Point * Cylinder::GetXAxis | ( | ) |
Returns each component for the X-axis.
- Returns
- Component of X-axis (X, Y, Z)
| void Cylinder::SetCenterAxis | ( | double | x, |
| double | y, | ||
| double | z | ||
| ) |
Specifies components for a center axis.
- Parameters
-
x X-component y Y-component z Z-component
| void Cylinder::SetCenterAxisByPoint | ( | Point * | center_axis | ) |
| void Cylinder::SetCenterPoint | ( | double | x, |
| double | y, | ||
| double | z | ||
| ) |
Specifies coordinates for a center point.
- Parameters
-
x X-coordinate y Y-coordinate z Z-coordinate
| void Cylinder::SetCenterPointByPoint | ( | Point * | center | ) |
| void Cylinder::SetEndAngle | ( | double | angle | ) |
Specifies the angle of the end position in a selected area.
- Parameters
-
angle Angle
| void Cylinder::SetHeightBottom | ( | double | bottom | ) |
Specifies the position of the bottom in a selected area.
- Parameters
-
bottom Position of bottom surface
| void Cylinder::SetHeightTop | ( | double | top | ) |
Specifies the position of the top in a selected area.
- Parameters
-
top Position of top surface
| void Cylinder::SetInnerRadius | ( | double | radius | ) |
Specifies the radius in an inner circle in the selected area.
- Parameters
-
radius Inner radius
| void Cylinder::SetOuterRadius | ( | double | radius | ) |
Specifies the radius in an outer circle in a selected area.
- Parameters
-
radius Outer radius
| void void Cylinder::SetStartAngle | ( | double | angle | ) |
Specifies the angle of the start position in a selected area.
- Parameters
-
angle Angle
| void Cylinder::SetUseAngle | ( | bool | use | ) |
Specifies whether or not to set angle in a selected area.
- Parameters
-
use True=1 : Specify angleFalse=0 : Do not specify angle
| void Cylinder::SetUseHeight | ( | bool | use | ) |
Specifies whether or not to specify height of a selected area.
- Parameters
-
use True=1 : Specify heightFalse=0 : Do not specify height
| void Cylinder::SetXAxis | ( | double | x, |
| double | y, | ||
| double | z | ||
| ) |
Specifies components in the X-axis direction.
- Parameters
-
x X-component y Y-component z Z-component