Hide menu
Loading...
Searching...
No Matches
cadex.Geom.Cylinder Class Reference

Defines a 3D Cylinder. More...

Inherits global.SystemIDisposable.

Public Member Functions

 Cylinder (global::System.IntPtr cPtr, bool cMemoryOwn)
 
void Dispose ()
 
 Cylinder (cadex.Geom.Axis1d theAxis, double theRadius, double theHeight)
 Constructor.
 
void SetAxis (cadex.Geom.Axis1d theAxis)
 Sets the axis of Cylinder.
 
void SetRadius (double theRadius)
 Sets the radius of Cylinder to the specified value. The radius must be greater than zero.
 
void SetHeight (double theHeight)
 Sets the height of Cylinder along the axis to the specified values. The height must be greater than zero.
 
cadex.Geom.Axis1d Axis ()
 
double Radius ()
 
double Height ()
 
cadex.Geom.Point Center ()
 
double Volume ()
 
double SurfaceArea ()
 
bool IsInfinite ()
 Returns true if at least one coordinate is infinite.
 
bool Contains (cadex.Geom.Point thePoint)
 Returns true if the point lies inside the Cylinder.
 
void Multiply (double theValue)
 Scales Cylinder by scalar value.
 
cadex.Geom.Cylinder Multiplied (double theValue)
 Returns the Cylinder scaled by scalar value.
 
void Transform (cadex.Geom.Transformation theTransformation)
 Transforms the axis of the Cylinder and scales its dimensions according to the transform scaling factor.
 
cadex.Geom.Cylinder Transformed (cadex.Geom.Transformation theTransformation)
 Returns the transformed Cylinder.
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Detailed Description

Defines a 3D Cylinder.

The Cylinder is defined via axis, outer radius and height.

Constructor & Destructor Documentation

◆ Cylinder()

cadex.Geom.Cylinder.Cylinder ( cadex.Geom.Axis1d theAxis,
double theRadius,
double theHeight )
inline

Constructor.

Member Function Documentation

◆ Contains()

bool cadex.Geom.Cylinder.Contains ( cadex.Geom.Point thePoint)
inline

Returns true if the point lies inside the Cylinder.

◆ IsInfinite()

bool cadex.Geom.Cylinder.IsInfinite ( )
inline

Returns true if at least one coordinate is infinite.

"Infinite" means that coordinate's absolute value is greater than \(10^{100}\).

◆ Multiplied()

cadex.Geom.Cylinder cadex.Geom.Cylinder.Multiplied ( double theValue)
inline

Returns the Cylinder scaled by scalar value.

◆ Multiply()

void cadex.Geom.Cylinder.Multiply ( double theValue)
inline

Scales Cylinder by scalar value.

◆ SetAxis()

void cadex.Geom.Cylinder.SetAxis ( cadex.Geom.Axis1d theAxis)
inline

Sets the axis of Cylinder.

◆ SetHeight()

void cadex.Geom.Cylinder.SetHeight ( double theHeight)
inline

Sets the height of Cylinder along the axis to the specified values. The height must be greater than zero.

◆ SetRadius()

void cadex.Geom.Cylinder.SetRadius ( double theRadius)
inline

Sets the radius of Cylinder to the specified value. The radius must be greater than zero.

◆ Transform()

void cadex.Geom.Cylinder.Transform ( cadex.Geom.Transformation theTransformation)
inline

Transforms the axis of the Cylinder and scales its dimensions according to the transform scaling factor.

Transforms the Cylinder.

◆ Transformed()

cadex.Geom.Cylinder cadex.Geom.Cylinder.Transformed ( cadex.Geom.Transformation theTransformation)
inline

Returns the transformed Cylinder.