Assembly: VMDChainedBase.dll This class generates segment`s transformation data.
Inheritance
object ← GenerateDataForChainedPlacingExtension 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
boolMethods
Add_PathList(PathInfo)
add the PathInfoParameters
path PathInfo
Path information
Add_SegmentList(SegmentInfo)
add the SegmentInfoParameters
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 PathInfoInitialize_PlacingData()
Initialize and calculate the data for cunstruction chained system.Returns
GenerateDataForChainedPlacing.PlacingDataResultTypetrue if success; otherwise, false.
Initialize_SegmentList()
Initialize list of SegmentInfoPositioning_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.