MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstCylinder3d Class Reference
Inheritance diagram for mrmeshpy.ConstCylinder3d:

Public Member Functions

 __init__ (self, *args, **kwargs)
ConstVector3d center (self)
ConstVector3d direction (self)
float length (self)
ConstLine3d mainAxis (self)
float radius (self)

Static Protected Attributes

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__()

mrmeshpy.ConstCylinder3d.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstCylinder3d) -> None

2. __init__(self: meshlib.mrmeshpy.ConstCylinder3d, inCenter: meshlib.mrmeshpy.ConstVector3d, inDirectoin: meshlib.mrmeshpy.ConstVector3d, inRadius: float, inLength: float) -> None

3. __init__(self: meshlib.mrmeshpy.ConstCylinder3d, inAxis: meshlib.mrmeshpy.ConstLine3d, inRadius: float, inLength: float) -> None

4. __init__(self: meshlib.mrmeshpy.ConstCylinder3d, arg0: meshlib.mrmeshpy.ConstCylinder3d) -> None

Implicit copy constructor.

5. __init__(self: meshlib.mrmeshpy.ConstCylinder3d, : meshlib.mrmeshpy.ConstCylinder3d) -> None

Member Function Documentation

◆ center()

ConstVector3d mrmeshpy.ConstCylinder3d.center ( self)

Reimplemented in mrmeshpy.Cylinder3d, and mrmeshpy.Cylinder3d.

◆ direction()

ConstVector3d mrmeshpy.ConstCylinder3d.direction ( self)

Reimplemented in mrmeshpy.Cylinder3d, and mrmeshpy.Cylinder3d.

◆ length()

float mrmeshpy.ConstCylinder3d.length ( self)

◆ mainAxis()

ConstLine3d mrmeshpy.ConstCylinder3d.mainAxis ( self)

Reimplemented in mrmeshpy.Cylinder3d, and mrmeshpy.Cylinder3d.

◆ radius()

float mrmeshpy.ConstCylinder3d.radius ( self)

Member Data Documentation

◆ _offsetof_length

typing mrmeshpy.ConstCylinder3d._offsetof_length = 56
staticprotected

◆ _offsetof_mainAxis

typing mrmeshpy.ConstCylinder3d._offsetof_mainAxis = 0
staticprotected

◆ _offsetof_radius

typing mrmeshpy.ConstCylinder3d._offsetof_radius = 48
staticprotected

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