C# Class Canguro.Commands.Model.SplitCmd

Model Command to split a Line Element in many.
Inheritance: Commands.ModelCommand
Afficher le fichier Open project: rforsbach/Treu-Structure Class Usage Examples

Méthodes publiques

Свойство Type Description
Instance SplitCmd

Méthodes publiques

Méthode Description
Run ( Canguro services ) : void

Executes the command. Gets a number of segments and divides all selected line elements in equal length segments.

getIntersection ( LineElement line, Joint joint ) : float

Calculates the intersection of the given Joint and LineElement and returns the float value corresponding to the proportion of the vector from defined by the line Joints.

Private Methods

Méthode Description
RelocateConcentratedLoads ( AssignedLoads newLineLoads, LoadCase lc, float x, ConcentratedSpanLoad load ) : bool

Relocates a ConcentratedSpanLoad between the line element where it is and a new adjacent line element.

RelocateDistributedLoads ( AssignedLoads newLineLoads, LoadCase lc, float x, DistributedSpanLoad load ) : bool

Distributes a DistributedSpanLoad between the line element where it is and a new adjacent line element.

RelocateLoads ( LineElement oldLine, LineElement newLine, float x, Canguro model ) : void

Relocates all the LineLoads in the oldLine to keep the position in both, the old and new lines.

Split ( LineElement line, Joint joint, Canguro model ) : LineElement

Splits a line element and it's loads with an intermediate joint.

Split ( LineElement line, Joint joint, float intersectPos, Canguro model ) : LineElement

Splits a line element and it's loads with an intermediate joint.

Split ( LineElement line, IList joints, Canguro model ) : void

Splits a line element and it's loads with an intermediate joint.

SplitCmd ( ) : System
equals ( float a, float b, float epsilon ) : bool

Compares two Single values. Returns true if the difference is less than a given epsilon.

Method Details

Run() public méthode

Executes the command. Gets a number of segments and divides all selected line elements in equal length segments.
public Run ( Canguro services ) : void
services Canguro CommandServices object to interact with the system
Résultat void

getIntersection() public static méthode

Calculates the intersection of the given Joint and LineElement and returns the float value corresponding to the proportion of the vector from defined by the line Joints.
public static getIntersection ( LineElement line, Joint joint ) : float
line Canguro.Model.LineElement The LineElement to intersect
joint Joint The Joint to intersect with line
Résultat float

Property Details

Instance public_oe static_oe property

public static SplitCmd,Canguro.Commands.Model Instance
Résultat SplitCmd