1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553
|
import OCP.IntCurve
from typing import *
from typing import Iterable as iterable
from typing import Iterator as iterator
from numpy import float64
_Shape = Tuple[int, ...]
import OCP.TColStd
import OCP.gp
import OCP.IntRes2d
import OCP.math
import OCP.GeomAbs
__all__ = [
"IntCurve_IConicTool",
"IntCurve_IntConicConic",
"IntCurve_IntImpConicParConic",
"IntCurve_MyImpParToolOfIntImpConicParConic",
"IntCurve_PConic",
"IntCurve_PConicTool",
"IntCurve_ProjectOnPConicTool",
"Interval",
"PeriodicInterval",
"Determine_Transition_LC",
"NormalizeOnCircleDomain"
]
class IntCurve_IConicTool():
"""
Implementation of the ImpTool from IntImpParGen for conics of gp.
"""
def D1(self,U : float,P : OCP.gp.gp_Pnt2d,T : OCP.gp.gp_Vec2d) -> None:
"""
None
"""
def D2(self,U : float,P : OCP.gp.gp_Pnt2d,T : OCP.gp.gp_Vec2d,N : OCP.gp.gp_Vec2d) -> None:
"""
None
"""
def Distance(self,P : OCP.gp.gp_Pnt2d) -> float:
"""
Computes the value of the signed distance between the point P and the implicit curve.
"""
def FindParameter(self,P : OCP.gp.gp_Pnt2d) -> float:
"""
Returns the parameter U of the point on the implicit curve corresponding to the point P. The correspondence between P and the point P(U) on the implicit curve must be coherent with the way of determination of the signed distance.
"""
def GradDistance(self,P : OCP.gp.gp_Pnt2d) -> OCP.gp.gp_Vec2d:
"""
Computes the Gradient of the Signed Distance between a point and the implicit curve, at the point P.
"""
def Value(self,X : float) -> OCP.gp.gp_Pnt2d:
"""
None
"""
@overload
def __init__(self,C : OCP.gp.gp_Circ2d) -> None: ...
@overload
def __init__(self,IT : IntCurve_IConicTool) -> None: ...
@overload
def __init__(self,H : OCP.gp.gp_Hypr2d) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Lin2d) -> None: ...
@overload
def __init__(self,P : OCP.gp.gp_Parab2d) -> None: ...
@overload
def __init__(self) -> None: ...
@overload
def __init__(self,E : OCP.gp.gp_Elips2d) -> None: ...
pass
class IntCurve_IntConicConic(OCP.IntRes2d.IntRes2d_Intersection):
"""
Provides methods to intersect two conics. The exception ConstructionError is raised in constructors or in Perform methods when a domain (Domain from IntRes2d) is not correct, i-e when a Circle (Circ2d from gp) or an Ellipse (i-e Elips2d from gp) do not have a closed domain (use the SetEquivalentParameters method for a domain on a circle or an ellipse).
"""
def IsDone(self) -> bool:
"""
returns TRUE when the computation was successful.
returns TRUE when the computation was successful.
"""
def IsEmpty(self) -> bool:
"""
Returns TRUE if there is no intersection between the given arguments. The exception NotDone is raised if IsDone returns FALSE.
Returns TRUE if there is no intersection between the given arguments. The exception NotDone is raised if IsDone returns FALSE.
"""
def NbPoints(self) -> int:
"""
This function returns the number of intersection points between the 2 curves. The exception NotDone is raised if IsDone returns FALSE.
This function returns the number of intersection points between the 2 curves. The exception NotDone is raised if IsDone returns FALSE.
"""
def NbSegments(self) -> int:
"""
This function returns the number of intersection segments between the two curves. The exception NotDone is raised if IsDone returns FALSE.
This function returns the number of intersection segments between the two curves. The exception NotDone is raised if IsDone returns FALSE.
"""
@overload
def Perform(self,C : OCP.gp.gp_Circ2d,DC : OCP.IntRes2d.IntRes2d_Domain,E : OCP.gp.gp_Elips2d,DE : OCP.IntRes2d.IntRes2d_Domain,TolConf : float,Tol : float) -> None:
"""
Intersection between 2 lines from gp.
Intersection between a line and a circle. The exception ConstructionError is raised if the method IsClosed of the domain of the circle returns False.
Intersection between a line and an ellipse. The exception ConstructionError is raised if the method IsClosed of the domain of the ellipse returns False.
Intersection between a line and a parabola from gp.
Intersection between a line and an hyperbola.
Intersection between 2 circles from gp. The exception ConstructionError is raised if the method IsClosed of the domain of one of the circle returns False.
Intersection between a circle and an ellipse. The exception ConstructionError is raised if the method IsClosed of one the domain returns False.
Intersection between a circle and a parabola. The exception ConstructionError is raised if the method IsClosed of the domain of the circle returns False.
Intersection between a circle and an hyperbola. The exception ConstructionError is raised if the method IsClosed of the domain of the circle returns False.
Intersection between 2 ellipses. The exception ConstructionError is raised if the method IsClosed of one of the domain returns False.
Intersection between an ellipse and a parabola. The exception ConstructionError is raised if the method IsClosed of the domain of the ellipse returns False.
Intersection between an ellipse and an hyperbola. The exception ConstructionError is raised if the method IsClosed of the domain of the ellipse returns False.
Intersection between 2 parabolas.
Intersection between a parabola and an hyperbola.
Intersection between 2 hyperbolas.
"""
@overload
def Perform(self,E : OCP.gp.gp_Elips2d,DE : OCP.IntRes2d.IntRes2d_Domain,H : OCP.gp.gp_Hypr2d,DH : OCP.IntRes2d.IntRes2d_Domain,TolConf : float,Tol : float) -> None: ...
@overload
def Perform(self,C1 : OCP.gp.gp_Circ2d,D1 : OCP.IntRes2d.IntRes2d_Domain,C2 : OCP.gp.gp_Circ2d,D2 : OCP.IntRes2d.IntRes2d_Domain,TolConf : float,Tol : float) -> None: ...
@overload
def Perform(self,P : OCP.gp.gp_Parab2d,DP : OCP.IntRes2d.IntRes2d_Domain,H : OCP.gp.gp_Hypr2d,DH : OCP.IntRes2d.IntRes2d_Domain,TolConf : float,Tol : float) -> None: ...
@overload
def Perform(self,E1 : OCP.gp.gp_Elips2d,D1 : OCP.IntRes2d.IntRes2d_Domain,E2 : OCP.gp.gp_Elips2d,D2 : OCP.IntRes2d.IntRes2d_Domain,TolConf : float,Tol : float) -> None: ...
@overload
def Perform(self,L1 : OCP.gp.gp_Lin2d,D1 : OCP.IntRes2d.IntRes2d_Domain,L2 : OCP.gp.gp_Lin2d,D2 : OCP.IntRes2d.IntRes2d_Domain,TolConf : float,Tol : float) -> None: ...
@overload
def Perform(self,E : OCP.gp.gp_Elips2d,DE : OCP.IntRes2d.IntRes2d_Domain,P : OCP.gp.gp_Parab2d,DP : OCP.IntRes2d.IntRes2d_Domain,TolConf : float,Tol : float) -> None: ...
@overload
def Perform(self,L : OCP.gp.gp_Lin2d,DL : OCP.IntRes2d.IntRes2d_Domain,E : OCP.gp.gp_Elips2d,DE : OCP.IntRes2d.IntRes2d_Domain,TolConf : float,Tol : float) -> None: ...
@overload
def Perform(self,P1 : OCP.gp.gp_Parab2d,D1 : OCP.IntRes2d.IntRes2d_Domain,P2 : OCP.gp.gp_Parab2d,D2 : OCP.IntRes2d.IntRes2d_Domain,TolConf : float,Tol : float) -> None: ...
@overload
def Perform(self,L : OCP.gp.gp_Lin2d,DL : OCP.IntRes2d.IntRes2d_Domain,C : OCP.gp.gp_Circ2d,DC : OCP.IntRes2d.IntRes2d_Domain,TolConf : float,Tol : float) -> None: ...
@overload
def Perform(self,C : OCP.gp.gp_Circ2d,DC : OCP.IntRes2d.IntRes2d_Domain,H : OCP.gp.gp_Hypr2d,DH : OCP.IntRes2d.IntRes2d_Domain,TolConf : float,Tol : float) -> None: ...
@overload
def Perform(self,H1 : OCP.gp.gp_Hypr2d,D1 : OCP.IntRes2d.IntRes2d_Domain,H2 : OCP.gp.gp_Hypr2d,D2 : OCP.IntRes2d.IntRes2d_Domain,TolConf : float,Tol : float) -> None: ...
@overload
def Perform(self,C : OCP.gp.gp_Circ2d,DC : OCP.IntRes2d.IntRes2d_Domain,P : OCP.gp.gp_Parab2d,DP : OCP.IntRes2d.IntRes2d_Domain,TolConf : float,Tol : float) -> None: ...
@overload
def Perform(self,L : OCP.gp.gp_Lin2d,DL : OCP.IntRes2d.IntRes2d_Domain,P : OCP.gp.gp_Parab2d,DP : OCP.IntRes2d.IntRes2d_Domain,TolConf : float,Tol : float) -> None: ...
@overload
def Perform(self,L : OCP.gp.gp_Lin2d,DL : OCP.IntRes2d.IntRes2d_Domain,H : OCP.gp.gp_Hypr2d,DH : OCP.IntRes2d.IntRes2d_Domain,TolConf : float,Tol : float) -> None: ...
def Point(self,N : int) -> OCP.IntRes2d.IntRes2d_IntersectionPoint:
"""
This function returns the intersection point of range N; The exception NotDone is raised if IsDone returns FALSE. The exception OutOfRange is raised if (N <= 0) or (N > NbPoints).
This function returns the intersection point of range N; The exception NotDone is raised if IsDone returns FALSE. The exception OutOfRange is raised if (N <= 0) or (N > NbPoints).
"""
def Segment(self,N : int) -> OCP.IntRes2d.IntRes2d_IntersectionSegment:
"""
This function returns the intersection segment of range N; The exception NotDone is raised if IsDone returns FALSE. The exception OutOfRange is raised if (N <= 0) or (N > NbPoints).
This function returns the intersection segment of range N; The exception NotDone is raised if IsDone returns FALSE. The exception OutOfRange is raised if (N <= 0) or (N > NbPoints).
"""
@overload
def SetReversedParameters(self,flag : bool) -> None:
"""
None
None
"""
@overload
def SetReversedParameters(self,Reverseflag : bool) -> None: ...
@overload
def __init__(self,E : OCP.gp.gp_Elips2d,DE : OCP.IntRes2d.IntRes2d_Domain,P : OCP.gp.gp_Parab2d,DP : OCP.IntRes2d.IntRes2d_Domain,TolConf : float,Tol : float) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Lin2d,DL : OCP.IntRes2d.IntRes2d_Domain,E : OCP.gp.gp_Elips2d,DE : OCP.IntRes2d.IntRes2d_Domain,TolConf : float,Tol : float) -> None: ...
@overload
def __init__(self,C1 : OCP.gp.gp_Circ2d,D1 : OCP.IntRes2d.IntRes2d_Domain,C2 : OCP.gp.gp_Circ2d,D2 : OCP.IntRes2d.IntRes2d_Domain,TolConf : float,Tol : float) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Lin2d,DL : OCP.IntRes2d.IntRes2d_Domain,C : OCP.gp.gp_Circ2d,DC : OCP.IntRes2d.IntRes2d_Domain,TolConf : float,Tol : float) -> None: ...
@overload
def __init__(self,E : OCP.gp.gp_Elips2d,DE : OCP.IntRes2d.IntRes2d_Domain,H : OCP.gp.gp_Hypr2d,DH : OCP.IntRes2d.IntRes2d_Domain,TolConf : float,Tol : float) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Lin2d,DL : OCP.IntRes2d.IntRes2d_Domain,H : OCP.gp.gp_Hypr2d,DH : OCP.IntRes2d.IntRes2d_Domain,TolConf : float,Tol : float) -> None: ...
@overload
def __init__(self,P : OCP.gp.gp_Parab2d,DP : OCP.IntRes2d.IntRes2d_Domain,H : OCP.gp.gp_Hypr2d,DH : OCP.IntRes2d.IntRes2d_Domain,TolConf : float,Tol : float) -> None: ...
@overload
def __init__(self,C : OCP.gp.gp_Circ2d,DC : OCP.IntRes2d.IntRes2d_Domain,P : OCP.gp.gp_Parab2d,DP : OCP.IntRes2d.IntRes2d_Domain,TolConf : float,Tol : float) -> None: ...
@overload
def __init__(self,E1 : OCP.gp.gp_Elips2d,D1 : OCP.IntRes2d.IntRes2d_Domain,E2 : OCP.gp.gp_Elips2d,D2 : OCP.IntRes2d.IntRes2d_Domain,TolConf : float,Tol : float) -> None: ...
@overload
def __init__(self) -> None: ...
@overload
def __init__(self,L1 : OCP.gp.gp_Lin2d,D1 : OCP.IntRes2d.IntRes2d_Domain,L2 : OCP.gp.gp_Lin2d,D2 : OCP.IntRes2d.IntRes2d_Domain,TolConf : float,Tol : float) -> None: ...
@overload
def __init__(self,C : OCP.gp.gp_Circ2d,DC : OCP.IntRes2d.IntRes2d_Domain,E : OCP.gp.gp_Elips2d,DE : OCP.IntRes2d.IntRes2d_Domain,TolConf : float,Tol : float) -> None: ...
@overload
def __init__(self,H1 : OCP.gp.gp_Hypr2d,D1 : OCP.IntRes2d.IntRes2d_Domain,H2 : OCP.gp.gp_Hypr2d,D2 : OCP.IntRes2d.IntRes2d_Domain,TolConf : float,Tol : float) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Lin2d,DL : OCP.IntRes2d.IntRes2d_Domain,P : OCP.gp.gp_Parab2d,DP : OCP.IntRes2d.IntRes2d_Domain,TolConf : float,Tol : float) -> None: ...
@overload
def __init__(self,P1 : OCP.gp.gp_Parab2d,D1 : OCP.IntRes2d.IntRes2d_Domain,P2 : OCP.gp.gp_Parab2d,D2 : OCP.IntRes2d.IntRes2d_Domain,TolConf : float,Tol : float) -> None: ...
@overload
def __init__(self,C : OCP.gp.gp_Circ2d,DC : OCP.IntRes2d.IntRes2d_Domain,H : OCP.gp.gp_Hypr2d,DH : OCP.IntRes2d.IntRes2d_Domain,TolConf : float,Tol : float) -> None: ...
pass
class IntCurve_IntImpConicParConic(OCP.IntRes2d.IntRes2d_Intersection):
"""
None
"""
def And_Domaine_Objet1_Intersections(self,TheImpTool : IntCurve_IConicTool,TheParCurve : IntCurve_PConic,TheImpCurveDomain : OCP.IntRes2d.IntRes2d_Domain,TheParCurveDomain : OCP.IntRes2d.IntRes2d_Domain,Inter2_And_Domain2 : OCP.TColStd.TColStd_Array1OfReal,Inter1 : OCP.TColStd.TColStd_Array1OfReal,Resultat1 : OCP.TColStd.TColStd_Array1OfReal,Resultat2 : OCP.TColStd.TColStd_Array1OfReal,EpsNul : float) -> tuple[int]:
"""
None
"""
def FindU(self,parameter : float,point : OCP.gp.gp_Pnt2d,TheParCurev : IntCurve_PConic,TheImpTool : IntCurve_IConicTool) -> float:
"""
None
"""
def FindV(self,parameter : float,point : OCP.gp.gp_Pnt2d,TheImpTool : IntCurve_IConicTool,ParCurve : IntCurve_PConic,TheParCurveDomain : OCP.IntRes2d.IntRes2d_Domain,V0 : float,V1 : float,Tolerance : float) -> float:
"""
None
"""
def IsDone(self) -> bool:
"""
returns TRUE when the computation was successful.
returns TRUE when the computation was successful.
"""
def IsEmpty(self) -> bool:
"""
Returns TRUE if there is no intersection between the given arguments. The exception NotDone is raised if IsDone returns FALSE.
Returns TRUE if there is no intersection between the given arguments. The exception NotDone is raised if IsDone returns FALSE.
"""
def NbPoints(self) -> int:
"""
This function returns the number of intersection points between the 2 curves. The exception NotDone is raised if IsDone returns FALSE.
This function returns the number of intersection points between the 2 curves. The exception NotDone is raised if IsDone returns FALSE.
"""
def NbSegments(self) -> int:
"""
This function returns the number of intersection segments between the two curves. The exception NotDone is raised if IsDone returns FALSE.
This function returns the number of intersection segments between the two curves. The exception NotDone is raised if IsDone returns FALSE.
"""
def Perform(self,ITool : IntCurve_IConicTool,Dom1 : OCP.IntRes2d.IntRes2d_Domain,PCurve : IntCurve_PConic,Dom2 : OCP.IntRes2d.IntRes2d_Domain,TolConf : float,Tol : float) -> None:
"""
Intersection between an implicit curve and a parametrised curve. The exception ConstructionError is raised if the domain of the parametrised curve does not verify HasFirstPoint and HasLastPoint return True.
"""
def Point(self,N : int) -> OCP.IntRes2d.IntRes2d_IntersectionPoint:
"""
This function returns the intersection point of range N; The exception NotDone is raised if IsDone returns FALSE. The exception OutOfRange is raised if (N <= 0) or (N > NbPoints).
This function returns the intersection point of range N; The exception NotDone is raised if IsDone returns FALSE. The exception OutOfRange is raised if (N <= 0) or (N > NbPoints).
"""
def Segment(self,N : int) -> OCP.IntRes2d.IntRes2d_IntersectionSegment:
"""
This function returns the intersection segment of range N; The exception NotDone is raised if IsDone returns FALSE. The exception OutOfRange is raised if (N <= 0) or (N > NbPoints).
This function returns the intersection segment of range N; The exception NotDone is raised if IsDone returns FALSE. The exception OutOfRange is raised if (N <= 0) or (N > NbPoints).
"""
@overload
def SetReversedParameters(self,flag : bool) -> None:
"""
None
None
"""
@overload
def SetReversedParameters(self,Reverseflag : bool) -> None: ...
@overload
def __init__(self) -> None: ...
@overload
def __init__(self,ITool : IntCurve_IConicTool,Dom1 : OCP.IntRes2d.IntRes2d_Domain,PCurve : IntCurve_PConic,Dom2 : OCP.IntRes2d.IntRes2d_Domain,TolConf : float,Tol : float) -> None: ...
pass
class IntCurve_MyImpParToolOfIntImpConicParConic(OCP.math.math_FunctionWithDerivative, OCP.math.math_Function):
"""
None
"""
def Derivative(self,Param : float,D : float) -> bool:
"""
Computes the derivative of the previous function at parameter Param.
"""
def GetStateNumber(self) -> int:
"""
returns the state of the function corresponding to the latest call of any methods associated with the function. This function is called by each of the algorithms described later which defined the function Integer Algorithm::StateNumber(). The algorithm has the responsibility to call this function when it has found a solution (i.e. a root or a minimum) and has to maintain the association between the solution found and this StateNumber. Byu default, this method returns 0 (which means for the algorithm: no state has been saved). It is the responsibility of the programmer to decide if he needs to save the current state of the function and to return an Integer that allows retrieval of the state.
"""
def Value(self,Param : float,F : float) -> bool:
"""
Computes the value of the signed distance between the implicit curve and the point at parameter Param on the parametrised curve.
"""
def Values(self,Param : float,F : float,D : float) -> bool:
"""
Computes the value and the derivative of the function.
"""
def __init__(self,IT : IntCurve_IConicTool,PC : IntCurve_PConic) -> None: ...
pass
class IntCurve_PConic():
"""
This class represents a conic from gp as a parametric curve ( in order to be used by the class PConicTool from IntCurve).
"""
def Accuracy(self) -> int:
"""
None
None
"""
def Axis2(self) -> OCP.gp.gp_Ax22d:
"""
None
None
"""
def EpsX(self) -> float:
"""
None
None
"""
def Param1(self) -> float:
"""
None
None
"""
def Param2(self) -> float:
"""
None
None
"""
def SetAccuracy(self,Nb : int) -> None:
"""
Accuracy is the number of samples used to approximate the parametric curve on its domain.
"""
def SetEpsX(self,EpsDist : float) -> None:
"""
EpsX is a internal tolerance used in math algorithms, usually about 1e-10 (See FunctionAllRoots for more details)
"""
def TypeCurve(self) -> OCP.GeomAbs.GeomAbs_CurveType:
"""
The Conics are manipulated as objects which only depend on three parameters : Axis and two Real from Standards. Type Curve is used to select the correct Conic.
The Conics are manipulated as objects which only depend on three parameters : Axis and two Real from Standards. Type Curve is used to select the correct Conic.
"""
@overload
def __init__(self,P : OCP.gp.gp_Parab2d) -> None: ...
@overload
def __init__(self,E : OCP.gp.gp_Elips2d) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Lin2d) -> None: ...
@overload
def __init__(self,H : OCP.gp.gp_Hypr2d) -> None: ...
@overload
def __init__(self,PC : IntCurve_PConic) -> None: ...
@overload
def __init__(self,C : OCP.gp.gp_Circ2d) -> None: ...
pass
class IntCurve_PConicTool():
"""
Implementation of the ParTool from IntImpParGen for conics of gp, using the class PConic from IntCurve.
"""
@staticmethod
def D1_s(C : IntCurve_PConic,U : float,P : OCP.gp.gp_Pnt2d,T : OCP.gp.gp_Vec2d) -> None:
"""
None
"""
@staticmethod
def D2_s(C : IntCurve_PConic,U : float,P : OCP.gp.gp_Pnt2d,T : OCP.gp.gp_Vec2d,N : OCP.gp.gp_Vec2d) -> None:
"""
None
"""
@staticmethod
def EpsX_s(C : IntCurve_PConic) -> float:
"""
None
"""
@staticmethod
@overload
def NbSamples_s(C : IntCurve_PConic) -> int:
"""
None
None
"""
@staticmethod
@overload
def NbSamples_s(C : IntCurve_PConic,U0 : float,U1 : float) -> int: ...
@staticmethod
def Value_s(C : IntCurve_PConic,X : float) -> OCP.gp.gp_Pnt2d:
"""
None
"""
def __init__(self) -> None: ...
pass
class IntCurve_ProjectOnPConicTool():
"""
This class provides a tool which computes the parameter of a point near a parametric conic.
"""
@staticmethod
@overload
def FindParameter_s(C : IntCurve_PConic,Pnt : OCP.gp.gp_Pnt2d,Tol : float) -> float:
"""
Returns the parameter V of the point on the parametric curve corresponding to the Point Pnt. The Correspondence between Pnt and the point P(V) on the parametric curve must be coherent with the way of determination of the signed distance between a point and the implicit curve. Tol is the tolerance on the distance between a point and the parametrised curve. In that case, no bounds are given. The research of the right parameter has to be made on the natural parametric domain of the curve.
Returns the parameter V of the point on the parametric curve corresponding to the Point Pnt. The Correspondence between Pnt and the point P(V) on the parametric curve must be coherent with the way of determination of the signed distance between a point and the implicit curve. Tol is the tolerance on the distance between a point and the parametrised curve. LowParameter and HighParameter give the boundaries of the interval in which the parameter certainly lies. These parameters are given to implement a more efficient algorithm. So, it is not necessary to check that the returned value verifies LowParameter <= Value <= HighParameter.
"""
@staticmethod
@overload
def FindParameter_s(C : IntCurve_PConic,Pnt : OCP.gp.gp_Pnt2d,LowParameter : float,HighParameter : float,Tol : float) -> float: ...
def __init__(self) -> None: ...
pass
class Interval():
"""
None
"""
def IntersectionWithBounded(self,Inter : Interval) -> Interval:
"""
None
"""
def Length(self) -> float:
"""
None
"""
@overload
def __init__(self,a : float,hf : bool,b : float,hl : bool) -> None: ...
@overload
def __init__(self,a : float,b : float) -> None: ...
@overload
def __init__(self,Domain : OCP.IntRes2d.IntRes2d_Domain) -> None: ...
@overload
def __init__(self) -> None: ...
@property
def Binf(self) -> float:
"""
:type: float
"""
@Binf.setter
def Binf(self, arg0: float) -> None:
pass
@property
def Bsup(self) -> float:
"""
:type: float
"""
@Bsup.setter
def Bsup(self, arg0: float) -> None:
pass
@property
def HasFirstBound(self) -> bool:
"""
:type: bool
"""
@HasFirstBound.setter
def HasFirstBound(self, arg0: bool) -> None:
pass
@property
def HasLastBound(self) -> bool:
"""
:type: bool
"""
@HasLastBound.setter
def HasLastBound(self, arg0: bool) -> None:
pass
@property
def IsNull(self) -> bool:
"""
:type: bool
"""
@IsNull.setter
def IsNull(self, arg0: bool) -> None:
pass
pass
class PeriodicInterval():
"""
None
"""
def Complement(self) -> None:
"""
None
"""
def FirstIntersection(self,I1 : PeriodicInterval) -> PeriodicInterval:
"""
None
"""
def IsNull(self) -> bool:
"""
None
"""
def Length(self) -> float:
"""
None
"""
def Normalize(self) -> None:
"""
None
"""
def SecondIntersection(self,I2 : PeriodicInterval) -> PeriodicInterval:
"""
None
"""
def SetNull(self) -> None:
"""
None
"""
def SetValues(self,a : float,b : float) -> None:
"""
None
"""
@overload
def __init__(self,a : float,b : float) -> None: ...
@overload
def __init__(self) -> None: ...
@overload
def __init__(self,Domain : OCP.IntRes2d.IntRes2d_Domain) -> None: ...
@property
def Binf(self) -> float:
"""
:type: float
"""
@Binf.setter
def Binf(self, arg0: float) -> None:
pass
@property
def Bsup(self) -> float:
"""
:type: float
"""
@Bsup.setter
def Bsup(self, arg0: float) -> None:
pass
@property
def isnull(self) -> bool:
"""
:type: bool
"""
@isnull.setter
def isnull(self, arg0: bool) -> None:
pass
pass
def Determine_Transition_LC(arg0 : OCP.IntRes2d.IntRes2d_Position,arg1 : OCP.gp.gp_Vec2d,arg2 : OCP.gp.gp_Vec2d,arg3 : OCP.IntRes2d.IntRes2d_Transition,arg4 : OCP.IntRes2d.IntRes2d_Position,arg5 : OCP.gp.gp_Vec2d,arg6 : OCP.gp.gp_Vec2d,arg7 : OCP.IntRes2d.IntRes2d_Transition,arg8 : float) -> None:
"""
None
"""
def NormalizeOnCircleDomain(Param : float,Domain : OCP.IntRes2d.IntRes2d_Domain) -> float:
"""
None
"""
|