MeshLib C# Docs
Loading...
Searching...
No Matches

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 const half of the class. More...

Inheritance diagram for MR.Features.Primitives.Const_ConeSegment:

Classes

struct  _Underlying

Public Member Functions

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)

Static Public Member Functions

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

virtual unsafe void Dispose (bool disposing)

Protected Attributes

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

Properties

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]

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 const half of the class.

Constructor & Destructor Documentation

◆ Const_ConeSegment() [1/4]

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

Constructs an empty (default-constructed) instance.

◆ Const_ConeSegment() [2/4]

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

Constructs MR.Features.Primitives.ConeSegment elementwise.

◆ Const_ConeSegment() [3/4]

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

◆ Const_ConeSegment() [4/4]

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

Member Function Documentation

◆ axis()

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

◆ baseCircle()

unsafe MR.Features.Primitives.ConeSegment MR.Features.Primitives.Const_ConeSegment.baseCircle ( bool negative)
inline

◆ basePlane()

unsafe MR.Features.Primitives.Plane MR.Features.Primitives.Const_ConeSegment.basePlane ( bool negative)
inline

◆ basePoint()

unsafe MR.Sphere3f MR.Features.Primitives.Const_ConeSegment.basePoint ( bool negative)
inline

◆ centerPoint()

unsafe MR.Sphere3f MR.Features.Primitives.Const_ConeSegment.centerPoint ( )
inline

◆ Dispose() [1/2]

virtual void MR.Features.Primitives.Const_ConeSegment.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

virtual unsafe void MR.Features.Primitives.Const_ConeSegment.Dispose ( bool disposing)
inlineprotectedvirtual

◆ Equals() [1/2]

bool MR.Features.Primitives.Const_ConeSegment.Equals ( MR.Features.Primitives.Const_ConeSegment? _2)
inline

◆ Equals() [2/2]

override bool MR.Features.Primitives.Const_ConeSegment.Equals ( object? other)
inline

◆ extendToInfinity() [1/2]

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

◆ extendToInfinity() [2/2]

unsafe MR.Features.Primitives.ConeSegment MR.Features.Primitives.Const_ConeSegment.extendToInfinity ( bool negative)
inline

◆ isCircle()

unsafe bool MR.Features.Primitives.Const_ConeSegment.isCircle ( )
inline

◆ isZeroRadius()

unsafe bool MR.Features.Primitives.Const_ConeSegment.isZeroRadius ( )
inline

◆ length()

unsafe float MR.Features.Primitives.Const_ConeSegment.length ( )
inline

◆ operator!=()

unsafe bool MR.Features.Primitives.Const_ConeSegment.operator!= ( MR.Features.Primitives.Const_ConeSegment _1,
MR.Features.Primitives.Const_ConeSegment _2 )
inlinestatic

◆ operator==()

unsafe bool MR.Features.Primitives.Const_ConeSegment.operator== ( MR.Features.Primitives.Const_ConeSegment _1,
MR.Features.Primitives.Const_ConeSegment _2 )
inlinestatic

Generated from function MR::Features::Primitives::operator==.

◆ untruncateCone()

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

Member Data Documentation

◆ __ref_storage_dir

unsafe MR.Vector3f* MR.Features.Primitives.Const_ConeSegment.__ref_storage_dir
protected

◆ __ref_storage_hollow

unsafe bool* MR.Features.Primitives.Const_ConeSegment.__ref_storage_hollow
protected

◆ __ref_storage_negativeLength

unsafe float* MR.Features.Primitives.Const_ConeSegment.__ref_storage_negativeLength
protected

◆ __ref_storage_negativeSideRadius

unsafe float* MR.Features.Primitives.Const_ConeSegment.__ref_storage_negativeSideRadius
protected

◆ __ref_storage_positiveLength

unsafe float* MR.Features.Primitives.Const_ConeSegment.__ref_storage_positiveLength
protected

◆ __ref_storage_positiveSideRadius

unsafe float* MR.Features.Primitives.Const_ConeSegment.__ref_storage_positiveSideRadius
protected

◆ __ref_storage_referencePoint

unsafe MR.Vector3f* MR.Features.Primitives.Const_ConeSegment.__ref_storage_referencePoint
protected

Property Documentation

◆ dir

unsafe ref readonly MR.Vector3f MR.Features.Primitives.Const_ConeSegment.dir
get

The axis direction. Must be normalized.

◆ hollow

unsafe bool MR.Features.Primitives.Const_ConeSegment.hollow
get

◆ negativeLength

unsafe float MR.Features.Primitives.Const_ConeSegment.negativeLength
get

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

◆ negativeSideRadius

unsafe float MR.Features.Primitives.Const_ConeSegment.negativeSideRadius
get

Cap radius in the direction opposite to dir.

◆ positiveLength

unsafe float MR.Features.Primitives.Const_ConeSegment.positiveLength
get

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

◆ positiveSideRadius

unsafe float MR.Features.Primitives.Const_ConeSegment.positiveSideRadius
get

Cap radius in the dir direction.

◆ referencePoint

unsafe ref readonly MR.Vector3f MR.Features.Primitives.Const_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: