• Articles
  • Api Documentation
Show / Hide Table of Contents
  • DotnetPostprocessing.SDK
    • ArcBreakMode
    • ArcSettings
    • BrakeAxesEnumerator
    • CLDArray
    • CLDAxisBrake
    • CLDCmdType
    • CLDCmdTypeExtensions
    • CLDConst
    • CLDCycle
    • CLDEDMMotionMode
    • CLDFeedKind
    • CLDFeedUnits
    • CLDFileType
    • CLDInterpMode
    • CLDMultiMotionAxis
    • CLDOriginPositionMode
    • CLDOriginType
    • CLDPlaneType
    • CLDRotationDir
    • CLDSpindleAction
    • CLDSpindleSpeedMode
    • CLDThreadOrient
    • CLDThreadUnits
    • CodeParamType
    • CommonFuncs
    • CountingNCWord
    • EDMRollMode
    • EPostprocessorException
    • IArrayNamedPropertyIndexer
    • IBinaryNCStorage
    • IBooleanNamedPropertyIndexer
    • ICLDAxesBrakeCommand
    • ICLDBrakeAxesIndexer
    • ICLDCircleCommand
    • ICLDClampCommand
    • ICLDCommand
    • ICLDCommentCommand
    • ICLDCoolantCommand
    • ICLDCoolantTubeIndexer
    • ICLDCutComCommand
    • ICLDCycleCommand
    • ICLDDelayCommand
    • ICLDEDMMoveCommand
    • ICLDEDMMoveSpan
    • ICLDEffectorCommand
    • ICLDExtCycleCommand
    • ICLDFeedrateCommand
    • ICLDFile
    • ICLDFileCmdIndexer
    • ICLDFileList
    • ICLDFiniCommand
    • ICLDFromCommand
    • ICLDGoHomeCommand
    • ICLDGotoCommand
    • ICLDInsertCommand
    • ICLDInterpolationCommand
    • ICLDLoadToolCommand
    • ICLDMachineAxesIndexer
    • ICLDMachineAxisInfo
    • ICLDMachineInfo
    • ICLDMachiningTool
    • ICLDMotionCommand
    • ICLDMoveVelocityCommand
    • ICLDMultiArcCommand
    • ICLDMultiArcPoint
    • ICLDMultiAxisArray
    • ICLDMultiGotoCommand
    • ICLDMultiMotionAxesIndexer
    • ICLDMultiMotionCommand
    • ICLDOpStopCommand
    • ICLDOriginCommand
    • ICLDPPFunCommand
    • ICLDPartNoCommand
    • ICLDPhysicGotoCommand
    • ICLDPlaneCommand
    • ICLDPowerCommand
    • ICLDPrintCommand
    • ICLDProject
    • ICLDRapidCommand
    • ICLDSelWorkpieceCommand
    • ICLDSinglePassThreadCommand
    • ICLDSpindleCommand
    • ICLDStopCommand
    • ICLDStructureCommand
    • ICLDSub
    • ICLDSubList
    • ICLDSyncAxesCommand
    • ICLDSyncWaitCommand
    • ICLDTLContactCommand
    • ICLDTakeoverCommand
    • ICLDTechOperation
    • ICLDTechOperationList
    • ICLDTranslator
    • ICodeParametersOfCLDCommand
    • ICodeParametersOfCLDCommandBooleanIndexer
    • ICodeParametersOfCLDCommandFloatIndexer
    • ICodeParametersOfCLDCommandIntegerIndexer
    • ICodeParametersOfCLDCommandStringIndexer
    • IFloatNamedPropertyIndexer
    • IInputBox
    • IInputBoxEnumValuesList<T>
    • IInputBoxFactory
    • IInputBoxProperty
    • IIntegerNamedPropertyIndexer
    • INCBlockOwner
    • INCFileOwner
    • INCLabel
    • INCStorage
    • INCStorageManager
    • INamedPropertiesCollection
    • INamedProperty
    • INamedPropertyIndexer
    • IPPFunTechInfo
    • IPPFunTechInfoPart
    • IPPFunTechInfoSetupStage
    • IPPFunTechInfoTool
    • IPPFunTechInfoWorkpiece
    • IPostprocessingLogReceiver
    • IStringNamedPropertyIndexer
    • ITextNCStorage
    • IToolGeometry
    • InitNamesProc
    • InpArray<T>
    • InpNumber
    • InputBoxEnumValuesFormer<T>
    • InputBoxValueSetter<T>
    • Log
    • LogMessageType
    • MsgBtnSet
    • MsgClickedBtn
    • MsgDefBtn
    • MsgType
    • MultiMotionAxesEnumerator
    • NCBlock
    • NCBlockWordsEnumerator
    • NCLabelSnapMode
    • NCWord
    • NCWordDecPoint
    • NCWordSign
    • NCWordState
    • NCWordTextCase
    • NamedParamType
    • NamedPropIterator
    • NumericNCWord
    • PostprocessorSettings
    • TBinaryNCFile
    • TExternalNCFile
    • TInp2DPoint
    • TInp3DPoint
    • TInp5DPoint
    • TInpComplexRotationConvention
    • TInpLocation
    • TInpQuaternion
    • TInpRotation
    • TInpRotationConvention
    • TNCFile
    • TNCFilesManager
    • TNCStorageType
    • TPostprocessor
    • TSimpleTextNCFile
    • TTextNCFile
    • TextNCWord
    • TrailingZeroesMode
    • TranslitPair
    • TransliterationTable
    • Transliterator
  • GeneralUtils.STDefLib
    • AngleUnits
    • STDef
  • Geometry.GeWatchDNClient
    • STGeWatch
    • STGeWatchClient
  • Geometry.VecMatrLib
    • EVecMatrLibError
    • GWConsts
    • ISTGeWatch
    • ISTGeWatchClient
    • ISTGeWatchable
    • T2DBox
    • T2DPoint
    • T3DArc
    • T3DBox
    • T3DCut
    • T3DMatrix
    • T3DPoint
    • T5DPoint
    • TComplexRotationConvention
    • TLocation
    • TQuaternion
    • TRotation
    • TRotationConvention
    • TRotationsConverter
    • VML
  • IPCUtils.SharedMemIPC
    • DelayedProcedure
    • HandleRequestProc
    • HandleStreamProc
    • IPCStream
    • SharedMemClient
    • SharedMemObject
    • SharedMemServer
    • SharememUtils
  • STTypes
    • IST_2DBox
    • IST_2DMatrix
    • IST_2DPoint
    • IST_3DBox
    • IST_3DMatrix
    • IST_3DPoint
    • IST_5DPoint
    • IST_MeasurableObject
    • IST_UpdateStamp
    • TST2DBox
    • TST2DLine
    • TST2DMatrix
    • TST2DPoint
    • TST2IPoint
    • TST2SPoint
    • TST3DBox
    • TST3DLine
    • TST3DMatrix
    • TST3DPoint
    • TST3DVec
    • TST3IPoint
    • TST3SMatrix
    • TST3SPoint
    • TST5DPoint
    • TSTLinearUnits
    • TSTSystemUnits
    • TST_LinearMeasure
    • enumTST_LinearMeasure
    • tagTST2DBox
    • tagTST2DLine
    • tagTST2DMatrix
    • tagTST2DPoint
    • tagTST2IPoint
    • tagTST2SPoint
    • tagTST3DBox
    • tagTST3DLine
    • tagTST3DMatrix
    • tagTST3DPoint
    • tagTST3IPoint
    • tagTST3SMatrix
    • tagTST3SPoint
    • tagTST5DPoint
    • tagTSTLinearUnits
    • tagTSTSystemUnits

