MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.Features.Primitives.ConeSegment Class Reference
Inheritance diagram for mrmeshpy.Features.Primitives.ConeSegment:

Public Member Functions

None __init__ (self)
None __init__ (self, Features.Primitives.ConstConeSegment arg0)
None __init__ (self, ConstVector3f referencePoint, ConstVector3f dir, float positiveSideRadius, float negativeSideRadius, float positiveLength, float negativeLength, bool hollow)
Features.Primitives.ConeSegment assign (self, Features.Primitives.ConstConeSegment other)
Vector3f dir (self)
None dir (self, ConstVector3f arg1)
bool hollow (self)
None hollow (self, bool arg1)
float negativeLength (self)
None negativeLength (self, float arg1)
float negativeSideRadius (self)
None negativeSideRadius (self, float arg1)
float positiveLength (self)
None positiveLength (self, float arg1)
float positiveSideRadius (self)
None positiveSideRadius (self, float arg1)
Vector3f referencePoint (self)
None referencePoint (self, ConstVector3f arg1)
Public Member Functions inherited from mrmeshpy.Features.Primitives.ConstConeSegment
 __init__ (self, *args, **kwargs)
Features.Primitives.ConeSegment axis (self)
Features.Primitives.ConeSegment baseCircle (self, bool negative)
Features.Primitives.Plane basePlane (self, bool negative)
Sphere3f basePoint (self, bool negative)
Sphere3f centerPoint (self)
Features.Primitives.ConeSegment extendToInfinity (self, bool negative)
Features.Primitives.ConeSegment extendToInfinity (self)
bool isCircle (self)
bool isZeroRadius (self)
float length (self)
Features.Primitives.ConeSegment untruncateCone (self)

Static Public Member Functions

None __init__ (*args, **kwargs)
Static Public Member Functions inherited from mrmeshpy.Features.Primitives.ConstConeSegment
bool __eq__ (*args, **kwargs)
bool __ne__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.Features.Primitives.ConstConeSegment
typing _offsetof_dir = 12
typing _offsetof_hollow = 40
typing _offsetof_negativeLength = 36
typing _offsetof_negativeSideRadius = 28
typing _offsetof_positiveLength = 32
typing _offsetof_positiveSideRadius = 24
typing _offsetof_referencePoint = 0

Detailed Description

Generated from:  MR::Features::Primitives::ConeSegment

Can have infinite length in one or two directions.
The top and/or bottom can be flat or pointy.
Doubles as a cylinder, line (finite or infinite), and a circle.

Constructor & Destructor Documentation

◆ __init__() [1/4]

None mrmeshpy.Features.Primitives.ConeSegment.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/4]

None mrmeshpy.Features.Primitives.ConeSegment.__init__ ( self)

◆ __init__() [3/4]

None mrmeshpy.Features.Primitives.ConeSegment.__init__ ( self,
Features.Primitives.ConstConeSegment arg0 )
Implicit copy constructor.

◆ __init__() [4/4]

None mrmeshpy.Features.Primitives.ConeSegment.__init__ ( self,
ConstVector3f referencePoint,
ConstVector3f dir,
float positiveSideRadius,
float negativeSideRadius,
float positiveLength,
float negativeLength,
bool hollow )
Implicit aggregate constructor.

Member Function Documentation

◆ assign()

Features.Primitives.ConeSegment mrmeshpy.Features.Primitives.ConeSegment.assign ( self,
Features.Primitives.ConstConeSegment other )

◆ dir() [1/2]

Vector3f mrmeshpy.Features.Primitives.ConeSegment.dir ( self)
The axis direction. Must be normalized.

Reimplemented from mrmeshpy.Features.Primitives.ConstConeSegment.

◆ dir() [2/2]

None mrmeshpy.Features.Primitives.ConeSegment.dir ( self,
ConstVector3f arg1 )
The axis direction. Must be normalized.

Reimplemented from mrmeshpy.Features.Primitives.ConstConeSegment.

◆ hollow() [1/2]

bool mrmeshpy.Features.Primitives.ConeSegment.hollow ( self)
If true, the cone has no caps and no volume, and all distances (to the conical surface, that is) are positive.

Reimplemented from mrmeshpy.Features.Primitives.ConstConeSegment.

◆ hollow() [2/2]

None mrmeshpy.Features.Primitives.ConeSegment.hollow ( self,
bool arg1 )
If true, the cone has no caps and no volume, and all distances (to the conical surface, that is) are positive.

Reimplemented from mrmeshpy.Features.Primitives.ConstConeSegment.

◆ negativeLength() [1/2]

float mrmeshpy.Features.Primitives.ConeSegment.negativeLength ( self)
Distance from the `center` to the cap in the direction opposite to `dir`.

Reimplemented from mrmeshpy.Features.Primitives.ConstConeSegment.

◆ negativeLength() [2/2]

None mrmeshpy.Features.Primitives.ConeSegment.negativeLength ( self,
float arg1 )
Distance from the `center` to the cap in the direction opposite to `dir`.

Reimplemented from mrmeshpy.Features.Primitives.ConstConeSegment.

◆ negativeSideRadius() [1/2]

float mrmeshpy.Features.Primitives.ConeSegment.negativeSideRadius ( self)
Cap radius in the direction opposite to `dir`.

Reimplemented from mrmeshpy.Features.Primitives.ConstConeSegment.

◆ negativeSideRadius() [2/2]

None mrmeshpy.Features.Primitives.ConeSegment.negativeSideRadius ( self,
float arg1 )
Cap radius in the direction opposite to `dir`.

Reimplemented from mrmeshpy.Features.Primitives.ConstConeSegment.

◆ positiveLength() [1/2]

float mrmeshpy.Features.Primitives.ConeSegment.positiveLength ( self)
Distance from the `center` to the cap in the `dir` direction.

Reimplemented from mrmeshpy.Features.Primitives.ConstConeSegment.

◆ positiveLength() [2/2]

None mrmeshpy.Features.Primitives.ConeSegment.positiveLength ( self,
float arg1 )
Distance from the `center` to the cap in the `dir` direction.

Reimplemented from mrmeshpy.Features.Primitives.ConstConeSegment.

◆ positiveSideRadius() [1/2]

float mrmeshpy.Features.Primitives.ConeSegment.positiveSideRadius ( self)
Cap radius in the `dir` direction.

Reimplemented from mrmeshpy.Features.Primitives.ConstConeSegment.

◆ positiveSideRadius() [2/2]

None mrmeshpy.Features.Primitives.ConeSegment.positiveSideRadius ( self,
float arg1 )
Cap radius in the `dir` direction.

Reimplemented from mrmeshpy.Features.Primitives.ConstConeSegment.

◆ referencePoint() [1/2]

Vector3f mrmeshpy.Features.Primitives.ConeSegment.referencePoint ( self)
Some point on the axis, but not necessarily the true center point. Use `centerPoint()` for that.

Reimplemented from mrmeshpy.Features.Primitives.ConstConeSegment.

◆ referencePoint() [2/2]

None mrmeshpy.Features.Primitives.ConeSegment.referencePoint ( self,
ConstVector3f arg1 )
Some point on the axis, but not necessarily the true center point. Use `centerPoint()` for that.

Reimplemented from mrmeshpy.Features.Primitives.ConstConeSegment.


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