Roassal3d elements & edges

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Roassal3d elements & edges

Natalia Tymchuk
Hello,
Does Roassal3d elements know which edges are connected to them?

Best regards,
Natalia
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Roassal3d elements & edges

abergel
Hi Natalia,

I have just updated Roassal3d with this:

Here is a self explaining test:

testConnectedEdges01

        | e1 e2 l |
        e1 := RWCube element.
        e2 := RWCube element.
        self deny: (e1 isConnectedTo: e2).
        self deny: (e2 isConnectedTo: e1).
       
        l := RWLine edgeFrom: e1 to: e2.
        self assert: (e1 isConnectedTo: e2).
        self assert: (e2 isConnectedTo: e1).

        self assert: (e1 isDirectlyConnectedTo: e2).
        self deny: (e2 isDirectlyConnectedTo: e1).


Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



> On May 4, 2015, at 8:11 AM, Natalia Tymchuk <[hidden email]> wrote:
>
> Hello,
> Does Roassal3d elements know which edges are connected to them?
>
> Best regards,
> Natalia
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Roassal3d elements & edges

Natalia Tymchuk
Thank you, Alex.

Kind regards,
Natalia

> On 04 May 2015, at 17:24, Alexandre Bergel <[hidden email]> wrote:
>
> Hi Natalia,
>
> I have just updated Roassal3d with this:
>
> Here is a self explaining test:
>
> testConnectedEdges01
>
> | e1 e2 l |
> e1 := RWCube element.
> e2 := RWCube element.
> self deny: (e1 isConnectedTo: e2).
> self deny: (e2 isConnectedTo: e1).
>
> l := RWLine edgeFrom: e1 to: e2.
> self assert: (e1 isConnectedTo: e2).
> self assert: (e2 isConnectedTo: e1).
>
> self assert: (e1 isDirectlyConnectedTo: e2).
> self deny: (e2 isDirectlyConnectedTo: e1).
>
>
> Cheers,
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>> On May 4, 2015, at 8:11 AM, Natalia Tymchuk <[hidden email]> wrote:
>>
>> Hello,
>> Does Roassal3d elements know which edges are connected to them?
>>
>> Best regards,
>> Natalia
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev