How to use rhinocommon Reparamemterize a surface


(NARUTO) #1

hello everone
How to use rhinocommon Reparamemterize a surface, help me
Thanks


(Menno Deij - van Rijswijk) #2

I assume you want to change the values of the U- and/or V- domain?

Surface srf; // defined elsewhere
Interval newU = new Interval(0,1); // new domain, make sure T0 < T1
Interval newV = new Interval(-5,3); // new domain, make sure T0 < T1
srf.SetDomain(0, newU);
srf.SetDomain(1, newV);

(NARUTO) #3

Hi menno
Thanks
This is what I want to answer