POST

Hey Viji, did you ever find a solution for this, I seem to have the same issue. DL
... View more
02142017
11:05 AM

0

0

1

POST

Does anyone know how to create a partial circle? I have the center point radius and angle along which I need to draw it. Appreciate the help Dan
... View more
10012012
01:13 PM

0

1

315

POST

Would anyone happen to know how we get the extent from a featureClass. I know we can get the extent by looping through each feature using a cursor, but that seems like an overkill. Is there a better way to get the extent? Appreciate any help. Dan
... View more
09252012
05:31 AM

0

1

691

POST

Its all comming together , yes I have a polygon with no internal holes. I though the getBoundary() returns a polygon with the donut hole... So my question would be how do I get just the external ring of the polygon? vb
... View more
08162012
12:33 PM

0

0

1

POST

Another question if someone knows the answer is why do I get so many points when I only use the polygon boundary to intersect the polyline. Shouldn�??t it just be two?
... View more
08162012
08:56 AM

0

0

1

POST

I seem to get the intersecting points fine, my only issue is I cant seem to identify the point on the polygon edge. Getting the first and last point on the intersect point collection is not always the point on the edge of the polygon. That's what I'm still tryingto figure out.
... View more
08162012
08:43 AM

0

0

1

POST

I have a polyline that passes through a polygon, I???m trying to get the two intersect points on the polygon edge. If I try to get the fist and last of what is returned for the intersect point collection I get inconsistent results. Does anyone have some input as what I might be doing wrong? I have my code block below. Appreciate the help vb
Polyline outGeometry = new Polyline();
IGeometryCollection geometryCollection = null;
if(geometryCollection == null) {
IGeometryBag geometryBag = new GeometryBag();
geometryCollection = (IGeometryCollection) geometryBag;
geometryBag.setSpatialReferenceByRef(mySpatialRef));
}
// union all your polylines
for(int i=0; i<featureList.size(); i++) {
geometryCollection.addGeometry(featureList.get(i).getShape(), null, null);
}
outGeometry.constructUnion((IEnumGeometry) geometryCollection);
((ITopologicalOperator) outGeometry).simplify();
ITopologicalOperator topo ;
geometry = ((ITopologicalOperator)geometry).getBoundary();
topo = (ITopologicalOperator)geometry ;
IGeometry intersects = topo.intersect((IGeometry) outGeometry, esriGeometryDimension.esriGeometry0Dimension);
IPointCollection Pts = (IPointCollection)intersects;
for (int j=0;j<Pts.getPointCount();j++){
tempIntersectPointList.addPoint(Pts.getPoint(j), null, null);
}
firstPointOnEdge = tempIntersectPointList.getPoint(0)
secondPointOnEdge = tempIntersectPointList.getPoint(tempIntersectPointList.getPointCount()  1),
... View more
08162012
08:05 AM

0

6

2448

POST

Should I just multiply by 180/pi to convert from radians to degrees and see if its greater than 90 degrees??
... View more
07182012
12:51 PM

0

0

1

POST

I have three points from which I create a triangle, I use IConstructAngle constructThreePoint to get the angles of the triangle, my angles are returned as a double . Is there a way to tell if this in and obtuse angle triangle? I seem to have forgotten my math. GeometryEnvironment geometryEnvironment = new GeometryEnvironment(); IConstructAngle constructAngle = geometryEnvironment ; constructAngle.constructThreePoint(point1, point2,point3); thanks Dan
... View more
07182012
12:45 PM

0

2

111

POST

Is there a way to extract the point collection of polygon geometry and make sure the point collection runs in anti clockwise direction?? Appreciate any feedback Dan
... View more
07162012
08:15 AM

0

1

272

Online Status 
Offline

Date Last Visited 
2 weeks ago
