Method | Description | |
---|---|---|
BuildSections ( List |
Build sections for References, it's a factory method to build sections. A section contains several points through which the ray passes the obstruction(s). for example, a section may contain 2 points when the obstruction is stand alone, or contain 4 points if 2 obstructions are intersects with each other in the direction of the ray.
|
|
Inflate ( int index, double value ) : void |
Extend this obstruction's interval in one direction.
|
Method | Description | |
---|---|---|
Find ( List |
Judge whether a Reference is already in the list of Reference, return the founded value.
|
|
Section ( Autodesk dir ) : System |
Private constructor, just be called in static factory method BuildSections.
|
public static BuildSections ( List |
||
allrefs | List |
References |
dir | Autodesk | Pipe's direction |
return | List |
public Inflate ( int index, double value ) : void | ||
index | int | index of direction, 0 => start, 1 => end |
value | double | |
return | void |