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

Public Member Functions

 __init__ (self, *args, **kwargs)
ConstVector3f center (self)
ConstVector3f direction (self)
float length (self)
ConstLine3f mainAxis (self)
float radius (self)

Static Protected Attributes

typing _offsetof_length = 28
typing _offsetof_mainAxis = 0
typing _offsetof_radius = 24

Detailed Description

Generated from:  MR::Cylinder3f

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.ConstCylinder3f.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

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

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

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

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

Implicit copy constructor.

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

Member Function Documentation

◆ center()

ConstVector3f mrmeshpy.ConstCylinder3f.center ( self)

Reimplemented in mrmeshpy.Cylinder3f, and mrmeshpy.Cylinder3f.

◆ direction()

ConstVector3f mrmeshpy.ConstCylinder3f.direction ( self)

Reimplemented in mrmeshpy.Cylinder3f, and mrmeshpy.Cylinder3f.

◆ length()

float mrmeshpy.ConstCylinder3f.length ( self)

◆ mainAxis()

ConstLine3f mrmeshpy.ConstCylinder3f.mainAxis ( self)

Reimplemented in mrmeshpy.Cylinder3f, and mrmeshpy.Cylinder3f.

◆ radius()

float mrmeshpy.ConstCylinder3f.radius ( self)

Member Data Documentation

◆ _offsetof_length

typing mrmeshpy.ConstCylinder3f._offsetof_length = 28
staticprotected

◆ _offsetof_mainAxis

typing mrmeshpy.ConstCylinder3f._offsetof_mainAxis = 0
staticprotected

◆ _offsetof_radius

typing mrmeshpy.ConstCylinder3f._offsetof_radius = 24
staticprotected

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