CN101604452A - The closed curve that utilizes open curve and close on makes up the method for new closed curve - Google Patents

The closed curve that utilizes open curve and close on makes up the method for new closed curve Download PDF

Info

Publication number
CN101604452A
CN101604452A CNA200810114898XA CN200810114898A CN101604452A CN 101604452 A CN101604452 A CN 101604452A CN A200810114898X A CNA200810114898X A CN A200810114898XA CN 200810114898 A CN200810114898 A CN 200810114898A CN 101604452 A CN101604452 A CN 101604452A
Authority
CN
China
Prior art keywords
curve
closed curve
beziers
section
latter end
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA200810114898XA
Other languages
Chinese (zh)
Other versions
CN101604452B (en
Inventor
常先堂
李平立
姜建军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Peking University
Founder International Beijing Co Ltd
Original Assignee
Peking University
Founder International Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Peking University, Founder International Beijing Co Ltd filed Critical Peking University
Priority to CN200810114898XA priority Critical patent/CN101604452B/en
Priority to PCT/CN2008/002077 priority patent/WO2009149591A1/en
Publication of CN101604452A publication Critical patent/CN101604452A/en
Application granted granted Critical
Publication of CN101604452B publication Critical patent/CN101604452B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/203Drawing of straight lines or curves

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Generation (AREA)

Abstract

The invention discloses the method that a kind of closed curve that utilizes open curve and close on makes up new closed curve, when the open curve that closed curve closes in the prior art is converted into closed curve, do not have intersection point or only have under the situation of an intersection point at open curve and closed curve and can't utilize the geometric attribute of open curve self, thereby cause the closed curve of generation unsmooth.Method of the present invention is at first by first section and three Bezier (Bezier) curve of latter end generation based on open curve, determine the intersection point of first section of the location, four reference mark of three Beziers and three Beziers of latter end and closed curve, utilize at last first section of open curve and latter end three Beziers and with two new closed curves of two intersection points generations of closed curve.Method of the present invention can make full use of open curve existing geometric attribute information, and by utilizing first section and three Bezier nature extension modes of latter end of open curve, the new closed curve of generation is level and smooth naturally.

Description

The closed curve that utilizes open curve and close on makes up the method for new closed curve
Technical field
The invention belongs to the computer information processing field, relate to a kind of computer graphical editing technique, particularly a kind of closed curve that utilizes open curve and close on makes up the method for new closed curve.
Background technology
Handle in the application scenario at a lot of computer graphicals, need ask its regional overall profile or its integrally closed region area is carried out the integration summation the zone that comprises open curve, the typical case uses as needs in packages printing to asking the cut out areas of figure integral body, as the scanning unbroken curve is being asked application scenarios such as its area integral.
In the prior art, when the open curve that closed curve closes on is converted into closed curve, do not have intersection point or only have under the situation of an intersection point at open curve and closed curve, often do not utilize open curve existing geometric attribute, generally do not make an amendment processing, as when open curve and closed curve do not have any intersection point, directly use straight line to link to each other, when open curve and closed curve intersect, given up the part curve on the open curve, thereby cause newly-generated closed curve unsmooth, visual effect can't reach gratifying effect.Have under the situation of a plurality of (>=2) intersection point at open curve and closed curve, existing scheme is to adopt following method mostly: along the direction of open curve, find first and last intersection point respectively, so just found two (a pair of) intersection points.Might as well remember that first intersection point is A, last intersection point is B, extracts A on the open curve then, and the segment of curve between 2 of the B is replaced different segment of curve on closed curve with its then, just obtains new closed curve.
Specifically in technical field of packaging and printing, how (trapping also makes mending-leakage white in the packing trapping, be called scalable again, mainly be to cause two leakages between the adjacent different colours white in order to remedy because of the printing register trouble) in the process that generates of zone, make full use of the existing attribute of the open curve that closes on closed curve, naturally level and smooth extension is the present technical issues that need to address to generate the closed curve of visual effect nature.Therefore also need to provide a kind of new method to come the closed curve of packing area of trap is made amendment.
Summary of the invention
At problems of the prior art, purpose of the present invention provides a kind of closed curve that utilizes open curve and close on to make up the method for new closed curve, this method can make full use of the geometric attribute information of the open curve that closes on closed curve closed curve is made amendment, and the closed curve that obtains after feasible final the modification reaches gratifying visual effect.
Another object of the present invention is that this method can reach good visual effect after packing area of trap closed curve is made amendment.
For achieving the above object, the technical solution used in the present invention is: a kind of closed curve that utilizes open curve and close on makes up the method for new closed curve, may further comprise the steps:
(1) first section and three Beziers of latter end of location open curve;
(2) the location open curve is with the closed curve first and last intersection point that closes on and revise open curve: based on the location, reference mark of first section of open curve and three Beziers of latter end and the first and last intersection point of closed curve, and by revising first section and three Beziers of latter end to realize the modification of whole open curve;
(3) make up two new closed curves: utilize first section of open curve and the first and last intersection point of three Beziers of latter end and closed curve to constitute two new closed curves.
Further, in the step (1), if open curve is made up of three Beziers of multistage, then three of the open curve two ends Beziers be respectively first section of open curve with three Beziers of latter end.
Further, in the step (1), if open curve only is made up of one section three Bezier, then this open curve is carried out two fens subdivisions, two three Beziers of formation are respectively first section and three Beziers of latter end of open curve.
Further, the described method that one section three Bezier is carried out two fens subdivisions comprises:
With three Beziers with three real coefficient polynomial functions of monobasic f 3 ( x ) = Σ i = 0 3 a i x i Expression, parameter x ∈ [0,1] wherein, a i(i=0,1,2,3) are real number, a 3≠ 0;
The point of getting the x=0.5 place carries out two fens subdivisions, obtains three Beziers of head-end sections.
Three times further again, as to form behind the subdivision in two minutes Beziers can carry out two fens subdivisions once more.
Further, if first section or three Beziers of latter end and closed curve do not have intersection point, then construct an intersection point and revise this first section or three Beziers of latter end in the step (2), concrete grammar comprises:
Calculate the reference mark P of first section or three Bezier one ends of latter end 0Minimum distance point P to closed curve 0" and minimum distance d;
By a P 0Naturally extend first section or three Beziers of latter end, if intersect at a P with closed curve 0' and | P 0 P 0 &prime; &cap; | < N &times; d , Then with this intersection point P 0' be labeled as the intersection point of this first section or three Beziers of latter end and closed curve, if intersect at a P with closed curve 0' and | P 0 P 0 &prime; &cap; | &GreaterEqual; N &times; d Or do not have intersection point with closed curve, then minimum distance is put P 0" as the intersection point of this first section or three Beziers of latter end and closed curve, wherein the span of N (0,3], preferred value is 2;
Revise first section or three Beziers of latter end: if the intersection point of first section or three Beziers of latter end and closed curve is intersection point P 0', then with reference mark P 0Adjust to P 0', utilize adjusted four reference mark to revise this first section or three Beziers of latter end; If the intersection point of first section or three Beziers of latter end and closed curve is minimum distance point P 0", then with reference mark P 0Adjust to P 0", utilize adjusted four reference mark to revise this first section or three Beziers of latter end.
Further, in the step (2) if there are one or more intersection points in first section or three Beziers of latter end and closed curve, then locate this first section or three Beziers of latter end and closed curve intersection point and revise first section or three Beziers of latter end, concrete grammar comprises:
By reference mark P 0Determine and the first intersection point A of closed curve along first section or three Beziers of latter end, calculate &alpha; = | P 0 A &cap; | / | P 0 P 3 &cap; | , Wherein, reference mark P 0Be positioned at the head end or the end of open curve, P 3Be positioned at the other end of first section or three Beziers of latter end; If α<M, the span of M [0,1] wherein, preferred value is 0.7, then clips P 0The A part; If α 〉=M then calculates first section or three Bezier reference mark of latter end P 0Minimum distance point P to closed curve 0", then with reference mark P 0Adjust to P 0", utilize adjusted four reference mark to revise this first section or three Beziers of latter end, minimum distance is put P 0" be adjusted into this first section or three Beziers of latter end and closed curve intersection point.
Further, the zone that described closed curve surrounded is the packing area of trap, described open curve be the user around the packing area of trap drawn one with closed curve crossing or disjoint non-closed curve.
Effect of the present invention is: adopt method of the present invention, first section and three Bezier (Bezier) curve of latter end generation based on open curve, determine first section of the location, four reference mark of three Beziers and the intersection point of three Beziers of latter end and closed curve, at last by open curve, closed curve, three Beziers of first section of open curve and latter end and generate two new closed curves with two intersection points of closed curve can't be handled the curve modification that open curve and closed curve do not have the intersection point situation thereby solved effectively in the prior art.Simultaneously, the situation of intersection point is arranged, can also make full use of the geometric attribute information of open curve, carry out the modification of closed curve, make to reach gratifying visual effect through amended closed curve for open curve and closed curve.Specifically be applied in the treatment technology of packing area of trap, method of the present invention can be made amendment to the closed curve of area of trap effectively.
Description of drawings
Fig. 1 is a method flow diagram of the present invention;
Fig. 2 is the embodiment of the invention 1 Central Plains open curve and closed curve synoptic diagram;
Fig. 3 is three Bezier reference mark sign pictures forming open curve in the embodiment of the invention 1;
Fig. 4 is the design sketch after the curve modification in the embodiment of the invention 1;
Fig. 5 is the embodiment of the invention 2 Central Plains open curves and closed curve synoptic diagram;
Fig. 6 is a reference mark sign picture of only being made of open curve in the embodiment of the invention 2 one section three Bezier;
Fig. 7 is two sections three Bezier reference mark sign pictures forming open curve in the embodiment of the invention 2 in two minutes behind the subdivision;
Fig. 8 is the design sketch after the curve modification in the embodiment of the invention 2;
Fig. 9 is the embodiment of the invention 3 Central Plains open curves and closed curve synoptic diagram;
Figure 10 is three Bezier reference mark sign pictures forming open curve in the embodiment of the invention 3;
Figure 11 is the design sketch after the curve modification in the embodiment of the invention 3.
Embodiment
The present invention is described in further detail below in conjunction with Figure of description and specific embodiment.
As shown in Figure 1, a kind of closed curve that utilizes open curve and close on makes up the method for new closed curve, may further comprise the steps:
(1) first section and three Bezier S11 of latter end of location open curve;
(2) the location open curve is with the closed curve first and last intersection point that closes on and revise open curve S12: based on the location, reference mark of first section of open curve and three Beziers of latter end and two intersection points of first and last of closed curve, and by revising first section and three Beziers of latter end to realize the modification of whole open curve;
(3) make up two new closed curve S13: utilize first section of open curve and two intersection points of first and last of three Beziers of latter end and closed curve to constitute two new closed curves.
Embodiment 1:
In the present embodiment, not having the graphics edition object of making amendment under the intersection point situation with open curve and closed curve is example, and wherein open curve is made up of three Beziers of multistage.As shown in Figure 1, a kind of closed curve that utilizes open curve and close on makes up the method for new closed curve, may further comprise the steps:
(1) first section and three Beziers of latter end of location open curve 21;
As shown in Figure 2, in the present embodiment, open curve 21 and closed curve 22 no intersection points.As shown in Figure 3, open curve is made up of four sections three Beziers, i.e. curve 30-33, curve 33-34, curve 34-35 curve 35-38; Wherein first section curve 30-33 and latter end curve 35-38 are respectively first section and three Beziers of latter end of open curve.
(2) location open curve 21 is with the closed curve 22 first and last intersection points that close on and revise open curve 21: based on the location, reference mark of first section of open curve 21 and three Beziers of latter end and two intersection points of first and last of closed curve, and by revising first section and three Beziers of latter end to realize the modification of whole open curve;
As shown in Figure 3, first section three Bezier 30-33 of open curve 21 and three Bezier 35-38 of latter end all do not have intersection point with closed curve in the step in the present embodiment (2), then construct an intersection point respectively and revise the first section concrete grammar with three Beziers of latter end to comprise:
For first section three Bezier 30-33, calculate the reference mark P of these three Bezier one ends 030 minimum distance point P to closed curve 0" 39 and minimum distance d, its mid point P 030 is three Bezier reference mark, and this point is positioned at the end points place of open curve 21;
In the present embodiment, extend three Beziers, intersect at a P with closed curve to closed curve 0' 40 and | P 0 P 0 &prime; &cap; | < N &times; d , Then with this intersection point P 0The intersection point of Duan Sanci Bezier and closed curve headed by ' 40 marks, wherein N is a controlled variable, wherein the span of N (0,3], N=2 in the present embodiment.
If extend three Beziers to closed curve, intersect at a P with closed curve 0' and | P 0 P 0 &prime; &cap; | &GreaterEqual; N &times; d , Then minimum distance is put P 0" as the intersection point of open curve and closed curve;
Revise first section three Bezier 30-33: the intersection point of first section three Bezier 30-33 and closed curve is P 0' 40, then with reference mark P 030 adjust to P 0' 40, utilize adjusted four reference mark P 040, some P 131, some P 232 and the some P 333 revise this Duan Sanci Bezier.
Intersection point as if first section three Bezier 30-33 and closed curve is minimum distance point P 0", then with reference mark P 0Adjust to P 0", utilize adjusted four reference mark to revise this Duan Sanci Bezier.
Equally according to above-mentioned steps, for three Bezier 35-38 of latter end, the reference mark P of these three Bezier one ends 038 minimum distance point P to closed curve 0" 41 and minimum distance d.
In the present embodiment, extend three Bezier 35-38 of latter end, intersect at a P with closed curve 22 to closed curve 22 0' 42 and | P 0 P 0 &prime; &cap; | < N &times; d , Then with this intersection point P 0' 42 are labeled as the intersection point of three Beziers of latter end and closed curve, and wherein N is a controlled variable, N=2 in the present embodiment.
Revise three Bezier 35-38 of latter end: the intersection point of three Bezier 35-38 of latter end and closed curve is intersection point P 0' 42, then with reference mark P 038 adjust to P 0' 42, utilize adjusted four reference mark P 042, some P 137, some P 236 and the some P 335 revise this Duan Sanci Bezier.
(3) make up two new closed curves: as shown in Figure 4, utilize first section three Bezier of open curve and two intersection points 40 of first and last and two new closed curves of 42 formations of latter end cubic curve and closed curve.
In the time of in the treatment technology that method of the present invention specifically is applied to the packing area of trap, normally draw an open curve by user oneself earlier, it is placed on closed curve (promptly need revise area of trap) or be in intersection location on every side, adopt method of the present invention that open curve and closed curve are made amendment then, obtain two new closed curves at last.In the present embodiment, the user can keep any closed curve wherein according to different demands, also can keep two closed curves simultaneously.
Embodiment 2:
In the present embodiment, not having the graphics edition object of making amendment under the intersection point situation with open curve and closed curve is example, and wherein open curve only is one section three Bezier.As shown in Figure 1, a kind of closed curve that utilizes open curve and close on makes up the method for new closed curve, may further comprise the steps:
(1) first section and three Beziers of latter end of location open curve;
As Fig. 5, Fig. 6 and shown in Figure 7, in the present embodiment, open curve 51 and closed curve 52 no intersection points.Open curve 51 only is made up of one section three Bezier, and its four reference mark are respectively 60,61,62 and 63.Therefore need this curve is carried out two fens subdivisions, two three Beziers of formation are respectively first section three Bezier 70-73 and three Bezier 73-76 of latter end of open curve.In the present embodiment, the described method that one section three Bezier is carried out two fens subdivisions comprises:
With three Beziers with three real coefficient polynomial functions of monobasic f 3 ( x ) = &Sigma; i = 0 3 a i x i Expression, parameter x ∈ [0,1] wherein, a i(i=0,1,2,3) are real number;
The point of getting the x=0.5 place carries out two fens subdivisions, obtains three Beziers of head-end sections.
(2) the location open curve is with the closed curve first and last intersection point that closes on and revise open curve: based on the location, reference mark of first section of open curve and three Beziers of latter end and two intersection points of first and last of closed curve, and by revising first section and three Beziers of latter end to realize the modification of whole open curve;
In the present embodiment, there are not intersection point in first section three Bezier 70-73 and closed curve, and the concrete grammar of then constructing an intersection point and revising this open curve 51 comprises:
Calculate the reference mark P of first section three Bezier 70-73 one ends 070 minimum distance point P to closed curve 0" and minimum distance d, wherein P 0Headed by Duan Sanci Bezier reference mark, this point is positioned at the end points place of open curve;
In the present embodiment, extend first section three Beziers, do not have intersection point, then minimum distance is put P with closed curve to closed curve 0" 77 intersection points as these three Bezier 70-73 and closed curve;
Revise first section three Bezier 70-73: the intersection point of first section three Bezier 70-73 and closed curve 52 is minimum distance point P 0" 77, then with reference mark P 070 adjust to P 0" 77, utilize adjusted four reference mark P 077, P 171, P 272 and P 373 revise this Duan Sanci Bezier.
According to above-mentioned steps, three Bezier 73-76 make amendment to latter end equally, obtain the intersection point 78 of three Beziers of this latter end and closed curve, utilize four adjusted reference mark P simultaneously 078, P 175, P 274 and P 373 obtain three Beziers of amended latter end.
(3) make up two new closed curves: as shown in Figure 8, utilize first section of open curve and two intersection points 77 of first and last and 78 of three Beziers of latter end and closed curve to constitute two new closed curves.
In the above-mentioned steps (2), three Beziers that formed behind the subdivision in two minutes can carry out two fens subdivisions once more, finally determine first section and three Beziers of latter end.
Embodiment 3:
In the present embodiment, having the graphics edition object of making amendment under one or more intersection point situations with open curve and closed curve is example.As shown in Figure 1, a kind of closed curve that utilizes open curve and close on makes up the method for new closed curve, may further comprise the steps:
(1) first section and three Beziers of latter end of location open curve;
As shown in Figures 9 and 10, there are a plurality of intersection points in open curve 91 with closed curve 92 in the present embodiment.Open curve 91 is by four sections three Beziers, i.e. curve 100-101, curve 101--102, curve 102-103 curve 103-106; Wherein first section curve 100-101 and latter end curve 103-106 are respectively first section and three Beziers of latter end of open curve.
(2) the location open curve is with the closed curve first and last intersection point that closes on and revise open curve: based on the location, reference mark of first section of open curve and three Beziers of latter end and two intersection points of first and last of closed curve, and by revising first section and three Beziers of latter end to realize the modification of whole open curve;
In the present embodiment, for first section three Bezier 100-101 and closed curve 92 intersection point is arranged, the concrete grammar of then constructing a suitable intersection point and revising this open curve comprises:
In the present embodiment, as shown in figure 10, by a P 0100 determine and the first intersection point A107 of closed curve 92 along first section three Bezier 100-101, calculate &alpha; = | P 0 A &cap; | / | P 0 P 3 &cap; | Whether greater than M, the span of M [0,1], wherein, the reference mark P of three Beziers 0100 are positioned at the head end of open curve 91, reference mark P 3101 are positioned at the other end of three Bezier 100-101; M=0.7 in the present embodiment, back as calculated a 〉=0.7 is so calculate first section three Bezier reference mark P 0100 minimum distance point P to closed curve 92 0" 108, then with reference mark P 0Adjust to a little 108 by point 100, other three reference mark invariant positions utilize adjusted four reference mark to revise this Duan Sanci Bezier, and minimum distance is put P 0" 108 are adjusted into first section three Bezier 100-101 of open curve and the first intersection point of closed curve.
Have an intersection point for three Beziers of latter end and closed curve, the concrete grammar of locating these three Beziers and closed curve intersection point and revising three Beziers comprises:
In the present embodiment, by a P 0106 determine and the first intersection points B 109 of closed curve 92 along three Bezier 103-106 of latter end, calculate &alpha; = | P 0 B &cap; | / | P 0 P 3 &cap; | , The span of M [0,1], wherein, the reference mark P of three Beziers 0106 are positioned at the end of open curve 91, reference mark P 3104 are positioned at the other end of three Bezier 100-101, M=0.7 in the present embodiment.Because a<M is a<0.7, then clips P 0B part 106-109, some B109 is three Bezier 103-106 of open curve latter end and closed curve intersection point.
In the present embodiment, if there are a plurality of intersection points in first section or three Beziers of latter end and closed curve, then by a P 0Determine and the first intersection point A of closed curve along three Beziers, ignore other intersection point, carry out follow-up processing, method is the same.
(3) make up two new closed curves: as shown in figure 11, utilize first section of open curve and two intersection points 108 of first and last and 109 of three Beziers of latter end and closed curve to constitute two new closed curves.
By the foregoing description and design sketch as can be seen, the invention discloses the method that the closed curve that utilizes open curve and close on makes up new closed curve, by open curve being divided into three Beziers of multistage and locating first section and three Beziers of latter end, based on first section of the location, four reference mark of three Beziers and the intersection point of three Beziers of latter end and closed curve, utilize two intersection points of first and last of open curve and closed curve to constitute two new closed curves at last.Method of the present invention is utilized the geometric attribute information of open curve self, by revising the first and last section curve of open curve, to reach the purpose that closed curve is revised.
Those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (10)

1, a kind of closed curve that utilizes open curve and close on makes up the method for new closed curve, may further comprise the steps:
(1) first section and three Beziers of latter end of location open curve;
(2) the location open curve is with the closed curve first and last intersection point that closes on and revise open curve: based on the location, reference mark of first section of open curve and three Beziers of latter end and the first and last intersection point of closed curve, and by revising first section and three Beziers of latter end to realize the modification of whole open curve;
(3) make up two new closed curves: utilize first section of open curve and the first and last intersection point of three Beziers of latter end and closed curve to constitute two new closed curves.
2, a kind of closed curve that utilizes open curve and close on as claimed in claim 1 makes up the method for new closed curve, it is characterized in that: in the step (1) if open curve forms by three Beziers of multistage, then three of the open curve two ends Beziers be respectively first section of open curve with three Beziers of latter end.
3, a kind of closed curve that utilizes open curve and close on as claimed in claim 1 makes up the method for new closed curve, it is characterized in that: only form as if open curve in the step (1) by one section three Bezier, then this open curve is carried out two fens subdivisions, two three Beziers of formation are respectively first section and three Beziers of latter end of open curve.
4, a kind of closed curve that utilizes open curve and close on as claimed in claim 3 makes up the method for new closed curve, and it is characterized in that: the described method that one section three Bezier is carried out two fens subdivisions may further comprise the steps:
Three Beziers are represented with three real coefficient polynomial functions of monobasic f (x), wherein parameter x ∈ [0,1];
The point of getting the x=0.5 place carries out two fens subdivisions, obtains three Beziers of head-end sections.
5, a kind of closed curve of utilizing open curve and closing on as claimed in claim 3 makes up the method for new closed curve, it is characterized in that: three Beziers that formed behind the subdivision in two minutes are carried out two fens subdivisions once more.
6, make up the method for new closed curve as the described a kind of closed curve that utilizes open curve and close on of one of claim 1 to 5, it is characterized in that: in the step (2) if first section or three Beziers of latter end and closed curve do not have intersection point, then construct an intersection point and revise this first section or three Beziers of latter end, concrete grammar comprises:
Calculate the reference mark P of first section or three Bezier one ends of latter end 0Minimum distance point P to closed curve 0" and minimum distance d, wherein reference mark P 0Be positioned at the head end or the end of open curve;
By reference mark P 0Naturally extend first section or three Beziers of latter end, if intersect at a P with closed curve 0' and | P 0 P 0 &prime; &cap; | < N &times; d , The span of N be (0,3], then with this intersection point P 0' be labeled as the intersection point of this first section or three Beziers of latter end and closed curve, if intersect at a P with closed curve 0' and | P 0 P 0 &prime; &cap; | &GreaterEqual; N &times; d Or do not have intersection point with closed curve, then minimum distance is put P 0" as the intersection point of this first section or three Beziers of latter end and closed curve;
Revise first section or three Beziers of latter end: if the intersection point of first section or three Beziers of latter end and closed curve is intersection point P 0', then with reference mark P 0Adjust to P 0', utilize adjusted four reference mark to revise this first section or three Beziers of latter end; If the intersection point of first section or three Beziers of latter end and closed curve is minimum distance point P 0", then with reference mark P 0Adjust to P 0", utilize adjusted four reference mark to revise this first section or three Beziers of latter end.
7, a kind of closed curve that utilizes open curve and close on as claimed in claim 6 makes up the method for new closed curve, and it is characterized in that: the value of described N is 2.
8, make up the method for new closed curve as the described a kind of closed curve that utilizes open curve and close on of one of claim 1 to 5, it is characterized in that: in the step (2) if there are one or more intersection points in first section or three Beziers of latter end and closed curve, then locate this first section or three Beziers of latter end and closed curve intersection point and revise first section or three Beziers of latter end, concrete grammar comprises:
By reference mark P 0Determine and the first intersection point A of closed curve along first section or three Beziers of latter end, calculate &alpha; = | P 0 A &cap; | / | P 0 P 3 &cap; | , Wherein, reference mark P 0Be positioned at the head end or the end of open curve, P 3Be positioned at the other end of first section or three Beziers of latter end; If α<M, the span of M is [0,1], then clips P 0The A part; If α 〉=M then calculates first section or three Bezier reference mark of latter end P 0Minimum distance point P to closed curve 0", then with reference mark P 0Adjust to P 0", utilize adjusted four reference mark to revise this first section or three Beziers of latter end, minimum distance is put P 0" be adjusted into this first section or three Beziers of latter end and closed curve intersection point.
9, a kind of closed curve that utilizes open curve and close on as claimed in claim 8 makes up the method for new closed curve, and it is characterized in that: the value of described M is 0.7.
10, make up the method for new closed curve as the described a kind of closed curve that utilizes open curve and close on of one of claim 1 to 5, it is characterized in that: the zone that described closed curve surrounded is the packing area of trap, described open curve be the user around the packing area of trap drawn one with closed curve crossing or disjoint non-closed curve.
CN200810114898XA 2008-06-13 2008-06-13 Method for constructing novel closed curve by opened curve and adjacent closed curve Expired - Fee Related CN101604452B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN200810114898XA CN101604452B (en) 2008-06-13 2008-06-13 Method for constructing novel closed curve by opened curve and adjacent closed curve
PCT/CN2008/002077 WO2009149591A1 (en) 2008-06-13 2008-12-25 Method for constructing new closed curves by using an open curve and an adjacent closed curve

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810114898XA CN101604452B (en) 2008-06-13 2008-06-13 Method for constructing novel closed curve by opened curve and adjacent closed curve

Publications (2)

Publication Number Publication Date
CN101604452A true CN101604452A (en) 2009-12-16
CN101604452B CN101604452B (en) 2012-02-01

Family

ID=41416340

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810114898XA Expired - Fee Related CN101604452B (en) 2008-06-13 2008-06-13 Method for constructing novel closed curve by opened curve and adjacent closed curve

Country Status (2)

Country Link
CN (1) CN101604452B (en)
WO (1) WO2009149591A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103065319A (en) * 2012-12-31 2013-04-24 上海同岩土木工程科技有限公司 Closed surface automatic search method of space multiply connected domain
CN104268909A (en) * 2014-09-11 2015-01-07 清华大学 Bezier curve adjusting method based on construction of Bernstein basis functions with parameters
CN116362202A (en) * 2023-06-01 2023-06-30 合肥高维数据技术有限公司 Font generation method, storage medium and electronic device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0378754A3 (en) * 1989-01-19 1992-03-18 Hewlett-Packard Company Polygon smoothing method
US7289122B1 (en) * 2004-12-22 2007-10-30 Sun Microsystems, Inc. Method and apparatus for approximating an arbitrary shape with a closed Bezier curve
JP5106768B2 (en) * 2005-09-29 2012-12-26 富士通株式会社 Outline font compression method
CN100403769C (en) * 2006-04-29 2008-07-16 北京北大方正电子有限公司 Image crisperding method during composing process

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103065319A (en) * 2012-12-31 2013-04-24 上海同岩土木工程科技有限公司 Closed surface automatic search method of space multiply connected domain
CN103065319B (en) * 2012-12-31 2015-03-04 上海同岩土木工程科技有限公司 Closed surface automatic search method of space multiply connected domain
CN104268909A (en) * 2014-09-11 2015-01-07 清华大学 Bezier curve adjusting method based on construction of Bernstein basis functions with parameters
CN116362202A (en) * 2023-06-01 2023-06-30 合肥高维数据技术有限公司 Font generation method, storage medium and electronic device
CN116362202B (en) * 2023-06-01 2023-08-11 合肥高维数据技术有限公司 Font generation method, storage medium and electronic device

Also Published As

Publication number Publication date
CN101604452B (en) 2012-02-01
WO2009149591A1 (en) 2009-12-17

Similar Documents

Publication Publication Date Title
Regnauld et al. A synoptic view of generalisation operators
Cecconi Integration of cartographic generalization and multi-scale databases for enhanced web mapping
Ai et al. A vector field model to handle the displacement of multiple conflicts in building generalization
Avelar et al. Generating topologically correct schematic maps
CN106897445A (en) It is a kind of that the novel method that operation delimited on border is improved based on ArcGIS
CN101604452B (en) Method for constructing novel closed curve by opened curve and adjacent closed curve
Dilo Representation of and reasoning with vagueness in spatial information: A system for handling vague objects
CN107689036A (en) A kind of Real-time image enhancement method based on the bilateral study of depth
CN104392489B (en) Take the line vanishing method of the three-dimensional geographic space entity group of topology into account
Brandes et al. Sketch-driven orthogonal graph drawing
Aroca et al. A new family of infinitely braided Thompson's groups
Eades et al. Straight-line drawability of a planar graph plus an edge
Brandes et al. Centrality in policy network drawings
Bertault et al. An algorithm for drawing compound graphs
CN115953780B (en) Intelligent generation method and system for complex scene graph of multidimensional light field
Dominguez et al. Diagrammatic logic applied to a parameterisation process
CN102054046B (en) Multi-scale spatial relational database and query method thereof
Ti et al. Automated generation of schematic network maps adaptive to display sizes
Corcoran et al. Line simplification in the presence of non-planar topological relationships
Hayano et al. Region crossing change on spatial-graph diagrams
Johnston et al. Problems arising from a simple GIS generalisation algorithm
Wang et al. Rough spatial interpretation
CN108510568A (en) A kind of contour segmentation mask method
CN117407552B (en) Information expression method of grid information accurate assignment vector line
Jiang et al. A Comparison study on space syntax as a computer model of space

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
EE01 Entry into force of recordation of patent licensing contract

Assignee: FOUNDER INTERNATIONAL Co.,Ltd.

Assignor: Peking University|Founder International Co.,Ltd. (Beijing)

Contract record no.: 2010110000047

Denomination of invention: Method for constructing novel closed curve by opened curve and adjacent closed curve

License type: Common License

Open date: 20091216

Record date: 20100506

C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120201