C# Класс Canguro.Commands.Model.SplitCmd

Model Command to split a Line Element in many.
Наследование: Commands.ModelCommand
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Instance SplitCmd

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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.

Описание методов

Run() публичный метод

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
Результат void

getIntersection() публичный статический метод

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
Результат float

Описание свойств

Instance публичное статическое свойство

public static SplitCmd,Canguro.Commands.Model Instance
Результат SplitCmd