On Thu, 2008-05-15 at 00:12 -0700, apreciado wrote:
> thanks, when implements function createArc with 3 point (center, point1,
> point2), i send you the function and it's up to you insert example in guide.
> 
> But, one cuestion: I create geometry whit library jst, I render geometry as
> follows:
> 
>   - Create Geometry with GeometryFactory.
>   - Create Featuretype:
> 
>                     FeatureType polyType =
> FeatureTypes.newFeatureType(typesNew, "circlefeature");
>                   Feature polyFeature = polyType.create(new Object[] { 
> polygon});
> 
>   - Render: Create MapLayer with FeatureCollection and style.
>                MapLayer layer = new
> DefaultMapLayer(featureCollectionLine,style);
> 
> this is my way of creating and painting figures.
> 
> I crate CurveImpl of the package
> org.geotools.geometry.iso.primitive.CurveImpl (gt2-geometry)

Unless you have *a lot* of patience, stay away from (i.e. DO NOT USE)
org.geotools.geometry packages in the gt-geometry module. Those classes
need to be redesigned from the ground up. Stick to JTS. 

If you have patience, the classes have data structures which are
perfectly acceptable so you could use those if you *stay away from the
methods*. So you can use the classes as simple structs like in C.
However, I'd really like to move the packages in which the classes live.
Also there's some negotiation to be done on the geoapi interfaces. So,
it is going to be a bit volatile over this summer until this settles
down. Well, perhaps. I still need to negotiate with Jody how we are
going to handle all this since for now the module is his territory.

--adrian


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-gt2-users mailing list
Geotools-gt2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to