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=.
Public Member Functions inherited from MR.Features.Primitives.Const_ConeSegment
virtual void Dispose ()
unsafe Const_ConeSegment ()
 Constructs an empty (default-constructed) instance.
unsafe Const_ConeSegment (MR.Vector3f referencePoint, MR.Vector3f dir, float positiveSideRadius, float negativeSideRadius, float positiveLength, float negativeLength, bool hollow)
 Constructs MR.Features.Primitives.ConeSegment elementwise.
unsafe Const_ConeSegment (MR.Features.Primitives.Const_ConeSegment _other)
 Generated from constructor MR.Features.Primitives.ConeSegment.ConeSegment.
 Const_ConeSegment (ConeSegment _other)
 Generated from constructor MR.Features.Primitives.ConeSegment.ConeSegment.
unsafe bool isZeroRadius ()
 Generated from method MR.Features.Primitives.ConeSegment.isZeroRadius.
unsafe bool isCircle ()
 Generated from method MR.Features.Primitives.ConeSegment.isCircle.
unsafe float length ()
 Generated from method MR.Features.Primitives.ConeSegment.length.
unsafe MR.Sphere3f centerPoint ()
 Generated from method MR.Features.Primitives.ConeSegment.centerPoint.
unsafe MR.Features.Primitives.ConeSegment extendToInfinity (bool negative)
 Generated from method MR.Features.Primitives.ConeSegment.extendToInfinity.
unsafe MR.Features.Primitives.ConeSegment extendToInfinity ()
 Generated from method MR.Features.Primitives.ConeSegment.extendToInfinity.
unsafe MR.Features.Primitives.ConeSegment untruncateCone ()
 Generated from method MR.Features.Primitives.ConeSegment.untruncateCone.
unsafe MR.Features.Primitives.ConeSegment axis ()
 Generated from method MR.Features.Primitives.ConeSegment.axis.
unsafe MR.Sphere3f basePoint (bool negative)
 Generated from method MR.Features.Primitives.ConeSegment.basePoint.
unsafe MR.Features.Primitives.Plane basePlane (bool negative)
 Generated from method MR.Features.Primitives.ConeSegment.basePlane.
unsafe MR.Features.Primitives.ConeSegment baseCircle (bool negative)
 Generated from method MR.Features.Primitives.ConeSegment.baseCircle.
bool Equals (MR.Features.Primitives.Const_ConeSegment? _2)
override bool Equals (object? other)

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]
Properties inherited from MR.Features.Primitives.Const_ConeSegment
unsafe ref readonly MR.Vector3f referencePoint [get]
 Some point on the axis, but not necessarily the true center point. Use centerPoint() for that.
unsafe ref readonly MR.Vector3f dir [get]
 The axis direction. Must be normalized.
unsafe float positiveSideRadius [get]
 Cap radius in the dir direction.
unsafe float negativeSideRadius [get]
 Cap radius in the direction opposite to dir.
unsafe float positiveLength [get]
 Distance from the center to the cap in the dir direction.
unsafe float negativeLength [get]
 Distance from the center to the cap in the direction opposite to dir.
unsafe bool hollow [get]

Additional Inherited Members

Static Public Member Functions inherited from MR.Features.Primitives.Const_ConeSegment
static unsafe bool operator== (MR.Features.Primitives.Const_ConeSegment _1, MR.Features.Primitives.Const_ConeSegment _2)
 Generated from function MR::Features::Primitives::operator==.
static unsafe bool operator!= (MR.Features.Primitives.Const_ConeSegment _1, MR.Features.Primitives.Const_ConeSegment _2)
Protected Member Functions inherited from MR.Features.Primitives.Const_ConeSegment
virtual unsafe void Dispose (bool disposing)
Protected Attributes inherited from MR.Features.Primitives.Const_ConeSegment
unsafe MR.Vector3f__ref_storage_referencePoint
unsafe MR.Vector3f__ref_storage_dir
unsafe float * __ref_storage_positiveSideRadius
unsafe float * __ref_storage_negativeSideRadius
unsafe float * __ref_storage_positiveLength
unsafe float * __ref_storage_negativeLength
unsafe bool * __ref_storage_hollow

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

◆ ConeSegment() [4/4]

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

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: