Click or drag to resize

PFoamScaleEdges Method

The method is for internal use. It takes care of an internal loop that scales the edges to the average

Namespace:  PolyFramework
Assembly:  PolyFramework (in PolyFramework.dll) Version: 0.5.0.0 (0.5.0.0)
Syntax
public void ScaleEdges(
	List<PFEdge> intEdges,
	List<PFEdge> halfExtEdges,
	List<PFEdge> fullExtEdges,
	Dictionary<PFEdge, Vector3d> originalEdgeVec,
	Dictionary<PFEdge, double> originalEdgeLen,
	int maxSteps,
	double limTravel,
	HashSet<int> fixedVertHash,
	out double minLength,
	out double maxLength,
	double originalAverage,
	DrawPFLineConduit origLineConduit,
	DrawPFLinesConduit lineConduitConv,
	DrawPFLineConduit lineConduitFullExt,
	DrawPFLineConduit lineConduitHalfExt
)

Parameters

intEdges
Type: System.Collections.GenericListPFEdge

[Missing <param name="intEdges"/> documentation for "M:PolyFramework.PFoam.ScaleEdges(System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.Dictionary{PolyFramework.PFEdge,Rhino.Geometry.Vector3d},System.Collections.Generic.Dictionary{PolyFramework.PFEdge,System.Double},System.Int32,System.Double,System.Collections.Generic.HashSet{System.Int32},System.Double@,System.Double@,System.Double,PolyFramework.DrawPFLineConduit,PolyFramework.DrawPFLinesConduit,PolyFramework.DrawPFLineConduit,PolyFramework.DrawPFLineConduit)"]

halfExtEdges
Type: System.Collections.GenericListPFEdge

[Missing <param name="halfExtEdges"/> documentation for "M:PolyFramework.PFoam.ScaleEdges(System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.Dictionary{PolyFramework.PFEdge,Rhino.Geometry.Vector3d},System.Collections.Generic.Dictionary{PolyFramework.PFEdge,System.Double},System.Int32,System.Double,System.Collections.Generic.HashSet{System.Int32},System.Double@,System.Double@,System.Double,PolyFramework.DrawPFLineConduit,PolyFramework.DrawPFLinesConduit,PolyFramework.DrawPFLineConduit,PolyFramework.DrawPFLineConduit)"]

fullExtEdges
Type: System.Collections.GenericListPFEdge

[Missing <param name="fullExtEdges"/> documentation for "M:PolyFramework.PFoam.ScaleEdges(System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.Dictionary{PolyFramework.PFEdge,Rhino.Geometry.Vector3d},System.Collections.Generic.Dictionary{PolyFramework.PFEdge,System.Double},System.Int32,System.Double,System.Collections.Generic.HashSet{System.Int32},System.Double@,System.Double@,System.Double,PolyFramework.DrawPFLineConduit,PolyFramework.DrawPFLinesConduit,PolyFramework.DrawPFLineConduit,PolyFramework.DrawPFLineConduit)"]

originalEdgeVec
Type: System.Collections.GenericDictionaryPFEdge, Vector3d

[Missing <param name="originalEdgeVec"/> documentation for "M:PolyFramework.PFoam.ScaleEdges(System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.Dictionary{PolyFramework.PFEdge,Rhino.Geometry.Vector3d},System.Collections.Generic.Dictionary{PolyFramework.PFEdge,System.Double},System.Int32,System.Double,System.Collections.Generic.HashSet{System.Int32},System.Double@,System.Double@,System.Double,PolyFramework.DrawPFLineConduit,PolyFramework.DrawPFLinesConduit,PolyFramework.DrawPFLineConduit,PolyFramework.DrawPFLineConduit)"]

originalEdgeLen
Type: System.Collections.GenericDictionaryPFEdge, Double

[Missing <param name="originalEdgeLen"/> documentation for "M:PolyFramework.PFoam.ScaleEdges(System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.Dictionary{PolyFramework.PFEdge,Rhino.Geometry.Vector3d},System.Collections.Generic.Dictionary{PolyFramework.PFEdge,System.Double},System.Int32,System.Double,System.Collections.Generic.HashSet{System.Int32},System.Double@,System.Double@,System.Double,PolyFramework.DrawPFLineConduit,PolyFramework.DrawPFLinesConduit,PolyFramework.DrawPFLineConduit,PolyFramework.DrawPFLineConduit)"]

maxSteps
Type: SystemInt32

[Missing <param name="maxSteps"/> documentation for "M:PolyFramework.PFoam.ScaleEdges(System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.Dictionary{PolyFramework.PFEdge,Rhino.Geometry.Vector3d},System.Collections.Generic.Dictionary{PolyFramework.PFEdge,System.Double},System.Int32,System.Double,System.Collections.Generic.HashSet{System.Int32},System.Double@,System.Double@,System.Double,PolyFramework.DrawPFLineConduit,PolyFramework.DrawPFLinesConduit,PolyFramework.DrawPFLineConduit,PolyFramework.DrawPFLineConduit)"]

limTravel
Type: SystemDouble

[Missing <param name="limTravel"/> documentation for "M:PolyFramework.PFoam.ScaleEdges(System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.Dictionary{PolyFramework.PFEdge,Rhino.Geometry.Vector3d},System.Collections.Generic.Dictionary{PolyFramework.PFEdge,System.Double},System.Int32,System.Double,System.Collections.Generic.HashSet{System.Int32},System.Double@,System.Double@,System.Double,PolyFramework.DrawPFLineConduit,PolyFramework.DrawPFLinesConduit,PolyFramework.DrawPFLineConduit,PolyFramework.DrawPFLineConduit)"]

