C# 클래스 Canguro.Commands.Model.SplitCmd

Model Command to split a Line Element in many.
상속: Commands.ModelCommand
파일 보기 프로젝트 열기: rforsbach/Treu-Structure 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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