Class T3DBox

Inheritance
object
T3DBox
Namespace: Geometry.VecMatrLib
Assembly: Geometry.VecMatrLib.dll
Syntax
public sealed class T3DBox : ValueType

Constructors

T3DBox(T2DBox, double)

Declaration
public T3DBox(T2DBox b, double z = 0)
Parameters
Type Name Description
T2DBox b
double z

T3DBox(T2DBox, double, double)

Declaration
public T3DBox(T2DBox b, double zMin, double zMax)
Parameters
Type Name Description
T2DBox b
double zMin
double zMax

T3DBox(T3DPoint, T3DPoint)

Declaration
public T3DBox(T3DPoint Min, T3DPoint Max)
Parameters
Type Name Description
T3DPoint Min
T3DPoint Max

T3DBox(double, double, double, double, double, double)

Declaration
public T3DBox(double X1, double Y1, double Z1, double X2, double Y2, double Z2)
Parameters
Type Name Description
double X1
double Y1
double Z1
double X2
double Y2
double Z2

Fields

DiagLen

Declaration
public double DiagLen
Field Value
Type Description
double

DiagLenIsCalcd

Declaration
public bool DiagLenIsCalcd
Field Value
Type Description
bool

Empty

Declaration
public bool Empty
Field Value
Type Description
bool

Properties

Depth

Declaration
public double Depth { get; }
Property Value
Type Description
double

Height