fixedVertHash
Type: System.Collections.GenericHashSetInt32

[Missing <param name="fixedVertHash"/> documentation for "M:PolyFramework.PFoam.ScaleEdges(System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.Dictionary{PolyFramework.PFEdge,Rhino.Geometry.Vector3d},System.Collections.Generic.Dictionary{PolyFramework.PFEdge,System.Double},System.Int32,System.Double,System.Collections.Generic.HashSet{System.Int32},System.Double@,System.Double@,System.Double,PolyFramework.DrawPFLineConduit,PolyFramework.DrawPFLinesConduit,PolyFramework.DrawPFLineConduit,PolyFramework.DrawPFLineConduit)"]

minLength
Type: SystemDouble

[Missing <param name="minLength"/> documentation for "M:PolyFramework.PFoam.ScaleEdges(System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.Dictionary{PolyFramework.PFEdge,Rhino.Geometry.Vector3d},System.Collections.Generic.Dictionary{PolyFramework.PFEdge,System.Double},System.Int32,System.Double,System.Collections.Generic.HashSet{System.Int32},System.Double@,System.Double@,System.Double,PolyFramework.DrawPFLineConduit,PolyFramework.DrawPFLinesConduit,PolyFramework.DrawPFLineConduit,PolyFramework.DrawPFLineConduit)"]

maxLength
Type: SystemDouble

[Missing <param name="maxLength"/> documentation for "M:PolyFramework.PFoam.ScaleEdges(System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.Dictionary{PolyFramework.PFEdge,Rhino.Geometry.Vector3d},System.Collections.Generic.Dictionary{PolyFramework.PFEdge,System.Double},System.Int32,System.Double,System.Collections.Generic.HashSet{System.Int32},System.Double@,System.Double@,System.Double,PolyFramework.DrawPFLineConduit,PolyFramework.DrawPFLinesConduit,PolyFramework.DrawPFLineConduit,PolyFramework.DrawPFLineConduit)"]

originalAverage
Type: SystemDouble

[Missing <param name="originalAverage"/> documentation for "M:PolyFramework.PFoam.ScaleEdges(System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.Dictionary{PolyFramework.PFEdge,Rhino.Geometry.Vector3d},System.Collections.Generic.Dictionary{PolyFramework.PFEdge,System.Double},System.Int32,System.Double,System.Collections.Generic.HashSet{System.Int32},System.Double@,System.Double@,System.Double,PolyFramework.DrawPFLineConduit,PolyFramework.DrawPFLinesConduit,PolyFramework.DrawPFLineConduit,PolyFramework.DrawPFLineConduit)"]

origLineConduit
Type: PolyFrameworkDrawPFLineConduit

[Missing <param name="origLineConduit"/> documentation for "M:PolyFramework.PFoam.ScaleEdges(System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.Dictionary{PolyFramework.PFEdge,Rhino.Geometry.Vector3d},System.Collections.Generic.Dictionary{PolyFramework.PFEdge,System.Double},System.Int32,System.Double,System.Collections.Generic.HashSet{System.Int32},System.Double@,System.Double@,System.Double,PolyFramework.DrawPFLineConduit,PolyFramework.DrawPFLinesConduit,PolyFramework.DrawPFLineConduit,PolyFramework.DrawPFLineConduit)"]

lineConduitConv
Type: PolyFrameworkDrawPFLinesConduit

[Missing <param name="lineConduitConv"/> documentation for "M:PolyFramework.PFoam.ScaleEdges(System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.Dictionary{PolyFramework.PFEdge,Rhino.Geometry.Vector3d},System.Collections.Generic.Dictionary{PolyFramework.PFEdge,System.Double},System.Int32,System.Double,System.Collections.Generic.HashSet{System.Int32},System.Double@,System.Double@,System.Double,PolyFramework.DrawPFLineConduit,PolyFramework.DrawPFLinesConduit,PolyFramework.DrawPFLineConduit,PolyFramework.DrawPFLineConduit)"]

lineConduitFullExt
Type: PolyFrameworkDrawPFLineConduit

[Missing <param name="lineConduitFullExt"/> documentation for "M:PolyFramework.PFoam.ScaleEdges(System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.Dictionary{PolyFramework.PFEdge,Rhino.Geometry.Vector3d},System.Collections.Generic.Dictionary{PolyFramework.PFEdge,System.Double},System.Int32,System.Double,System.Collections.Generic.HashSet{System.Int32},System.Double@,System.Double@,System.Double,PolyFramework.DrawPFLineConduit,PolyFramework.DrawPFLinesConduit,PolyFramework.DrawPFLineConduit,PolyFramework.DrawPFLineConduit)"]

lineConduitHalfExt
Type: PolyFrameworkDrawPFLineConduit

[Missing <param name="lineConduitHalfExt"/> documentation for "M:PolyFramework.PFoam.ScaleEdges(System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.List{PolyFramework.PFEdge},System.Collections.Generic.Dictionary{PolyFramework.PFEdge,Rhino.Geometry.Vector3d},System.Collections.Generic.Dictionary{PolyFramework.PFEdge,System.Double},System.Int32,System.Double,System.Collections.Generic.HashSet{System.Int32},System.Double@,System.Double@,System.Double,PolyFramework.DrawPFLineConduit,PolyFramework.DrawPFLinesConduit,PolyFramework.DrawPFLineConduit,PolyFramework.DrawPFLineConduit)"]

See Also