Home
Reply
Contributor
utpalstone
Posts: 14

Polyline Structure ?

Does a structure for polyline exists in acis ? if not , how can we create a structure for polyline so as to store and retrieve this acis geometry ?

Utpal Das
Regular Contributor
Vi2
Posts: 55

Re: Polyline Structure ?

AFAIK, there is only NURBS spline which can do such functionality.

 

2000 0 1 0          
25 ACIS/Scheme AIDE - 20.0.2 14 ACIS 20.0.2 NT 24 Fri Nov 11 18:41:15 2011
1 9.9999999999999995e-007 1e-010
-0 edge $-1 -1 -1 $-1 $1 0 $2 10 $-1 $3 forward @7 unknown T 0 0 0 10 10 0 #
-1 vertex $-1 -1 -1 $-1 $0 $4 #
-2 vertex $-1 -1 -1 $-1 $0 $5 #
-3 intcurve-curve $-1 -1 -1 $-1 forward { exactcur full nubs 1 open 11
    0 1 1 1 2 1 3 1 4 1
    5 1 6 1 7 1 8 1 9 1
    10 1
    0 0 0
    1 1 0
    2 2 0
    3 3 0
    4 4 0
    5 5 0
    6 6 0
    7 7 0
    8 8 0
    9 9 0
    10 10 0
    0
    null_surface
    null_surface
    nullbs
    nullbs
    -1
    -1
    I I
    0
    0
    0
   
    -1
    none F F 1 F 0 } I I #
-4 point $-1 -1 -1 $-1 0 0 0 #
-5 point $-1 -1 -1 $-1 10 10 0 #
End-of-ACIS-data 

 

Contributor
utpalstone
Posts: 14

Re: Polyline Structure ?

Can you please explain your reply.

 

I need to create a polyline with a million points, can you tell if there exists any polyline structure or api which can handle these many points.

 

Regards,

Utpal Das
Spatial Employee
asdf
Posts: 93

Re: Polyline Structure ?

Hi Uptal

 

I don't know of a data structure specifically for polylines in ACIS: we tend to deal with NURBS, procedural and analytic (lines, planes, cones, spheres, torus') geometry.

 

A little more information about why you need a polyline e.g., what the app is for might allow us to come up with something better suited to your needs though.

 

Eric 

Regular Contributor
Vi2
Posts: 55

Re: Polyline Structure ?

Look at api_mk_ed_int_ctrlpts. In your case, degree is 1, ctrlpts are your points, knots are {0,1,2...N-1} etc.

Contributor
utpalstone
Posts: 14

Re: Polyline Structure ?

Hi,

 

Happy new year gyz.

 

I am using the same api you mentioned , but this api fails when the number of control points are very high. I dont know the range of control points this api can take.

 

But in my application i need to create a polyline with a million (or more) points.

 

Is there any other api which i can use or any other way i can achieve this ??

 

Thanks and Best regards,

Utpal Das