Declaration
public double Height { get; }
Property Value
Type Description
double

Max

Declaration
public T3DPoint Max { get; set; }
Property Value
Type Description
T3DPoint

Min

Declaration
public T3DPoint Min { get; set; }
Property Value
Type Description
T3DPoint

Width

Declaration
public double Width { get; }
Property Value
Type Description
double

Methods

AddBox(T3DBox)

Declaration
public T3DBox AddBox(T3DBox b)
Parameters
Type Name Description
T3DBox b
Returns
Type Description
T3DBox

AddCoordBox(T3DBox, int, double)

Declaration
public void AddCoordBox(T3DBox box, int NCoord, double Value)
Parameters
Type Name Description
T3DBox box
int NCoord
double Value

AddEnlargedBoxes(ref T3DBox, T3DBox, double)

Declaration
public void AddEnlargedBoxes(ref T3DBox box, T3DBox b, double Stock)
Parameters
Type Name Description
T3DBox box
T3DBox b
double Stock

AddPoint(T3DPoint)

Declaration
public T3DBox AddPoint(T3DPoint p)
Parameters
Type Name Description
T3DPoint p
Returns
Type Description
T3DBox

AddPointBox(ref T3DBox, T3DPoint)

Declaration
public void AddPointBox(ref T3DBox box, T3DPoint point)
Parameters
Type Name Description
T3DBox box
T3DPoint point

Box3d(T2DBox, double)

Declaration
public T3DBox Box3d(T2DBox b, double Z = 0)
Parameters
Type Name Description
T2DBox b
double Z
Returns
Type Description
T3DBox

Box3d(T2DBox, double, double)

Declaration
public T3DBox Box3d(T2DBox b, double zMin, double zMax)
Parameters
Type Name Description
T2DBox b
double zMin
double zMax
Returns
Type Description
T3DBox

Box3d(T3DPoint, T3DPoint)

Declaration
public T3DBox Box3d(T3DPoint p1, T3DPoint p2)
Parameters
Type Name Description
T3DPoint p1
T3DPoint p2
Returns
Type Description
T3DBox

Box3d(T3DPoint, double)

Declaration
public T3DBox Box3d(T3DPoint p, double Enlarge = 0)
Parameters
Type Name Description
T3DPoint p
double Enlarge
Returns
Type Description
T3DBox

BoxInBoxes(T3DBox, T3DBox)

Declaration
public static int BoxInBoxes(T3DBox box, T3DBox b)
Parameters
Type Name Description
T3DBox box
T3DBox b
Returns
Type Description
int

BxM(T3DBox, T3DMatrix)

Declaration
public T3DBox BxM(T3DBox bb, T3DMatrix M)
Parameters
Type Name Description
T3DBox bb
T3DMatrix M
Returns
Type Description
T3DBox

CoordInsideBox(T3DBox, int, double)

Declaration
public int CoordInsideBox(T3DBox box, int NCoord, double Value)
Parameters
Type Name Description
T3DBox box
int NCoord
double Value
Returns
Type Description
int

DiagLength(T3DBox)

Declaration
public static double DiagLength(T3DBox b)
Parameters
Type Name Description
T3DBox b
Returns
Type Description
double

Enlarge(double)

Declaration
public void Enlarge(double s)
Parameters
Type Name Description
double s

Enlarge(double, double, double)

Declaration
public void Enlarge(double sx, double sy, double sz)
Parameters
Type Name Description
double sx
double sy
double sz

EnlargeBoxes(ref T3DBox, double)

Declaration
public void EnlargeBoxes(ref T3DBox box, double Stock)
Parameters
Type Name Description
T3DBox box
double Stock

Equals(T3DBox)

Declaration
public bool Equals(T3DBox b)
Parameters
Type Name Description
T3DBox b
Returns
Type Description
bool

Equals(T3DBox, T3DBox)

Declaration
public static bool Equals(T3DBox b1, T3DBox b2)
Parameters
Type Name Description
T3DBox b1
T3DBox b2
Returns
Type Description
bool

Equals(T3DBox, T3DBox, double)

Declaration
public static bool Equals(T3DBox b1, T3DBox b2, double tolerance)
Parameters
Type Name Description
T3DBox b1
T3DBox b2
double tolerance
Returns
Type Description
bool

