Hello Peter,
you're partly right. It always offsets to the right. So I have to check for clockwise first. But that is not what the documentation implies.
As soon as I try to add a Side parameter it is complaining that it is already expecting the strongbox for the Polyseg.
There is no overloading intended for this method.

From my point of view that is a bug, since it isn't doing what the documentation says.
But this method would be handy since you wouldn't have to check for clockwise and don't have to define a side. It's supposedly done with the positive or negative value of the offset and the clockwise check is included.
------------------------------
Ronny Schneider
------------------------------
Original Message:
Sent: 03-05-2023 23:55
From: Peter Kistler
Subject: found a bug in Trimble.Vce.Geometry.PolySeg.PolySeg.Expand
Ronny,
You have to tell it which Side, ie Side.Left or Side.Right, to perform the offset. I'm pretty sure the absolute value of the supplied offset is used. You will need to use the IsClockWise api to determine which side to perform the offset to.
Peter
------------------------------
Peter Kistler
peter.kistler@rockpilesolutions.com
------------------------------