Who can explain in detail some of the functions AIRealBezierSuite
AIAPI void(* Tangent )(AIRealBezier *b, AIReal t, AIRealPoint *v) Finds a tangent for a given input to a cubic Bezier.
AIAPI void(* Normal )(AIRealBezier *b, AIReal t, AIRealPoint *v) Finds the normal for a given input to a cubic Bezier.
AIAPI AIBoolean(* IntersectsRect )(AIRealBezier *b, AIRealRect *r, AIReal scale) Reports whether a cubic Bezier intersects a rectangle.
//////////////// this is my code:
AIRealPoint p0,p1,p2,p3;
p0.h = 50.0;
p0.v = 0;
p1.h = 50.0;
p1.v = -27.614258;
p2.h = 27.614258;
p2.v = -50.0;
p3.h = 0;
p3.v = -50.0;
AIRealBezier bz;
bz.p0 = p0;
bz.p1 = p1;
bz.p2 = p2;
bz.p3 = p3;
// This bezier curve represents a quarter of the arc
AIRealPoint pt,pn;
sAIRealBezier->Tangent(&bz,0.5,&pt); // debug output : pt.h = -18.096436 pt.v = -18.096436
sAIRealBezier->Normal(&bz,0.5,&pn); // debug output: pn.h = 18.096436 pn.v = -18.096436
// I do not understand why the value of pt.h is -18.096436 , pt.v is -18.096436 ,pn.h is 18.096436 , pn.v is -18.096436
// AI is how to use a AIRealPoint to represent a tangent?
// What is Normal?
AIAPI AIBoolean(* IntersectsRect )(AIRealBezier *b, AIRealRect *r, AIReal scale) Reports whether a cubic Bezier intersects a rectangle.
I found this function always returns false,who used it yet?
I'm not sure what you find confusing. The AIRealBezier is the four points representing a curve. t is the point along that curve. In both cases, v is the vector springing from the point at t on the curve. Granted, you should probably be using Evaluate() as well to find the point along the curve (unless you're using t=0 or t=1, in which case you don't need to) or PointAndTangent() to get both at the same time.
As for IntersectsRect(), I'm not sure how much I'd trust it anyways. The documentation basically says it draws the curve & the rect and then sees if the pixels intersect. That seems kind of dicey to me (it's probably fine for where its used internally of course). There are ways to calculate the intersection of a bezier with a line; personally, I'd trust those methods more (and we wrote our own code to do just that).
Similar Messages
-
Who can explain the message server string in the OSS connection ?
Who can explain the message server string in the OSS connection ?
For example:
MSG SERVER FIELD IS:
/H/128.168.0.28/S/sapdp99/H/194.39.131.34/S/sapdp99/H/oss001
What is the mean to each field in the string?
What does the first "/H" mean?
What does the second "/H" mean?
What does the third "/H" mean?
What does the first "/S" mean?
What does the second "/S" mean?
What does "/oss001" mean?
Thanks .Hi,
when you define techinacal settings in tcode OSS1
Transaction OSS1 -> Parameter -> Technical Settings -> Change -> Save. The SAPOSS destination is only automatically updated when you save.
/H indicate server
/S indicate Service
check following SAP note
Note 33135 - Guidelines for OSS1
regards,
kaushal -
Who can explain inner class to me?
//InheritInner.java
//Inheriting an inner class
class WithInner
class Inner{
Inner()
{System.out.println("Inner class");
WithInner()
{System.out.println("WithInner");}
public class InheritInner extends WithInner.Inner
//!InheritInner(){}//Won't compile
InheritInner(WithInner wi)
wi.super();
public static void main(String[] args)
WithInner wi=new WithInner();
InheritInner ii=new InheritInner(wi);
Who can explain this subclass constructor to me?
I appreciate your help!Here's the class that in 'Thinking in Java'. For some reason, yours is completely different.
//: InheritInner.java
// Inheriting an inner class
class WithInner {
class Inner {}
public class InheritInner
extends WithInner.Inner {
//! InheritInner() {} // Won't compile
InheritInner(WithInner wi) {
wi.super();
public static void main(String[] args) {
WithInner wi = new WithInner();
InheritInner ii = new InheritInner(wi); -
Who can tell me how to get the CRT for BBPCRM patch 8
hello ,
my solution patch level is SAP_BASIS 700 0011 SAPKB70011 SAP Basis Component
SAP_ABA 700 0011 SAPKA70011 Cross-Application Component
PI_BASIS 2005_1_700 0011 SAPKIPYJ7B PI_BASIS 2005_1_700
ST-PI 2005_1_700 0003 SAPKITLQI3 SAP Solution Tools Plug-In
SAP_BW 700 0012 SAPKW70012 SAP NetWeaver BI 7.0
SAP_AP 700 0008 SAPKNA7008 SAP Application Platform
BBPCRM 500 0007 SAPKU50007 BBPCRM
CPRXRPM 400 0002 SAPK-40002INCPRXRPM SAP xRPM/cProjects/cFolders 4.00 (ABAP)
ST 400 0010 SAPKITL420 SAP Solution Manager Tool
ST-A/PI 01G_BCO700 0000 - Servicetools for other App./Netweaver 04
ST-ICO 150_700 0007 SAPK-15077INSTPL SAP Solution Manager Implementation Cont
ST-SER 700_2005_2 0002 SAPKITLOC2 SAP Solution Manager Service Tools
But now , i find some CRM function can not be used , for example , i could not create a servcie message and monitor , if i create a service message and monitor the message , an abap dump occurs , the dump error is
CALL_METHOD_NOT_IMPLEMENTED
CX_SY_DYN_CALL_ILLEGAL_METH
Error in the ABAP Application Program
The current ABAP program "CL_EX_CRM_APPOINTMENT_BADI====CP" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
i try to upgrade the BBPCRM patch to 8 . the system tell me that you should need a CRT for the patch . i try to find the CRT, Unfortunate , i could't find it . who can tell me how to find the CRT . thanks !Hi Tony,
Please, refer to note 892412. Here you can find the patch level required depending on the solman used. I can tell u that we have applied this note and currently we create service messages. Check this patch levels first.
Regds,
Jose Sorli -
Who can tell me how to use the transction "KKRC"?
who can tell me how to use the transction "KKRC"?
Please explain me all the steps to be required.
Thanks in advance!hi..
http://help.sap.com/bp_bl603/BBLibrary/Documentation/181_BPP_EN_BR.doc
KKBC HOE Transaction code Error
Regards -
I have an iMac purchased in May 2011. OSX Lion 10.7.3. I deleted backup file from the external hard drive which operates from Time Machine.
Now, the trash can will not empty some of the files deleted from the backup harddrive.
The trash contains-- File folder: "Core Services" which contains a locked file: "boot.efi".
It will not delete.
How do I get the trash can empty of these files?Yes, the Old Master file has a folder for each year where I find all photos from that specific year. I am attaching a screen shot of the file.
In the meantime i have managed to download all photos (it did not download any video files though in mpg, avi, 3gp, m4v,mp4 and mov format) to a new iphoto library. Unfortunately the photos are quite mixed and often doubled up. I ma considering to purchase iphoto library which checks all duplicates in iphoto. this will save me a lot of time. What do you think? -
"iTunes can not run because some of the required fields are missing. Please reinstall iTunes." What the ****? Please help me figure this out. I already removed quicktime (as another thread suggested). I can't get in!
i get same error.
I have uninstalled and reinstalled more times than i care to count. but still i get
itunes cannot run because some of its required files are missing. -
For some reason the function keys on my mac book changed, I restored them and now the shift keys have the function of showing the desktop and all windows.
I there a way I can restore the original function?You do not tell us what OS version you have. In OS 10.8.2, do this:
Apple Menu / System Preferences / Language and Text / Input Sources.
Select the language you want. Mine is set to Canadian English. -
Who can I thank at Adobe for the 117 spam emails I received in 24 hours since joining Creative Cloud? I've tried changing my contact information but it keeps reverting back.
Should I just cancel? Please any suggestions welcome.Unwanted Email notices
Click your avatar picture near the upper right corner (slightly to the left of the pencil) and select PREFERENCES then set all Email Preferences to OFF and click Save at the bottom left
AND
Another new feature is that Jive7 is oriented toward social networking... so every time you start or reply to a message you are automatically added to a FOLLOW list... meaning you receive a notification of every subsequent message in that thread
Click the FOLLOW link at the upper right and select STOP FOLLOWING... and don't click the link again to check your status, as you will then be added to the CONNECTIONS STREAM and you will have to uncheck that option as well
And, after you post in a message thread and select Stop Following, you need to do it all over again the next time you add a reply to the same message thread, since EVERY POST adds you to the automatic Follow list -
After unblocking a caller can you sometimes get some of the text messages they sent you while blocked???
no they are blocked. Read this http://support.apple.com/kb/ht5845
-
ever since i updated to ios 8.3, my imessage has been on "Waiting for Activation" Please who can assist? i have reset the network settings and also have restarted the phone.
same problem here
-
Can I add special character "$" in the function module parameter name??
Hi Friends
Can I add special character "$" in the function module parameter name??
awaiting for your reply,
Regards
Praveen>
prashanth kishan wrote:
> Thomas,
> ... What if Praveen passes the $ parameter in that unknown FM and suddenly theres smoke coming from the rear of the CPU? Who's answerable to that??
>
> pk
Blame Canada! -
Can you tell me what is the function modue to get POPUP box
Hi Folks,
can you tell me what is the function module to get the POPUP box.
Thanks in Advance,
LakshmiHai use
POPUP_TO_CONFIRM
check the following Code
CONCATENATE 'Send selected spools to the: '
altdest
' Printer.' INTO V_TXTQUES SEPARATED BY SPACE.
CALL FUNCTION 'POPUP_TO_CONFIRM'
EXPORTING
TITLEBAR = C_TITLEBAR
DIAGNOSE_OBJECT = ' '
TEXT_QUESTION = V_TXTQUES
TEXT_BUTTON_1 = 'Ja'(001)
ICON_BUTTON_1 = ' '
TEXT_BUTTON_2 = 'Nein'(002)
ICON_BUTTON_2 = ' '
DEFAULT_BUTTON = '1'
DISPLAY_CANCEL_BUTTON = ' '
USERDEFINED_F1_HELP = ' '
START_COLUMN = 6
START_ROW = 6
POPUP_TYPE =
IV_QUICKINFO_BUTTON_1 = ' '
IV_QUICKINFO_BUTTON_2 = ' '
IMPORTING
ANSWER = D_ANSWER
TABLES
PARAMETER =
EXCEPTIONS
TEXT_NOT_FOUND = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
IF D_ANSWER = '1'.
Thanks & regards
Sreenivasulu P -
I installed Firefox 4 beta when it was available as a tester before Firefox 4 was released, so I had two versions of Firefox on my computer. When Firefox 4 was released this week, I installed it and it replaced Firefox 3.6.15. For some reason it seems it didn't install the full version of Firefox 4, instead it's a similar version to the Beta version. For example, the drop down on Google search doesn't work when you click on an item in the drop down. Also the orange button that is supposed to replace the buttons on the top left of the browser is not there. It still has the 8 buttons, ie File, Edit, etc. How can I get the full version to install on my computer? I've tried uninstalling and reinstalling it and I get the same result. My computer runs Windows XP Media center Edition OS. Please advise me on how to fix this. Thanks.
Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
Note: ''This will temporarily log you out of all sites you're logged in to.''
To clear cache and cookies do the following:
#Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
#Under "Time range to clear", select "Everything".
#Now, click the arrow next to Details to toggle the Details list active.
#From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
#Now click the ''Clear now'' button.
Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
Did this fix your problems? Please report back to us!
I also have a question. Have you ever been able to access these sites from the Firefox on that computer? -
Who can explain vod hds-vod ?
In fms.ini
VOD_COMMON_DIR = d:\Program Files\Adobe\Flash Media Server 4.5\webroot\vod
VOD_DIR = d:\Program Files\Adobe\Flash Media Server 4.5\applications\vod\media
In Apache httpd.conf
DocumentRoot "../webroot"
<Location /vod>
HttpStreamingContentPath "../webroot/vod"
</Location>
<Location /hls-vod>
HttpStreamingContentPath "../webroot/vod"
</Location>
Which path is used, when I used "http://localhost:8134/vod/xxx.mp4" to play?
I change the path to
<Location /vod>
HttpStreamingContentPath "D:\"
</Location>
There have no file In the path "D:\" .
I used "http://localhost:8134/vod/xxx.mp4" to play, why the player still play the xxx.mp4?
I am confused.
Who can help me to explain these path mean?
thanks!http://localhost:8134/vod/mp4:xxx.mp4
Maybe you are looking for
-
RV120W- How to create new unique self-signed certificate?
Hello, how to create new unique self-signed certificate on RV120W? I can create request for singning by external CA, but I cannot create new unique self-signed certificate itself. Any idea? Did I miss something? Many thanks! Abudef
-
Can't Install Camera Raw 8.4
Just installed CS6 and Bridge. Downloaded Camera Raw 8.4. When I try to install the patch I get the message update failed patch is not applicable. How can I get 8.4 to work?
-
Move photo from message and add to contacts
A friend sent a photo as a text message, now I would like to add it to her contact information. I saved it to the "saved file in the text message app, but still can't see how to move it to the contact photo. When I open the contact edit screen a
-
Yahoo app on iPhone seems to be sending spam to all my yahoo contacts. I know this because my "Sent" folder on my app shows i sent it out at 5 AM this morning and I was not using my phone at that time. Also the signature show signature from iPhone "S
-
Hi How many Apple TV can I control with my macbookpro at once As I have one an thinking of adding them to all the rest if the rooms in my house 7 in total