Contap
OCCT package Contap: Contap_ArcFunction, Contap_ContAna, Contap_Contour, Contap_HContTool, and 13 more bound classes.
Contap_ArcFunction
Constructors(1)
Instance methods(15)
- Set(S: Adaptor3d_Surface): voidParameters (1)
S
- Parameters (1)
Direction
- Parameters (1)
Eye
- Set(A: Adaptor2d_Curve2d): voidParameters (1)
A
- Parameters (2)
DirectionAngle
- Parameters (2)
EyeAngle
- Value(X: number, F: number): { returnValue: boolean; F: number }
Computes the value <F>of the function for the variable <X>. Returns True if the calculation were successfully done, False otherwise.
Parameters (2)XF
ReturnsA result object with fields:
returnValue: the C++ return valueF: updated value from the call.
- Derivative(X: number, D: number): { returnValue: boolean; D: number }
Computes the derivative <D> of the function for the variable <X>. Returns True if the calculation were successfully done, False otherwise.
Parameters (2)XD
ReturnsA result object with fields:
returnValue: the C++ return valueD: updated value from the call.
- Values(X: number, F: number, D: number): { returnValue: boolean; F: number; D: number }
Computes the value <F> and the derivative <D> of the function for the variable <X>. Returns True if the calculation were successfully done, False otherwise.
Parameters (3)XFD
ReturnsA result object with fields:
returnValue: the C++ return valueF: updated value from the call.D: updated value from the call.
- NbSamples(): number
- GetStateNumber(): number
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. - Parameters (1)
Index
Returns mySurf field.
Returns the point, which has been computed while the last calling
Value()method.
Contap_ContAna
This class provides the computation of the contours for quadric surfaces.
Constructors(1)
Instance methods(14)
- Parameters (2)
SD
- Parameters (2)
SEye
- Perform(C: gp_Cylinder, D: gp_Dir): voidParameters (2)
CD
- Perform(C: gp_Cylinder, Eye: gp_Pnt): voidParameters (2)
CEye
- Parameters (2)
CD
- Parameters (2)
CEye
- Parameters (3)
SDAng
- Perform(C: gp_Cylinder, D: gp_Dir, Ang: number): voidParameters (3)
CDAng
- Parameters (3)
CDAng
- IsDone(): boolean
- NbContours(): number
Returns GeomAbs_Line or GeomAbs_Circle, when
IsDone()returns True.- Parameters (1)
Index
Contap_Contour
Constructors(7)
- constructor(Direction: gp_Vec): Contap_ContourParameters (1)
Direction
- constructor(Eye: gp_Pnt): Contap_ContourParameters (1)
Eye
- constructor(Direction: gp_Vec, Angle: number): Contap_ContourParameters (2)
DirectionAngle
- constructor(Surf: Adaptor3d_Surface, Domain: Adaptor3d_TopolTool, Direction: gp_Vec): Contap_Contour
Creates the contour in a given direction.
Parameters (3)SurfDomainDirection
- constructor(Surf: Adaptor3d_Surface, Domain: Adaptor3d_TopolTool, Eye: gp_Pnt): Contap_Contour
Creates the contour for a perspective view.
Parameters (3)SurfDomainEye
- constructor(Surf: Adaptor3d_Surface, Domain: Adaptor3d_TopolTool, Direction: gp_Vec, Angle: number): Contap_Contour
Creates the contour in a given direction.
Parameters (4)SurfDomainDirectionAngle
Instance methods(12)
- Perform(Surf: Adaptor3d_Surface, Domain: Adaptor3d_TopolTool): void
Creates the contour in a given direction.
Parameters (2)SurfDomain
- Perform(Surf: Adaptor3d_Surface, Domain: Adaptor3d_TopolTool, Direction: gp_Vec): void
Creates the contour in a given direction.
Parameters (3)SurfDomainDirection
- Perform(Surf: Adaptor3d_Surface, Domain: Adaptor3d_TopolTool, Eye: gp_Pnt): void
Creates the contour for a perspective view.
Parameters (3)SurfDomainEye
- Perform(Surf: Adaptor3d_Surface, Domain: Adaptor3d_TopolTool, Direction: gp_Vec, Angle: number): void
Creates the contour in a given direction.
Parameters (4)SurfDomainDirectionAngle
- Parameters (1)
Direction
- Parameters (1)
Eye
- Parameters (2)
DirectionAngle
- IsDone(): boolean
- IsEmpty(): boolean
Returns true if the is no line.
- NbLines(): number
- Line(Index: number): Contap_LineParameters (1)
Index
Returns a reference on the internal SurfaceFunction. This is used to compute tangents on the lines.
Contap_HContTool
Tool for the intersection between 2 surfaces. Regroupe pour l instant les methodes hors Adaptor3d...
Constructors(1)
Static methods(18)
- NbSamplesU(S: Adaptor3d_Surface, u1: number, u2: number): numberParameters (3)
Su1u2
- NbSamplesV(S: Adaptor3d_Surface, v1: number, v2: number): numberParameters (3)
Sv1v2
- NbSamplePoints(S: Adaptor3d_Surface): numberParameters (1)
S
- SamplePoint(S: Adaptor3d_Surface, Index: number, U: number, V: number): { U: number; V: number }Parameters (4)
SIndexUV
- HasBeenSeen(C: Adaptor2d_Curve2d): boolean
Returns True if all the intersection point and edges are known on the Arc. The intersection point are given as vertices. The intersection edges are given as intervals between two vertices.
Parameters (1)C
- NbSamplesOnArc(A: Adaptor2d_Curve2d): number
returns the number of points which is used to make a sample on the arc. this number is a function of the Surface and the CurveOnSurface complexity.
Parameters (1)A
- Bounds(C: Adaptor2d_Curve2d, Ufirst: number, Ulast: number): { Ufirst: number; Ulast: number }
Returns the parametric limits on the arc C. These limits must be finite : they are either the real limits of the arc, for a finite arc, or a bounding box for an infinite arc.
Parameters (3)CUfirstUlast
ReturnsA result object with fields:
Ufirst: updated value from the call.Ulast: updated value from the call.
- Project(C: Adaptor2d_Curve2d, P: gp_Pnt2d, Paramproj: number, Ptproj: gp_Pnt2d): { returnValue: boolean; Paramproj: number }
Projects the point P on the arc C. If the methods returns true, the projection is successful, and Paramproj is the parameter on the arc of the projected point, Ptproj is the projected Point. If the method returns false, Param proj and Ptproj are not significant.
Parameters (4)CPParamprojPtproj—Mutated in place; read the updated value from this argument after the call.
ReturnsA result object with fields:
returnValue: the C++ return valueParamproj: updated value from the call.
- Tolerance(V: Adaptor3d_HVertex, C: Adaptor2d_Curve2d): number
Returns the parametric tolerance used to consider that the vertex and another point meet, i-e if std::abs(parameter(Vertex) - parameter(OtherPnt))<= Tolerance, the points are "merged".
Parameters (2)VC
- Parameter(V: Adaptor3d_HVertex, C: Adaptor2d_Curve2d): number
Returns the parameter of the vertex V on the arc A.
Parameters (2)VC
- NbPoints(C: Adaptor2d_Curve2d): number
Returns the number of intersection points on the arc A.
Parameters (1)C
- Value(C: Adaptor2d_Curve2d, Index: number, Pt: gp_Pnt, Tol: number, U: number): { Tol: number; U: number }
Returns the value (Pt), the tolerance (Tol), and the parameter (U) on the arc A , of the intersection point of range Index.
Parameters (5)CIndexPt—Mutated in place; read the updated value from this argument after the call.TolU
ReturnsA result object with fields:
Tol: updated value from the call.U: updated value from the call.
- IsVertex(C: Adaptor2d_Curve2d, Index: number): boolean
Returns True if the intersection point of range Index corresponds with a vertex on the arc A.
Parameters (2)CIndex
- Vertex(C: Adaptor2d_Curve2d, Index: number): { V: Adaptor3d_HVertex; [Symbol.dispose](): void }
When IsVertex returns True, this method returns the vertex on the arc A.
Parameters (2)CIndex
ReturnsA result object with fields:
V: owned by the returned envelope.
Dispose the returned envelope to release owned Handle fields.
- NbSegments(C: Adaptor2d_Curve2d): number
returns the number of part of A solution of the of intersection problem.
Parameters (1)C
- HasFirstPoint(C: Adaptor2d_Curve2d, Index: number, IndFirst: number): { returnValue: boolean; IndFirst: number }
Returns True when the segment of range Index is not open at the left side. In that case, IndFirst is the range in the list intersection points (see NbPoints) of the one which defines the left bound of the segment. Otherwise, the method has to return False, and IndFirst has no meaning.
Parameters (3)CIndexIndFirst
ReturnsA result object with fields:
returnValue: the C++ return valueIndFirst: updated value from the call.
- HasLastPoint(C: Adaptor2d_Curve2d, Index: number, IndLast: number): { returnValue: boolean; IndLast: number }
Returns True when the segment of range Index is not open at the right side. In that case, IndLast is the range in the list intersection points (see NbPoints) of the one which defines the right bound of the segment. Otherwise, the method has to return False, and IndLast has no meaning.
Parameters (3)CIndexIndLast
ReturnsA result object with fields:
returnValue: the C++ return valueIndLast: updated value from the call.
- IsAllSolution(C: Adaptor2d_Curve2d): boolean
Returns True when the whole restriction is solution of the intersection problem.
Parameters (1)C
Contap_HCurve2dTool
Constructors(1)
Static methods(24)
- FirstParameter(C: Adaptor2d_Curve2d): numberParameters (1)
C
- LastParameter(C: Adaptor2d_Curve2d): numberParameters (1)
C
- Parameters (1)
C
- NbIntervals(C: Adaptor2d_Curve2d, S: GeomAbs_Shape): number
Returns the number of intervals for continuity . May be one if Continuity(myclass) >= .
Parameters (2)CS
- Intervals(C: Adaptor2d_Curve2d, T: NCollection_Array1_double, S: GeomAbs_Shape): void
Stores in <T> the parameters bounding the intervals of continuity .
The array must provide enough room to accommodate for the parameters. i.e. T.Length() >NbIntervals()Parameters (3)CT—Mutated in place; read the updated value from this argument after the call.S
- IsClosed(C: Adaptor2d_Curve2d): booleanParameters (1)
C
- IsPeriodic(C: Adaptor2d_Curve2d): booleanParameters (1)
C
- Period(C: Adaptor2d_Curve2d): numberParameters (1)
C
- Value(C: Adaptor2d_Curve2d, U: number): gp_Pnt2d
Computes the point of parameter U on the curve.
Parameters (2)CU
- D0(C: Adaptor2d_Curve2d, U: number, P: gp_Pnt2d): void
Computes the point of parameter U on the curve.
Parameters (3)CUP—Mutated in place; read the updated value from this argument after the call.
- D1(C: Adaptor2d_Curve2d, U: number, P: gp_Pnt2d, V: gp_Vec2d): void
Computes the point of parameter U on the curve with its first derivative. Raised if the continuity of the current interval is not C1.
Parameters (4)CUP—Mutated in place; read the updated value from this argument after the call.V—Mutated in place; read the updated value from this argument after the call.
- D2(C: Adaptor2d_Curve2d, U: number, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d): void
Returns the point P of parameter U, the first and second derivatives V1 and V2. Raised if the continuity of the current interval is not C2.
Parameters (5)CUP—Mutated in place; read the updated value from this argument after the call.V1—Mutated in place; read the updated value from this argument after the call.V2—Mutated in place; read the updated value from this argument after the call.
Returns the point P of parameter U, the first, the second and the third derivative. Raised if the continuity of the current interval is not C3.
Parameters (6)CUP—Mutated in place; read the updated value from this argument after the call.V1—Mutated in place; read the updated value from this argument after the call.V2—Mutated in place; read the updated value from this argument after the call.V3—Mutated in place; read the updated value from this argument after the call.
- DN(C: Adaptor2d_Curve2d, U: number, N: number): gp_Vec2d
The returned vector gives the value of the derivative for the order of derivation N. Raised if the continuity of the current interval is not CN. Raised if N < 1.
Parameters (3)CUN
- Resolution(C: Adaptor2d_Curve2d, R3d: number): number
Returns the parametric resolution corresponding to the real space resolution <R3d>.
Parameters (2)CR3d
Returns the type of the curve in the current interval: Line, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve.
Parameters (1)C
- Parameters (1)
C
- Parameters (1)
C
- Parameters (1)
C
- Parameters (1)
C
- Parameters (1)
C
- Parameters (1)
C
- Parameters (1)
C
- NbSamples(C: Adaptor2d_Curve2d, U0: number, U1: number): numberParameters (3)
CU0U1
Contap_IType
Properties(4)
Contap_Line
Constructors(1)
Instance methods(19)
- SetLineOn2S(L: IntSurf_LineOn2S): voidParameters (1)
L
- Clear(): void
- ResetSeqOfVertex(): void
- Add(P: IntSurf_PntOn2S): voidParameters (1)
P
- Add(P: Contap_Point): voidParameters (1)
P
- Parameters (1)
L
- Parameters (1)
C
- SetValue(A: Adaptor2d_Curve2d): voidParameters (1)
A
- NbVertex(): number
- Vertex(Index: number): Contap_PointParameters (1)
Index
Returns Contap_Lin for a line, Contap_Circle for a circle, and Contap_Walking for a Walking line, Contap_Restriction for a part of boundary.
- NbPnts(): number
- Point(Index: number): IntSurf_PntOn2SParameters (1)
Index
- SetTransitionOnS(T: IntSurf_TypeTrans): void
Set The Transition of the line.
Parameters (1)T
returns IN if at the "left" of the line, the normale of the surface is oriented to the observator.
Contap_Point
Definition of a vertex on the contour line. Most of the time, such a point is an intersection between the contour and a restriction of the surface. When it is not the method IsOnArc return False. Such a point is contains geometrical information (see the Value method) and logical information.
Constructors(2)
Empty constructor.
- constructor(Pt: gp_Pnt, U: number, V: number): Contap_Point
Creates a point.
Parameters (3)PtUV
Instance methods(18)
Sets the values for a point.
Parameters (3)PtUV
- SetParameter(Para: number): void
Set the value of the parameter on the intersection line.
Parameters (1)Para
- SetVertex(V: Adaptor3d_HVertex): void
Sets the values of a point which is a vertex on the initial facet of restriction of one of the surface.
Parameters (1)V
- SetArc(A: Adaptor2d_Curve2d, Param: number, TLine: IntSurf_Transition, TArc: IntSurf_Transition): void
Sets the value of the arc and of the parameter on this arc of the point.
Parameters (4)AParamTLineTArc
- SetMultiple(): void
- SetInternal(): void
Returns the intersection point (geometric information).
- ParameterOnLine(): number
This method returns the parameter of the point on the intersection line. If the points does not belong to an intersection line, the value returned does not have any sens.
- Parameters(U1: number, V1: number): { U1: number; V1: number }
Returns the parameters on the surface of the point.
Parameters (2)U1V1
ReturnsA result object with fields:
U1: updated value from the call.V1: updated value from the call.
- IsOnArc(): boolean
Returns True when the point is an intersection between the contour and a restriction.
Returns the arc of restriction containing the vertex.
- ParameterOnArc(): number
Returns the parameter of the point on the arc returned by the method
Arc(). Returns the transition of the point on the contour.
Returns the transition of the point on the arc.
- IsVertex(): boolean
Returns TRUE if the point is a vertex on the initial restriction facet of the surface.
Returns the information about the point when it is on the domain of the patch, i-e when the function IsVertex returns True. Otherwise, an exception is raised.
- IsMultiple(): boolean
Returns True if the point belongs to several lines.
- IsInternal(): boolean
Returns True if the point is an internal one, i.e if the tangent to the line on the point and the eye direction are parallel.
Contap_SurfFunction
This class describes the function on a parametric surface. the form of the function is F(u,v) = 0 where u and v are the parametric coordinates of a point on the surface, to compute the contours of the surface.
Constructors(1)
Instance methods(23)
- Set(S: Adaptor3d_Surface): voidParameters (1)
S
- Parameters (1)
Eye
- Parameters (1)
Dir
- Set(Tolerance: number): voidParameters (1)
Tolerance
- Parameters (2)
DirAngle
- Parameters (2)
EyeAngle
- NbVariables(): number
This method has to return 2.
- NbEquations(): number
This method has to return 1.
- Value(X: math_Vector, F: math_Vector): boolean
The dimension of F is 1.
Parameters (2)XF
- Derivatives(X: math_Vector, D: math_Matrix): boolean
The dimension of D is (1,2).
Parameters (2)XD
- Values(X: math_Vector, F: math_Vector, D: math_Matrix): boolean
returns the values <F> of the functions and the derivatives <D> for the variable <X>. Returns True if the computation was done successfully, False otherwise.
Parameters (3)XFD
- Root(): number
Root is the value of the function at the solution. It is a vector of dimension 1, i-e a real.
- Tolerance(): number
Returns the value Tol so that if std::abs(Func.Root())<Tol the function is considered null.
Returns the value of the solution point on the surface.
- IsTangent(): boolean
- Angle(): number
Method is entered for compatibility with
IntPatch_TheSurfFunction.
Contap_SurfProps
Internal tool used to compute the normal and its derivatives.
Constructors(1)
Static methods(3)
- Normale(S: Adaptor3d_Surface, U: number, V: number, P: gp_Pnt, N: gp_Vec): void
Computes the point.
, and normal vector <N> on at parameters U,V.Parameters (5)SUVP—Mutated in place; read the updated value from this argument after the call.N—Mutated in place; read the updated value from this argument after the call.
- DerivAndNorm(S: Adaptor3d_Surface, U: number, V: number, P: gp_Pnt, d1u: gp_Vec, d1v: gp_Vec, N: gp_Vec): void
Computes the point.
, and normal vector <N> on at parameters U,V.Parameters (7)SUVP—Mutated in place; read the updated value from this argument after the call.d1u—Mutated in place; read the updated value from this argument after the call.d1v—Mutated in place; read the updated value from this argument after the call.N—Mutated in place; read the updated value from this argument after the call.
- NormAndDn(S: Adaptor3d_Surface, U: number, V: number, P: gp_Pnt, N: gp_Vec, Dnu: gp_Vec, Dnv: gp_Vec): void
Computes the point.
, normal vector <N>, and its derivatives <Dnu> and <Dnv> on at parameters U,V.Parameters (7)SUVP—Mutated in place; read the updated value from this argument after the call.N—Mutated in place; read the updated value from this argument after the call.Dnu—Mutated in place; read the updated value from this argument after the call.Dnv—Mutated in place; read the updated value from this argument after the call.
Contap_TFunction
Properties(4)
Contap_TheIWalking
Constructors(1)
- constructor(Epsilon: number, Deflection: number, Step: number, theToFillHoles?: boolean): Contap_TheIWalking
Deflection is the maximum deflection admitted between two consecutive points on a resulting polyline. Step is the maximum increment admitted between two consecutive points (in 2d space). Epsilon is the tolerance beyond which 2 points are confused. theToFillHoles is the flag defining whether possible holes between resulting curves are filled or not in case of Contap walking theToFillHoles is True.
Parameters (4)EpsilonDeflectionSteptheToFillHoles
Instance methods(8)
- SetTolerance(Epsilon: number, Deflection: number, Step: number): void
Deflection is the maximum deflection admitted between two consecutive points on a resulting polyline. Step is the maximum increment admitted between two consecutive points (in 2d space). Epsilon is the tolerance beyond which 2 points are confused.
Parameters (3)EpsilonDeflectionStep
- Perform(Pnts1: NCollection_Sequence_IntSurf_PathPoint, Pnts2: NCollection_Sequence_IntSurf_InteriorPoint, Func: Contap_SurfFunction, S: Adaptor3d_Surface, Reversed: boolean): void
Searches a set of polylines starting on a point of Pnts1 or Pnts2. Each point on a resulting polyline verifies F(u,v)=0.
Parameters (5)Pnts1Pnts2Func—Mutated in place; read the updated value from this argument after the call.SReversed
- Perform(Pnts1: NCollection_Sequence_IntSurf_PathPoint, Func: Contap_SurfFunction, S: Adaptor3d_Surface, Reversed: boolean): void
Searches a set of polylines starting on a point of Pnts1. Each point on a resulting polyline verifies F(u,v)=0.
Parameters (4)Pnts1Func—Mutated in place; read the updated value from this argument after the call.SReversed
- IsDone(): boolean
Returns true if the calculus was successful.
- NbLines(): number
Returns the number of resulting polylines. An exception is raised if IsDone returns False.
- Value(Index: number): Contap_TheIWLineOfTheIWalking
Returns the polyline of range Index. An exception is raised if IsDone is False. An exception is raised if Index<=0 or Index>NbLines.
Parameters (1)Index
- NbSinglePnts(): number
Returns the number of points belonging to Pnts on which no line starts or ends. An exception is raised if IsDone returns False.
- SinglePnt(Index: number): IntSurf_PathPoint
Returns the point of range Index . An exception is raised if IsDone returns False. An exception is raised if Index<=0 or Index > NbSinglePnts.
Parameters (1)Index
Contap_TheIWLineOfTheIWalking
Constructors(1)
- constructor(theAllocator?: TDF_HAllocator): Contap_TheIWLineOfTheIWalkingParameters (1)
theAllocator
Static methods(2)
- get_type_name(): string
Instance methods(28)
- Reverse(): void
reverse the points in the line. Hasfirst, HasLast are kept.
- Cut(Index: number): void
Cut the line at the point of rank Index.
Parameters (1)Index
- AddPoint(P: IntSurf_PntOn2S): void
Add a point in the line.
Parameters (1)P
- AddStatusFirst(Closed: boolean, HasFirst: boolean): voidParameters (2)
ClosedHasFirst
- AddStatusFirst(Closed: boolean, HasLast: boolean, Index: number, P: IntSurf_PathPoint): voidParameters (4)
ClosedHasLastIndexP
- AddStatusFirstLast(Closed: boolean, HasFirst: boolean, HasLast: boolean): voidParameters (3)
ClosedHasFirstHasLast
- AddStatusLast(HasLast: boolean): voidParameters (1)
HasLast
- AddStatusLast(HasLast: boolean, Index: number, P: IntSurf_PathPoint): voidParameters (3)
HasLastIndexP
- AddIndexPassing(Index: number): void
associate the index of the point on the line with the index of the point passing through the starting iterator
Parameters (1)Index
- SetTangentVector(V: gp_Vec, Index: number): voidParameters (2)
VIndex
- SetTangencyAtBegining(IsTangent: boolean): voidParameters (1)
IsTangent
- SetTangencyAtEnd(IsTangent: boolean): voidParameters (1)
IsTangent
- NbPoints(): number
Returns the number of points of the line (including first point and end point : see HasLastPoint and HasFirstPoint).
- Value(Index: number): IntSurf_PntOn2S
Returns the point of range Index. If index <= 0 or Index > NbPoints, an exception is raised.
Parameters (1)Index
Returns the LineOn2S contained in the walking line.
- IsClosed(): boolean
Returns True if the line is closed.
- HasFirstPoint(): boolean
Returns True if the first point of the line is a marching point. when is HasFirstPoint==False ,the line begins on the natural bound of the surface. The line can be too long.
- HasLastPoint(): boolean
Returns True if the end point of the line is a marching point (Point from IntWS). when is HasFirstPoint==False the line ends on the natural bound of the surface. The line can be too long.
Returns the first point of the line when it is a marching point. An exception is raised if HasFirstPoint returns False.
- FirstPointIndex(): number
Returns the Index of first point of the line when it is a marching point. This index is the index in the PointStartIterator. An exception is raised if HasFirstPoint returns False.
Returns the last point of the line when it is a marching point. An exception is raised if HasLastPoint returns False.
- LastPointIndex(): number
Returns the index of last point of the line when it is a marching point. This index is the index in the PointStartIterator. An exception is raised if HasLastPoint returns False.
- NbPassingPoint(): number
returns the number of points belonging to Pnts1 which are passing point.
- PassingPoint(Index: number, IndexLine: number, IndexPnts: number): { IndexLine: number; IndexPnts: number }
returns the index of the point belonging to the line which is associated to the passing point belonging to Pnts1 an exception is raised if Index >
NbPassingPoint()Parameters (3)IndexIndexLineIndexPnts
ReturnsA result object with fields:
IndexLine: updated value from the call.IndexPnts: updated value from the call.
- TangentVector(Index: number): { returnValue: gp_Vec; Index: number; [Symbol.dispose](): void }Parameters (1)
Index
- IsTangentAtBegining(): boolean
- IsTangentAtEnd(): boolean
Contap_ThePathPointOfTheSearch
Constructors(3)
- constructor(P: gp_Pnt, Tol: number, A: Adaptor2d_Curve2d, Parameter: number): Contap_ThePathPointOfTheSearchParameters (4)
PTolAParameter
- constructor(P: gp_Pnt, Tol: number, V: Adaptor3d_HVertex, A: Adaptor2d_Curve2d, Parameter: number): Contap_ThePathPointOfTheSearchParameters (5)
PTolVAParameter
Instance methods(8)
- SetValue(P: gp_Pnt, Tol: number, V: Adaptor3d_HVertex, A: Adaptor2d_Curve2d, Parameter: number): voidParameters (5)
PTolVAParameter
- SetValue(P: gp_Pnt, Tol: number, A: Adaptor2d_Curve2d, Parameter: number): voidParameters (4)
PTolAParameter
- Tolerance(): number
- IsNew(): boolean
- Parameter(): number
Contap_TheSearch
Constructors(1)
Empty constructor.
Instance methods(7)
- Perform(F: Contap_ArcFunction, Domain: Adaptor3d_TopolTool, TolBoundary: number, TolTangency: number, RecheckOnRegularity: boolean): void
Algorithm to find the points and parts of curves of Domain (domain of of restriction of a surface) which verify F = 0. TolBoundary defines if a curve is on Q. TolTangency defines if a point is on Q.
Parameters (5)F—Mutated in place; read the updated value from this argument after the call.DomainTolBoundaryTolTangencyRecheckOnRegularity
- IsDone(): boolean
Returns True if the calculus was successful.
- AllArcSolution(): boolean
Returns true if all arc of the Arcs are solution (inside the surface). An exception is raised if IsDone returns False.
- NbPoints(): number
Returns the number of resulting points. An exception is raised if IsDone returns False (NotDone).
- Point(Index: number): Contap_ThePathPointOfTheSearch
Returns the resulting point of range Index. The exception NotDone is raised if
IsDone()returns False. The exception OutOfRange is raised if Index <= 0 or Index > NbPoints.Parameters (1)Index
- NbSegments(): number
Returns the number of the resulting segments. An exception is raised if IsDone returns False (NotDone).
- Segment(Index: number): Contap_TheSegmentOfTheSearch
Returns the resulting segment of range Index. The exception NotDone is raised if
IsDone()returns False. The exception OutOfRange is raised if Index <= 0 or Index > NbPoints.Parameters (1)Index
Contap_TheSearchInside
Constructors(2)
- constructor(F: Contap_SurfFunction, Surf: Adaptor3d_Surface, T: Adaptor3d_TopolTool, Epsilon: number): Contap_TheSearchInsideParameters (4)
FSurfTEpsilon
Instance methods(5)
- Perform(F: Contap_SurfFunction, Surf: Adaptor3d_Surface, T: Adaptor3d_TopolTool, Epsilon: number): voidParameters (4)
FSurfTEpsilon
- Perform(F: Contap_SurfFunction, Surf: Adaptor3d_Surface, UStart: number, VStart: number): voidParameters (4)
FSurfUStartVStart
- IsDone(): boolean
- NbPoints(): number
Returns the number of points. The exception NotDone if raised if IsDone returns False.
- Value(Index: number): IntSurf_InteriorPoint
Returns the point of range Index. The exception NotDone if raised if IsDone returns False. The exception OutOfRange if raised if Index <= 0 or Index > NbPoints.
Parameters (1)Index
Contap_TheSegmentOfTheSearch
Constructors(1)
Empty constructor.
Instance methods(7)
- SetValue(A: Adaptor2d_Curve2d): void
Defines the concerned arc.
Parameters (1)A
- SetLimitPoint(V: Contap_ThePathPointOfTheSearch, First: boolean): void
Defines the first point or the last point, depending on the value of the boolean First.
Parameters (2)VFirst
Returns the geometric curve on the surface 's domain which is solution.
- HasFirstPoint(): boolean
Returns True if there is a vertex (ThePathPoint) defining the lowest valid parameter on the arc.
Returns the first point.
- HasLastPoint(): boolean
Returns True if there is a vertex (ThePathPoint) defining the greatest valid parameter on the arc.
Returns the last point.