Home
Reply
Regular Contributor
jineshmac
Posts: 48

Procedural edge/curve

Hi,

 

In my application I need to construct an edge 'procedurally', i.e. using a map from R to R^3.  This map is not available as a closed form formula. 

In order to define the edge procedurally, I derived my own law(call it myLaw) which implements the above mentioned map and then constructed the required edge by calling  'api_edge_law' and passing an object of myLaw.

This approach works.  The edge gets created and is rendered correctly but in certain cases the rendering takes a lot of time (e.g. if the edge has high curvature).

Another way to create procedural edges is by deriving from the class 'int_cur' or 'law_int_cur'

http://doc.spatial.com/index.php/Procedural_Geometry

 

Unfortunately, I do not find any documentation about 'law_int_cur'. Has anyone used law_int_cur before?

Any help or hint regarding this will be highly appreciated.

 

Thanks,

Jinesh.