GeomProjLib
OCCT package GeomProjLib: GeomProjLib.
GeomProjLib
Projection of a curve on a surface.
Constructors(1)
Static methods(8)
- Curve2d(C: Geom_Curve, First: number, Last: number, S: Geom_Surface, UFirst: number, ULast: number, VFirst: number, VLast: number, Tolerance: number): { returnValue: Geom2d_Curve; Tolerance: number; [Symbol.dispose](): void }
gives the 2d-curve of a 3d-curve lying on a surface (uses GeomProjLib_ProjectedCurve) The 3dCurve is taken between the parametrization range [First, Last] <Tolerance> is used as input if the projection needs an approximation. In this case, the reached tolerance is set in <Tolerance> as output. WARNING: if the projection has failed, this method returns a null Handle.
Parameters (9)CFirstLastSUFirstULastVFirstVLastTolerance
ReturnsA result object with fields:
returnValue: the C++ return valueTolerance: updated value from the call.
Dispose the returned envelope to release owned Handle fields.
- Curve2d(C: Geom_Curve, First: number, Last: number, S: Geom_Surface, Tolerance: number): { returnValue: Geom2d_Curve; Tolerance: number; [Symbol.dispose](): void }
gives the 2d-curve of a 3d-curve lying on a surface (uses GeomProjLib_ProjectedCurve) The 3dCurve is taken between the parametrization range [First, Last] <Tolerance> is used as input if the projection needs an approximation. In this case, the reached tolerance is set in <Tolerance> as output. WARNING: if the projection has failed, this method returns a null Handle.
Parameters (5)CFirstLastSTolerance
ReturnsA result object with fields:
returnValue: the C++ return valueTolerance: updated value from the call.
Dispose the returned envelope to release owned Handle fields.
- Curve2d(C: Geom_Curve, First: number, Last: number, S: Geom_Surface): Geom2d_Curve
gives the 2d-curve of a 3d-curve lying on a surface (uses GeomProjLib_ProjectedCurve) The 3dCurve is taken between the parametrization range [First, Last] If the projection needs an approximation,
Precision::PApproximation()is used. WARNING: if the projection has failed, this method returns a null Handle.Parameters (4)CFirstLastS
- Curve2d(C: Geom_Curve, S: Geom_Surface): Geom2d_Curve
gives the 2d-curve of a 3d-curve lying on a surface (uses GeomProjLib_ProjectedCurve) If the projection needs an approximation,
Precision::PApproximation()is used. WARNING: if the projection has failed, this method returns a null Handle.Parameters (2)CS
- Curve2d(C: Geom_Curve, S: Geom_Surface, UDeb: number, UFin: number, VDeb: number, VFin: number): Geom2d_Curve
gives the 2d-curve of a 3d-curve lying on a surface (uses GeomProjLib_ProjectedCurve) If the projection needs an approximation,
Precision::PApproximation()is used. WARNING: if the projection has failed, this method returns a null Handle. can expand a little the bounds of surfaceParameters (6)CSUDebUFinVDebVFin
- Curve2d(C: Geom_Curve, S: Geom_Surface, UDeb: number, UFin: number, VDeb: number, VFin: number, Tolerance: number): { returnValue: Geom2d_Curve; Tolerance: number; [Symbol.dispose](): void }
gives the 2d-curve of a 3d-curve lying on a surface (uses GeomProjLib_ProjectedCurve) If the projection needs an approximation,
Precision::PApproximation()is used. WARNING: if the projection has failed, this method returns a null Handle. can expand a little the bounds of surfaceParameters (7)CSUDebUFinVDebVFinTolerance
ReturnsA result object with fields:
returnValue: the C++ return valueTolerance: updated value from the call.
Dispose the returned envelope to release owned Handle fields.
- Project(C: Geom_Curve, S: Geom_Surface): Geom_Curve
Constructs the 3d-curve from the normal projection of the Curve
on the surface . WARNING: if the projection has failed, returns a null Handle.Parameters (2)CS
- ProjectOnPlane(Curve: Geom_Curve, Plane: Geom_Plane, Dir: gp_Dir, KeepParametrization: boolean): Geom_Curve
Constructs the 3d-curves from the projection of the curve <Curve> on the plane <Plane> along the direction <Dir>. If <KeepParametrization> is true, the parametrization of the Projected Curve <PC> will be the same as the parametrization of the initial curve
. It means: proj(C(u)) = PC(u) for each u. Otherwise, the parametrization may change.Parameters (4)CurvePlaneDirKeepParametrization