Skip to main content
Namespace: VM.Managed.DAFUL.Chained
Assembly: VMDChainedBase.dll
This class generates segment`s transformation data.

Inheritance

object ← GenerateDataForChainedPlacing

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)

Constructors

GenerateDataForChainedPlacing()

Initializes a new instance of the GenerateDataForChainedPlacing class.

Fields

m_FirstCheckCrossTangent

Field Value

bool

Methods

Add_PathList(PathInfo)

add the PathInfo

Parameters

path PathInfo Path information

Add_SegmentList(SegmentInfo)

add the SegmentInfo

Parameters

segment SegmentInfo Segment Information

CalculatePositionAndOrietationOfSegment(int, ref SegmentPlacingInfo[])

Calculate position and orietation of segments.

Parameters

_pznSegment int The number of segment. arPlacingInfo SegmentPlacingInfo[] The array including data for placing.

Returns

bool if the position and orientation of segments are calculated successfully, it is true.

Calculate_Gap(int, ref double)

Calculate the gap.

Parameters

nTotalNoOfSegment int The Number of segment. dGap double The gap.

Returns

bool if the gap is calculated successfully, it is true.

Calculate_NoOfSegmentAndGap(ref int, ref double)

Calculate number of segment and gap.

Parameters

nSegment int Number of segment.Initial value must be -1. dGap double The gap.

Returns

bool if the number of segment and gap are calculated successfully, it is true.

GetNthPathInfo(int)

Gets Nth PathInfo data.

Parameters

Nth int The Index.

Returns

PathInfo The PathInfo.

GetNthSegmentInfo(int)

Gets Nth SegmentInfo data.

Parameters

Nth int The index.

Returns

SegmentInfo The SegmentInfo.

Initialize_PathList()

Initialize list of PathInfo

Initialize_PlacingData()

Initialize and calculate the data for cunstruction chained system.

Returns

GenerateDataForChainedPlacing.PlacingDataResultType true if success; otherwise, false.

Initialize_SegmentList()

Initialize list of SegmentInfo

Positioning_Algorithm(ref int, ref double, double, bool, int)

Called when the position and orientation of segments calculates.

Parameters

_NoOfSegment int The number of segment. _Gap double The total distance between segment and segment. _ErrorGapPerSegment double The average distance per segment between segment and segment. _bFixedNo bool true if [Fixed the number of segment]; otherwise, false _nIteration int The number of iteration.

Returns

SegmentPlacingInfo[] The list of segment placing information.