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

Public Member Functions

 __init__ (self, *args, **kwargs)
ConstVector3f apex (self)
ConstVector3f center (self)
ConstVector3f direction (self)
Vector3f projectPoint (self, ConstVector3f point)
float angle (self)
ConstLine3f axis (self)
float height (self)

Static Protected Attributes

typing _offsetof_angle = 24
typing _offsetof_axis = 0
typing _offsetof_height = 28

Detailed Description

Generated from:  MR::Cone3f

Base class for cone parameterization

Constructor & Destructor Documentation

◆ __init__()

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

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

2. __init__(self: meshlib.mrmeshpy.ConstCone3f, inAxis: meshlib.mrmeshpy.ConstLine3f, inAngle: float, inHeight: float) -> None

inAxis -- apex position and main axis direction.  For any cone point dot( point , direction ) >=0
inAngle -- cone angle, main axis vs side
inHeight -- cone inHeight
main axis direction could be non normalized.

3. __init__(self: meshlib.mrmeshpy.ConstCone3f, arg0: meshlib.mrmeshpy.ConstCone3f) -> None

Implicit copy constructor.

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

Member Function Documentation

◆ angle()

float mrmeshpy.ConstCone3f.angle ( self)
cone angle, main axis vs side

Reimplemented in mrmeshpy.Cone3f, and mrmeshpy.Cone3f.

◆ apex()

ConstVector3f mrmeshpy.ConstCone3f.apex ( self)
return cone apex position

Reimplemented in mrmeshpy.Cone3f, and mrmeshpy.Cone3f.

◆ axis()

ConstLine3f mrmeshpy.ConstCone3f.axis ( self)
the combination of the apex of the cone and the direction of its main axis in space.

Reimplemented in mrmeshpy.Cone3f, and mrmeshpy.Cone3f.

◆ center()

ConstVector3f mrmeshpy.ConstCone3f.center ( self)
now we use an apex as center of the cone.

Reimplemented in mrmeshpy.Cone3f, and mrmeshpy.Cone3f.

◆ direction()

ConstVector3f mrmeshpy.ConstCone3f.direction ( self)
main axis direction. It could be non normalized. For any cone point dot( point , direction ) >=0

Reimplemented in mrmeshpy.Cone3f, and mrmeshpy.Cone3f.

◆ height()

float mrmeshpy.ConstCone3f.height ( self)
cone height

Reimplemented in mrmeshpy.Cone3f, and mrmeshpy.Cone3f.

◆ projectPoint()

Vector3f mrmeshpy.ConstCone3f.projectPoint ( self,
ConstVector3f point )

Member Data Documentation

◆ _offsetof_angle

typing mrmeshpy.ConstCone3f._offsetof_angle = 24
staticprotected

◆ _offsetof_axis

typing mrmeshpy.ConstCone3f._offsetof_axis = 0
staticprotected

◆ _offsetof_height

typing mrmeshpy.ConstCone3f._offsetof_height = 28
staticprotected

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