Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to set coordinates to a GeometryInfo object?

843799May 21 2010
I have created a GeometryInfo object and filled it with coordinates from a Shape3d object with the setCoordinates method. I then call getCoordinates() and this returns null. Why does this happen ? I have printed out the coordinates, to prove that they are not null. This is my code:

GeometryInfo gi = new GeometryInfo(GeometryInfo.TRIANGLE_STRIP_ARRAY);
Point3f[] coords=theShape.getHJ();//getHJ my own method which returns the //coordinates
for(int k=0;k<coords.length;k++)
System.out.println(coords[k]);
gi.setCoordinates(coords);
gi.setStripCounts(theShape.getstripCounts());

int[] indices=gi.getCoordinateIndices();
Point3f[] vertices=gi.getCoordinates();
System.out.println("vertices "+indices);
System.out.println("indices "+indices);

Comments

USER1211

Do it your Data Form Design.

Have column with the entity,scenario and the year members then have another column with the other entity,scenario and the other year members.

Once you got the clarity you needed remember to mark the thread as answered so members can focus on unanswered questions.

Did Your Question Get Answered in My Oracle Support Community (Doc ID 1180503.1)

3235756

I want that the column of "entity" dimension (1101, 1218) shows only once like this example:

pastedImage_3.png

If I create some columns, the entity repeats. For my example, the column 1101, I want that shows once and now Entity shows 3 times:

pastedImage_0.png

pastedImage_1.png

Further, I don't want to view all years and all scenarios. There are these situations:

  • FY16 and FY15 for "Presupuesto" Scenario
  • Only FY15 for "Real" Scenario
  • Only FY14 for "Presupuesto" Scenario
JohnGoodwin
Answer

You may not get it exactly how you want it but here is an example similar to yours.

pastedImage_1.png

pastedImage_0.png

Marked as Answer by 3235756 · Sep 27 2020
3235756

Thanks, this option tried, but the problem is that I have a lot of members entity (sales east, international sales).

I wanted to know if PBCS had a option to avoid: add entity by entity in the form, and not repeat the member in the view (for example, "sales east" displays in two columns).

At the moment, I will use this option

AL.

Hello,

From my point of view, it seems like you need a report instead of a webform.

Finnancial reporting studio gives you many more posiblities regarding the design and display options. You can merge cells, asign colours or even change the writing font...

Best Regards,

3235756

Thanks, I going to explorer "Finnancial reporting studio" option.

JohnGoodwin

You can only customise the form with the options that are available, as I said it may not always be exactly the format you are looking for.

There are many different ways of doing things you could have entity in the page and then with security the user will just enter data for the entity they have access permissions against.

Also it depends if this is a data entry form or a report which as suggested could be done through FR if it is.

1 - 7
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jun 18 2010
Added on May 21 2010
0 comments
207 views