MeshLib Python Docs
Loading...
Searching...
No Matches
Inheritance diagram for mrmeshpy.Cylinder3d:

Public Member Functions

None __init__ (self)
None __init__ (self, ConstVector3d inCenter, ConstVector3d inDirectoin, float inRadius, float inLength)
None __init__ (self, ConstLine3d inAxis, float inRadius, float inLength)
None __init__ (self, ConstCylinder3d arg0)
Cylinder3d assign (self, ConstCylinder3d other)
Vector3d center (self)
ConstVector3d center (ConstCylinder3d self)
Vector3d direction (self)
ConstVector3d direction (ConstCylinder3d self)
Line3d mainAxis (self)
None mainAxis (self, ConstLine3d arg1)
Public Member Functions inherited from mrmeshpy.ConstCylinder3d
 __init__ (self, *args, **kwargs)
float length (self)
float radius (self)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstCylinder3d
typing _offsetof_length = 56
typing _offsetof_mainAxis = 0
typing _offsetof_radius = 48

Detailed Description

Generated from:  MR::Cylinder3d

A class describing a cylinder as a mathematical object. A cylinder is represented by a centerline, a radius, and a length.
TODO: Cylinder3 could be infinite. For example for infinite Cylinder3 we could use negative length or length = -1

Constructor & Destructor Documentation

◆ __init__() [1/5]

None mrmeshpy.Cylinder3d.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/5]

None mrmeshpy.Cylinder3d.__init__ ( self)

◆ __init__() [3/5]

None mrmeshpy.Cylinder3d.__init__ ( self,
ConstVector3d inCenter,
ConstVector3d inDirectoin,
float inRadius,
float inLength )

◆ __init__() [4/5]

None mrmeshpy.Cylinder3d.__init__ ( self,
ConstLine3d inAxis,
float inRadius,
float inLength )

◆ __init__() [5/5]

None mrmeshpy.Cylinder3d.__init__ ( self,
ConstCylinder3d arg0 )
Implicit copy constructor.

Member Function Documentation

◆ assign()

Cylinder3d mrmeshpy.Cylinder3d.assign ( self,
ConstCylinder3d other )

◆ center() [1/2]

ConstVector3d mrmeshpy.Cylinder3d.center ( ConstCylinder3d self)

Reimplemented from mrmeshpy.ConstCylinder3d.

◆ center() [2/2]

Vector3d mrmeshpy.Cylinder3d.center ( self)

Reimplemented from mrmeshpy.ConstCylinder3d.

◆ direction() [1/2]

ConstVector3d mrmeshpy.Cylinder3d.direction ( ConstCylinder3d self)

Reimplemented from mrmeshpy.ConstCylinder3d.

◆ direction() [2/2]

Vector3d mrmeshpy.Cylinder3d.direction ( self)

Reimplemented from mrmeshpy.ConstCylinder3d.

◆ mainAxis() [1/2]

Line3d mrmeshpy.Cylinder3d.mainAxis ( self)

Reimplemented from mrmeshpy.ConstCylinder3d.

◆ mainAxis() [2/2]

None mrmeshpy.Cylinder3d.mainAxis ( self,
ConstLine3d arg1 )

Reimplemented from mrmeshpy.ConstCylinder3d.


The documentation for this class was generated from the following file: