### Question:
PointGeometry extends AbstractColorGeometry implements PointRenderPropertiesGeometry { @Override public PointGeometry derive(BaseRenderProperties renderProperties, Constraints constraints) throws ClassCastException { return new PointGeometry(createBuilder(), (PointRenderProperties)renderProperties, constraints); } PointGeometry(PointGeometry.Builder<?> builder, PointRenderProperties renderProperties, Constraints constraints); @Override PointGeometry clone(); @Override Builder<? extends Position> createBuilder(); @Override PointGeometry derive(BaseRenderProperties renderProperties, Constraints constraints); final Position getPosition(); @Override Class<? extends Position> getPositionType(); @Override Position getReferencePoint(); @Override PointRenderProperties getRenderProperties(); @Override boolean jtsIntersectionTests(JTSIntersectionTests test, List<Polygon> polygons, GeometryFactory geomFactory); @Override boolean overlaps(BoundingBox<T> boundingBox, double tolerance); @Override String toString();  }### Answer:
@Test public void testDerive() { PointGeometry.Builder<GeographicPosition> builder = new PointGeometry.Builder<GeographicPosition>(); builder.setDataModelId(3423L); GeographicPosition position = new GeographicPosition(LatLonAlt.createFromDegrees(23., 56.)); builder.setPosition(position); builder.setRapidUpdate(true); PointRenderProperties renderProperties1 = new DefaultPointRenderProperties(65763, false, true, false); TimeConstraint timeConstraint = TimeConstraint.getTimeConstraint(TimeSpan.get(10L, 20L)); Constraints constraints1 = new Constraints(timeConstraint); PointGeometry geom = new PointGeometry(builder, renderProperties1, constraints1); AbstractRenderableGeometry absGeom = geom; PointRenderProperties renderProperties2 = renderProperties1.clone(); Constraints constraints2 = new Constraints(timeConstraint); AbstractRenderableGeometry derived = absGeom.derive(renderProperties2, constraints2); Assert.assertNotSame(geom, derived); Assert.assertEquals(geom.getDataModelId(), derived.getDataModelId()); Assert.assertEquals(geom.getPosition(), ((PointGeometry)derived).getPosition()); Assert.assertEquals(geom.isRapidUpdate(), derived.isRapidUpdate()); Assert.assertNotSame(geom.getRenderProperties(), derived.getRenderProperties()); Assert.assertSame(renderProperties2, derived.getRenderProperties()); Assert.assertNotSame(geom.getConstraints(), derived.getConstraints()); Assert.assertSame(constraints2, derived.getConstraints()); }