Equals(object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool

ExtendBoxAlongAxis(T3DBox, T3DPoint, double)

Declaration
public void ExtendBoxAlongAxis(T3DBox b, T3DPoint n, double L)
Parameters
Type Name Description
T3DBox b
T3DPoint n
double L

GetBoxVertex(T3DBox, int)

Declaration
public static T3DPoint GetBoxVertex(T3DBox box, int index)
Parameters
Type Name Description
T3DBox box
int index
Returns
Type Description
T3DPoint

GetBoxVertex(int)

Declaration
public T3DPoint GetBoxVertex(int index)
Parameters
Type Name Description
int index
Returns
Type Description
T3DPoint

GetCylBox3d(double, double, double, int)

Declaration
public T3DBox GetCylBox3d(double HMin, double HMax, double R, int axis)
Parameters
Type Name Description
double HMin
double HMax
double R
int axis
Returns
Type Description
T3DBox

GetDiagLenBox(ref T3DBox)

Declaration
public double GetDiagLenBox(ref T3DBox box)
Parameters
Type Name Description
T3DBox box
Returns
Type Description
double

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int

GetLocalBox(T3DBox, T3DMatrix)

Declaration
public static T3DBox GetLocalBox(T3DBox b, T3DMatrix m)
Parameters
Type Name Description
T3DBox b
T3DMatrix m
Returns
Type Description
T3DBox

GetMaxNumberBox(T3DBox)

Declaration
public static double GetMaxNumberBox(T3DBox Box)
Parameters
Type Name Description
T3DBox Box
Returns
Type Description
double

GetPc()

Declaration
public T3DPoint GetPc()
Returns
Type Description
T3DPoint

GetRayPointParam(T3DPoint, T3DPoint, T3DPoint)

Declaration
public static double GetRayPointParam(T3DPoint p, T3DPoint rp, T3DPoint rt)
Parameters
Type Name Description
T3DPoint p
T3DPoint rp
T3DPoint rt
Returns
Type Description
double

GetRayTracePlanePoint(T3DPoint, T3DPoint, T3DPoint, double, out T3DPoint)

Declaration
public bool GetRayTracePlanePoint(T3DPoint RayP, T3DPoint RayDir, T3DPoint N, double D, out T3DPoint ip)
Parameters
Type Name Description
T3DPoint RayP
T3DPoint RayDir
T3DPoint N
double D
T3DPoint ip
Returns
Type Description
bool

GetTurnSolidBox(T3DBox)

Declaration
public T3DBox GetTurnSolidBox(T3DBox gb)
Parameters
Type Name Description
T3DBox gb
Returns
Type Description
T3DBox

InDiapArgument(double, double, double)

Declaration
public static bool InDiapArgument(double arg, double argMin, double argMax)
Parameters
Type Name Description
double arg
double argMin
double argMax
Returns
Type Description
bool

IsBoxInBox(T3DBox, T3DBox, double)

Declaration
public static bool IsBoxInBox(T3DBox BigBox, T3DBox CheckBox, double Stock = 0)
Parameters
Type Name Description
T3DBox BigBox
T3DBox CheckBox
double Stock
Returns
Type Description
bool

IsBoxIntersPlane(T3DBox, T3DPoint, T3DPoint, double)

Declaration
public bool IsBoxIntersPlane(T3DBox b, T3DPoint N, T3DPoint P0, double Tol = 0)
Parameters
Type Name Description
T3DBox b
T3DPoint N
T3DPoint P0
double Tol
Returns
Type Description
bool

IsCutIntersBox(T3DBox, T3DPoint, T3DPoint)

Declaration
public static bool IsCutIntersBox(T3DBox box, T3DPoint p1, T3DPoint p2)
Parameters
Type Name Description
T3DBox box
T3DPoint p1
T3DPoint p2
Returns
Type Description
bool

IsEqD(double, double, double)

Declaration
public static bool IsEqD(double a, double b, double tol = 0)
Parameters
Type Name Description
double a
double b
double tol
Returns
Type Description
bool

IsEqualBox(T3DBox, T3DBox)

Declaration
public bool IsEqualBox(T3DBox box, T3DBox b)
Parameters
Type Name Description
T3DBox box
T3DBox b
Returns
Type Description
bool

IsInnerPoint(T3DPoint, double)

Declaration
public bool IsInnerPoint(T3DPoint p, double tol)
Parameters
Type Name Description
T3DPoint p
double tol
Returns
Type Description
bool

IsIntersBox(T3DBox, T3DBox)

Declaration
public bool IsIntersBox(T3DBox box, T3DBox b)
Parameters
Type Name Description
T3DBox box
T3DBox b
Returns
Type Description
bool

IsLineExtIntersBox(T3DBox, double, double, double, double)

Declaration
public static bool IsLineExtIntersBox(T3DBox box, double A, double B, double C, double zer)
Parameters
Type Name Description
T3DBox box
double A
double B
double C
double zer
Returns
Type Description
bool

IsLineInters3DBox(T3DBox, T3DPoint, T3DPoint, double)

Declaration
public bool IsLineInters3DBox(T3DBox box, T3DPoint P, T3DPoint V, double Tol = 0)
Parameters
Type Name Description
T3DBox box
T3DPoint P
T3DPoint V
double Tol
Returns
Type Description
bool

IsLineIntersBox(T3DBox, double, double, double)

Declaration
public static bool IsLineIntersBox(T3DBox box, double A, double B, double C)
Parameters
Type Name Description
T3DBox box
double A
double B
double C
Returns
Type Description
bool

MakeScaledBox3d(T3DBox, double)

Declaration
public static T3DBox MakeScaledBox3d(T3DBox b, double s)
Parameters
Type Name Description
T3DBox b
double s
Returns
Type Description
T3DBox

MaxNumber(T3DPoint)

Declaration
public static double MaxNumber(T3DPoint p)
Parameters
Type Name Description
T3DPoint p
Returns
Type Description
double

PointBoxDist(T3DPoint, T3DBox)

Declaration
public static double PointBoxDist(T3DPoint p, T3DBox b)
Parameters
Type Name Description
T3DPoint p
T3DBox b
Returns
Type Description
double

PointInsideBox(T3DBox, T3DPoint)

Declaration
public int PointInsideBox(T3DBox box, T3DPoint pp)
Parameters
Type Name Description
T3DBox box
T3DPoint pp
Returns
Type Description
int

PointRayDist(T3DPoint, T3DPoint, T3DPoint)

Declaration
public double PointRayDist(T3DPoint p, T3DPoint rp, T3DPoint rn)
Parameters
Type Name Description
T3DPoint p
T3DPoint rp
T3DPoint rn
Returns
Type Description
double

Point_x_Matr(T3DPoint, T3DMatrix)

Declaration
public static T3DPoint Point_x_Matr(T3DPoint p, T3DMatrix m)
Parameters
Type Name Description
T3DPoint p
T3DMatrix m
Returns
Type Description
T3DPoint

RayTraceBox(T3DBox, T3DPoint, T3DPoint, double, out T3DPoint)

Declaration
public bool RayTraceBox(T3DBox box, T3DPoint P, T3DPoint N, double Stock, out T3DPoint IntersectionP)
Parameters
Type Name Description
T3DBox box
T3DPoint P
T3DPoint N
double Stock
T3DPoint IntersectionP
Returns
Type Description
bool

ResetBoxes(T3DBox)

Declaration
public void ResetBoxes(T3DBox b)
Parameters
Type Name Description
T3DBox b

ScaleBox(ref T3DBox, double)

Declaration
public void ScaleBox(ref T3DBox b, double s)
Parameters
Type Name Description
T3DBox b
double s

ToString()

Declaration
public override string ToString()
Returns
Type Description
string

TurnOutBoxes(ref T3DBox)

Declaration
public void TurnOutBoxes(ref T3DBox b)
Parameters
Type Name Description
T3DBox b

UpRound(double, double)

Declaration
public static int UpRound(double d, double tol = 0)
Parameters
Type Name Description
double d
double tol
Returns
Type Description
int

VecLenZ(T3DPoint)

Declaration
public static double VecLenZ(T3DPoint p)
Parameters
Type Name Description
T3DPoint p
Returns
Type Description
double

Operators

operator +(T3DBox, T3DBox)

Declaration
public static T3DBox operator +(T3DBox b1, T3DBox b2)
Parameters
Type Name Description
T3DBox b1
T3DBox b2
Returns
Type Description
T3DBox

operator ==(T3DBox, T3DBox)

Declaration
public static bool operator ==(T3DBox b1, T3DBox b2)
Parameters
Type Name Description
T3DBox b1
T3DBox b2
Returns
Type Description
bool

implicit operator TST3DBox(T3DBox)

Declaration
public static implicit operator TST3DBox(T3DBox b)
Parameters
Type Name Description
T3DBox b
Returns
Type Description
TST3DBox

implicit operator T3DBox(TST3DBox)

Declaration
public static implicit operator T3DBox(TST3DBox p)
Parameters
Type Name Description
TST3DBox p
Returns
Type Description
T3DBox

operator !=(T3DBox, T3DBox)

Declaration
public static bool operator !=(T3DBox b1, T3DBox b2)
Parameters
Type Name Description
T3DBox b1
T3DBox b2
Returns
Type Description
bool
In this article
Back to top Generated by DocFX