GccInt
OCCT package GccInt: GccInt_BCirc, GccInt_BElips, GccInt_BHyper, GccInt_Bisec, and 4 more bound classes.
GccInt_BCirc
Describes a circle as a bisecting curve between two 2D geometric objects (such as circles or points).
Constructors(1)
- constructor(Circ: gp_Circ2d): GccInt_BCirc
Constructs a bisecting curve whose geometry is the 2D circle Circ.
Parameters (1)Circ
Static methods(2)
- get_type_name(): string
Instance methods(3)
Returns a 2D circle which is the geometry of this bisecting curve.
Returns GccInt_Cir, which is the type of any
GccInt_BCircbisecting curve.
GccInt_BElips
Describes an ellipse as a bisecting curve between two 2D geometric objects (such as circles or points).
Constructors(1)
- constructor(Ellipse: gp_Elips2d): GccInt_BElips
Constructs a bisecting curve whose geometry is the 2D ellipse Ellipse.
Parameters (1)Ellipse
Static methods(2)
- get_type_name(): string
Instance methods(3)
Returns a 2D ellipse which is the geometry of this bisecting curve.
Returns GccInt_Ell, which is the type of any
GccInt_BElipsbisecting curve.
GccInt_BHyper
Describes a hyperbola as a bisecting curve between two 2D geometric objects (such as circles or points).
Constructors(1)
- constructor(Hyper: gp_Hypr2d): GccInt_BHyper
Constructs a bisecting curve whose geometry is the 2D hyperbola Hyper.
Parameters (1)Hyper
Static methods(2)
- get_type_name(): string
Instance methods(3)
Returns a 2D hyperbola which is the geometry of this bisecting curve.
Returns GccInt_Hpr, which is the type of any
GccInt_BHyperbisecting curve.
GccInt_Bisec
The deferred class GccInt_Bisec is the root class for elementary bisecting loci between two simple geometric objects (i.e. circles, lines or points).
Bisecting loci between two geometric objects are such that each of their points is at the same distance from the two geometric objects. It is typically a curve, such as a line, circle or conic.
Generally there is more than one elementary object which is the solution to a bisecting loci problem: each solution is described with one elementary bisecting locus. For example, the bisectors of two secant straight lines are two perpendicular straight lines. The GccInt package provides concrete implementations of the following elementary derived bisecting loci:
- lines, circles, ellipses, hyperbolas and parabolas, and
- points (not used in this context). The GccAna package provides numerous algorithms for computing the bisecting loci between circles, lines or points, whose solutions are these types of elementary bisecting locus.
Static methods(2)
- get_type_name(): string
Instance methods(8)
Returns the type of bisecting object (line, circle, parabola, hyperbola, ellipse, point).
Returns the bisecting line when ArcType returns Pnt. An exception DomainError is raised if ArcType is not a Pnt.
Returns the bisecting line when ArcType returns Lin. An exception DomainError is raised if ArcType is not a Lin.
Returns the bisecting line when ArcType returns Cir. An exception DomainError is raised if ArcType is not a Cir.
Returns the bisecting line when ArcType returns Hpr. An exception DomainError is raised if ArcType is not a Hpr.
Returns the bisecting line when ArcType returns Par. An exception DomainError is raised if ArcType is not a Par.
Returns the bisecting line when ArcType returns Ell. An exception DomainError is raised if ArcType is not an Ell.
GccInt_BLine
Describes a line as a bisecting curve between two 2D geometric objects (such as lines, circles or points).
Constructors(1)
- constructor(Line: gp_Lin2d): GccInt_BLine
Constructs a bisecting line whose geometry is the 2D line Line.
Parameters (1)Line
Static methods(2)
- get_type_name(): string
Instance methods(3)
Returns a 2D line which is the geometry of this bisecting line.
Returns GccInt_Lin, which is the type of any
GccInt_BLinebisecting line.
GccInt_BParab
Describes a parabola as a bisecting curve between two 2D geometric objects (such as lines, circles or points).
Constructors(1)
- constructor(Parab: gp_Parab2d): GccInt_BParab
Constructs a bisecting curve whose geometry is the 2D parabola Parab.
Parameters (1)Parab
Static methods(2)
- get_type_name(): string
Instance methods(3)
Returns a 2D parabola which is the geometry of this bisecting curve.
Returns GccInt_Par, which is the type of any
GccInt_BParabbisecting curve.
GccInt_BPoint
Describes a point as a bisecting object between two 2D geometric objects.
Constructors(1)
- constructor(Point: gp_Pnt2d): GccInt_BPoint
Constructs a bisecting object whose geometry is the 2D point Point.
Parameters (1)Point
Static methods(2)
- get_type_name(): string
Instance methods(3)
Returns a 2D point which is the geometry of this bisecting object.
Returns GccInt_Pnt, which is the type of any
GccInt_BPointbisecting object.