Public Member Functions | List of all members
Cylinder Class Reference

Cylinder class is used to define circles or cylinders for selection.
The class can be called from Application class.
. More...

Public Member Functions

PointGetCenterAxis ()
 Returns the each component for the center axis. More...
 
PointGetCenterPoint ()
 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...
 
PointGetXAxis ()
 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:

app.CreateCylinder()

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=1
False=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=1
False=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
xX-component
yY-component
zZ-component
void Cylinder::SetCenterAxisByPoint ( Point center_axis)

Specifies components for a center axis in a Point object.

Parameters
center_axisPoint object
void Cylinder::SetCenterPoint ( double  x,
double  y,
double  z 
)

Specifies coordinates for a center point.

Parameters
xX-coordinate
yY-coordinate
zZ-coordinate
void Cylinder::SetCenterPointByPoint ( Point center)

Specifies coordinates for center point in a Point object.

Parameters
centerPoint object
void Cylinder::SetEndAngle ( double  angle)

Specifies the angle of the end position in a selected area.

Parameters
angleAngle
void Cylinder::SetHeightBottom ( double  bottom)

Specifies the position of the bottom in a selected area.

Parameters
bottomPosition of bottom surface
void Cylinder::SetHeightTop ( double  top)

Specifies the position of the top in a selected area.

Parameters
topPosition of top surface
void Cylinder::SetInnerRadius ( double  radius)

Specifies the radius in an inner circle in the selected area.

Parameters
radiusInner radius
void Cylinder::SetOuterRadius ( double  radius)

Specifies the radius in an outer circle in a selected area.

Parameters
radiusOuter radius
void void Cylinder::SetStartAngle ( double  angle)

Specifies the angle of the start position in a selected area.

Parameters
angleAngle
void Cylinder::SetUseAngle ( bool  use)

Specifies whether or not to set angle in a selected area.

Parameters
use
True=1 : Specify angle
False=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 height
False=0 : Do not specify height
void Cylinder::SetXAxis ( double  x,
double  y,
double  z 
)

Specifies components in the X-axis direction.

Parameters
xX-component
yY-component
zZ-component
void Cylinder::SetXAxisByPoint ( Point x_axis)

Specifies components in the X-axis direction in a Point object.

Parameters
x_axisPoint object