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

Model Command to Join the Model. Deletes repeated Joints and Lines and isolated Joints.
상속: Canguro.Commands.ModelCommand
파일 보기 프로젝트 열기: rforsbach/Treu-Structure 1 사용 예제들

공개 메소드들

메소드 설명
Intersect ( Canguro model, LineElement l1, LineElement l2 ) : Joint
Intersect ( Canguro model, IList joints, IList lines ) : void
Join ( Canguro model, IList joints, IList lines, IList areas ) : void

Finds repeated Joints and Line Elements and deletes them. Deletes only Items in the parameters and keeps the Item with the smallest ID.

RepairJoints ( Canguro model ) : void

Detects inconsistencies in the model and repairs them. If a line is connected to a joint outside the model, it's added (if ID is free) or changed (if a joint with same ID exists).

Run ( Canguro services ) : void

Executes the command. Executes Join with all the Items and asks to renumber the JointList and LineList objects.

비공개 메소드들

메소드 설명
equals ( AreaElement j, AreaElement i ) : bool
equals ( Joint j, Joint i ) : bool
equals ( LineElement j, LineElement i ) : bool

메소드 상세

Intersect() 공개 정적인 메소드

public static Intersect ( Canguro model, LineElement l1, LineElement l2 ) : Joint
model Canguro
l1 Canguro.Model.LineElement
l2 Canguro.Model.LineElement
리턴 Joint

Intersect() 공개 정적인 메소드

public static Intersect ( Canguro model, IList joints, IList lines ) : void
model Canguro
joints IList
lines IList
리턴 void

Join() 공개 정적인 메소드

Finds repeated Joints and Line Elements and deletes them. Deletes only Items in the parameters and keeps the Item with the smallest ID.
public static Join ( Canguro model, IList joints, IList lines, IList areas ) : void
model Canguro The Model object
joints IList List of Joints to check
lines IList List of Line Elements to check
areas IList List of Area Elements to check
리턴 void

RepairJoints() 공개 정적인 메소드

Detects inconsistencies in the model and repairs them. If a line is connected to a joint outside the model, it's added (if ID is free) or changed (if a joint with same ID exists).
public static RepairJoints ( Canguro model ) : void
model Canguro
리턴 void

Run() 공개 메소드

Executes the command. Executes Join with all the Items and asks to renumber the JointList and LineList objects.
public Run ( Canguro services ) : void
services Canguro CommandServices object to interact with the system
리턴 void