MeshLib C# Docs
Loading...
Searching...
No Matches
MR.Features.Primitives.ConeSegment Class Reference

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. Generated from class MR.Features.Primitives.ConeSegment. This is the non-const half of the class. More...

+ Inheritance diagram for MR.Features.Primitives.ConeSegment:

Public Member Functions

unsafe ConeSegment ()
 Constructs an empty (default-constructed) instance.
 
unsafe ConeSegment (MR.Vector3f referencePoint, MR.Vector3f dir, float positiveSideRadius, float negativeSideRadius, float positiveLength, float negativeLength, bool hollow)
 Constructs MR.Features.Primitives.ConeSegment elementwise.
 
unsafe ConeSegment (MR.Features.Primitives.Const_ConeSegment _other)
 Generated from constructor MR.Features.Primitives.ConeSegment.ConeSegment.
 
 ConeSegment (ConeSegment _other)
 Generated from constructor MR.Features.Primitives.ConeSegment.ConeSegment.
 
unsafe MR.Features.Primitives.ConeSegment assign (MR.Features.Primitives.Const_ConeSegment _other)
 Generated from method MR.Features.Primitives.ConeSegment.operator=.
 

Properties

new unsafe ref MR.Vector3f referencePoint [get]
 Some point on the axis, but not necessarily the true center point. Use centerPoint() for that.
 
new unsafe ref MR.Vector3f dir [get]
 The axis direction. Must be normalized.
 
new unsafe ref float positiveSideRadius [get]
 Cap radius in the dir direction.
 
new unsafe ref float negativeSideRadius [get]
 Cap radius in the direction opposite to dir.
 
new unsafe ref float positiveLength [get]
 Distance from the center to the cap in the dir direction.
 
new unsafe ref float negativeLength [get]
 Distance from the center to the cap in the direction opposite to dir.
 
new unsafe ref bool hollow [get]
 

Detailed Description

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. Generated from class MR.Features.Primitives.ConeSegment. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ ConeSegment() [1/4]

unsafe MR.Features.Primitives.ConeSegment.ConeSegment ( )
inline

Constructs an empty (default-constructed) instance.

◆ ConeSegment() [2/4]

unsafe MR.Features.Primitives.ConeSegment.ConeSegment ( MR.Vector3f referencePoint,
MR.Vector3f dir,
float positiveSideRadius,
float negativeSideRadius,
float positiveLength,
float negativeLength,
bool hollow )
inline

Constructs MR.Features.Primitives.ConeSegment elementwise.

◆ ConeSegment() [3/4]

unsafe MR.Features.Primitives.ConeSegment.ConeSegment ( MR.Features.Primitives.Const_ConeSegment _other)
inline

Generated from constructor MR.Features.Primitives.ConeSegment.ConeSegment.

◆ ConeSegment() [4/4]

MR.Features.Primitives.ConeSegment.ConeSegment ( ConeSegment _other)
inline

Generated from constructor MR.Features.Primitives.ConeSegment.ConeSegment.

Member Function Documentation

◆ assign()

unsafe MR.Features.Primitives.ConeSegment MR.Features.Primitives.ConeSegment.assign ( MR.Features.Primitives.Const_ConeSegment _other)
inline

Generated from method MR.Features.Primitives.ConeSegment.operator=.

Property Documentation

◆ dir

new unsafe ref MR.Vector3f MR.Features.Primitives.ConeSegment.dir
get

The axis direction. Must be normalized.

◆ hollow

new unsafe ref bool MR.Features.Primitives.ConeSegment.hollow
get

◆ negativeLength

new unsafe ref float MR.Features.Primitives.ConeSegment.negativeLength
get

Distance from the center to the cap in the direction opposite to dir.

◆ negativeSideRadius

new unsafe ref float MR.Features.Primitives.ConeSegment.negativeSideRadius
get

Cap radius in the direction opposite to dir.

◆ positiveLength

new unsafe ref float MR.Features.Primitives.ConeSegment.positiveLength
get

Distance from the center to the cap in the dir direction.

◆ positiveSideRadius

new unsafe ref float MR.Features.Primitives.ConeSegment.positiveSideRadius
get

Cap radius in the dir direction.

◆ referencePoint

new unsafe ref MR.Vector3f MR.Features.Primitives.ConeSegment.referencePoint
get

Some point on the axis, but not necessarily the true center point. Use centerPoint() for that.


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